public class TradeParty extends java.lang.Object implements java.io.Serializable
Applies to a buyer, seller, order recipient or invoice recipient.
Constructor and Description |
---|
TradeParty() |
Modifier and Type | Method and Description |
---|---|
TradeParty |
addGlobalId(ID additionalGlobalId)
Adds the global vendor number or customer number ID.
|
TradeParty |
addTaxRegistrations(TaxRegistration... additionalTaxRegistration)
Adds the tax registration.
|
Address |
getAddress()
Gets the postal trade address.
|
Contact |
getContact()
Gets the contact individual or department of the trade party
|
java.util.List<ID> |
getGlobalIds()
Gets the global vendor number or customer number ids.
|
java.lang.String |
getId()
Gets the vendor, customer or recipient number.
|
java.lang.String |
getName()
Gets the trade party name.
|
java.util.List<TaxRegistration> |
getTaxRegistrations()
Gets the specified tax registration.
|
TradeParty |
setAddress(Address postalAddress)
Sets the postal trade address.
|
TradeParty |
setContact(Contact newContact)
Sets the contact individual or department of the trade party
|
TradeParty |
setId(java.lang.String id)
Sets the the vendor, customer or recipient number.
|
TradeParty |
setName(java.lang.String name)
Sets the trade party name.
|
public TradeParty()
public TradeParty addGlobalId(ID additionalGlobalId)
Adds the global vendor number or customer number ID.
GLN, DUNS, BIC, ODETTE
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.
additionalTaxRegistration
- an additional Tax Registrationpublic Address getAddress()
Gets the postal trade address.
@Extended public Contact getContact()
Gets the contact individual or department of the trade party
@Comfort public java.util.List<ID> getGlobalIds()
Gets the global vendor number or customer number ids.
GLN, DUNS, BIC, ODETTE
ID.getValue()
GENODED1SPK, 4000001000005
ID.getSchemeId()
the ISO 6523 code 0021, 0088, 0060, 0177
@Comfort public java.lang.String getId()
Gets the vendor, customer or recipient number.
The supplier number given by the customer/buyer
@Basic @NotBlank public java.lang.String getName()
Gets the trade party name. Usually the Company name.
ACME Inc.
public java.util.List<TaxRegistration> getTaxRegistrations()
Gets the specified tax registration.
public TradeParty setAddress(Address postalAddress)
Sets the postal trade address.
postalAddress
- the new postal trade addresspublic TradeParty setContact(Contact newContact)
Sets the contact individual or department of the trade party
newContact
- the trade party contact individual/departmentpublic TradeParty setId(java.lang.String id)
Sets the the vendor, customer or recipient number.
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.
ACME Inc.
name
- the trade party or company nameCopyright © 2014-2018 Konik.io. All Rights Reserved.