public class TradeParty extends java.lang.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 |
addTaxRegistration(TaxRegistration additionalTaxRegistration)
|
Address |
getAddress()
|
Contact |
getContact()
|
java.util.List<ID> |
getGlobalId()
|
java.lang.String |
getId()
|
java.lang.String |
getName()
|
java.util.List<TaxRegistration> |
getTaxRegistration()
|
TradeParty |
setAddress(Address postalAddress)
|
TradeParty |
setContact(Contact contact)
|
TradeParty |
setId(java.lang.String id)
|
TradeParty |
setName(java.lang.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 addTaxRegistration(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 java.util.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 java.lang.String getId()
Gets the id.
COMFORT when part of Trade.agreements.seller
The supplier number given by the customer/buyer
public java.lang.String getName()
Gets the trade party name. Usually the Company name.
BASIC when part of Trade.agreements.seller/buyer.
ACME Inc.
public java.util.List<TaxRegistration> getTaxRegistration()
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(java.lang.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(java.lang.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.