public class TradeParty extends Object
Applies to a buyer, seller, order recipient or invoice recipient.
| Constructor and Description |
|---|
TradeParty() |
| Modifier and Type | Method and Description |
|---|---|
TradeParty |
addGlobalId(ID additionalGlobalId)
|
TradeParty |
addTaxRegistrations(TaxRegistration... additionalTaxRegistration)
|
Address |
getAddress()
|
Contact |
getContact()
|
List<ID> |
getGlobalId()
|
String |
getId()
|
String |
getName()
|
List<TaxRegistration> |
getTaxRegistrations()
|
TradeParty |
setAddress(Address postalAddress)
|
TradeParty |
setContact(Contact contact)
|
TradeParty |
setId(String id)
|
TradeParty |
setName(String name)
|
public TradeParty()
public TradeParty addGlobalId(ID additionalGlobalId)
Adds the global id.
COMFORT when part of Trade.agreements.seller
ID.getValue() GENODED1SPK, 4000001000005 - ID.getSchemeId() the ISO 6523 code
0021, 0088, 0060, 0177
additionalGlobalId - the additional global idpublic TradeParty addTaxRegistrations(TaxRegistration... additionalTaxRegistration)
Adds the tax registration.
BASIC
additionalTaxRegistration - an additional Tax Registrationpublic Address getAddress()
Gets the postal trade address.
BASIC when part of Trade.agreements.seller/buyer.
public Contact getContact()
Gets the contact person.
BASIC when part of Trade.agreements.seller/buyer.
public List<ID> getGlobalId()
Gets the trade party global id. (GLN, DUNS, BIC, ODETTE)
COMFORT when part of Trade.agreements.seller
ID.getValue() GENODED1SPK, 4000001000005 - ID.getSchemeId() the ISO 6523 code
0021, 0088, 0060, 0177
public String getId()
Gets the id.
COMFORT when part of Trade.agreements.seller
The supplier number given by the customer/buyer
public String getName()
Gets the trade party name. Usually the Company name.
BASIC when part of Trade.agreements.seller/buyer.
ACME Inc.
public List<TaxRegistration> getTaxRegistrations()
Gets the specified tax registration.
BASIC
public TradeParty setAddress(Address postalAddress)
Sets the postal trade address.
BASIC when part of Trade.agreements.seller/buyer.
postalAddress - the new postal trade addresspublic TradeParty setContact(Contact contact)
Sets the contact person.
BASIC when part of Trade.agreements.seller/buyer.
contact - the new defined trade contactpublic TradeParty setId(String id)
Sets the id. Profile:: COMFORT when part of Trade.agreements.seller
The supplier number given by the customer/buyer
id - the new idpublic TradeParty setName(String name)
Sets the trade party name. Usually the Company name.
BASIC when part of Trade.agreements.seller/buyer.
ACME Inc.
name - the nameCopyright © 2014 Konik.io. All Rights Reserved.