public class Agreement extends Object implements CommonAgreement<ReferencedDocument,ReferencedDocumentAdditional>
| Constructor and Description |
|---|
Agreement() |
| Modifier and Type | Method and Description |
|---|---|
Agreement |
addAdditional(ReferencedDocumentAdditional additionalReference)
|
List<ReferencedDocumentAdditional> |
getAdditional()
|
TradeParty |
getBuyer()
|
ReferencedDocument |
getBuyerOrder()
|
String |
getBuyerReference()
|
ReferencedDocument |
getContract()
|
ReferencedDocument |
getCustomerOrder()
|
String |
getDeliveryTerms()
|
TradeParty |
getProductEndUser()
|
TradeParty |
getSeller()
|
Agreement |
setBuyer(TradeParty buyer)
|
Agreement |
setBuyerOrder(ReferencedDocument buyerOrder)
|
Agreement |
setBuyerReference(String buyerReference)
|
Agreement |
setContract(ReferencedDocument contract)
|
Agreement |
setCustomerOrder(ReferencedDocument customerOrder)
|
void |
setDeliveryTerms(String deliveryTerms)
|
Agreement |
setProductEndUser(TradeParty productEndUser)
|
Agreement |
setSeller(TradeParty seller)
|
public Agreement()
public Agreement addAdditional(ReferencedDocumentAdditional additionalReference)
Adds the additional.
addAdditional in interface CommonAgreement<ReferencedDocument,ReferencedDocumentAdditional>additionalReference - the additional referencepublic List<ReferencedDocumentAdditional> getAdditional()
Gets the additional.
getAdditional in interface CommonAgreement<ReferencedDocument,ReferencedDocumentAdditional>public TradeParty getBuyer()
Gets the buyer trade party.
public ReferencedDocument getBuyerOrder()
Gets the buyer order referenced document.
getBuyerOrder in interface CommonAgreement<ReferencedDocument,ReferencedDocumentAdditional>public String getBuyerReference()
Gets the buyer reference.
The reference to ease the attribution for the buyer
COMFORT
public ReferencedDocument getContract()
Gets the contract referenced document.
COMFORT
getContract in interface CommonAgreement<ReferencedDocument,ReferencedDocumentAdditional>public ReferencedDocument getCustomerOrder()
Gets the customer order referenced document.
COMFORT
getCustomerOrder in interface CommonAgreement<ReferencedDocument,ReferencedDocumentAdditional>public String getDeliveryTerms()
Gets the delivery terms.
EXTENDED
public TradeParty getProductEndUser()
Gets the product end user.
public TradeParty getSeller()
Gets the seller.
public Agreement setBuyer(TradeParty buyer)
Sets the buyer trade party.
buyer - the new buyer trade partypublic Agreement setBuyerOrder(ReferencedDocument buyerOrder)
Sets the buyer order referenced document.
setBuyerOrder in interface CommonAgreement<ReferencedDocument,ReferencedDocumentAdditional>buyerOrder - the new buyer order referenced documentpublic Agreement setBuyerReference(String buyerReference)
Sets the buyer reference.
The reference to ease the attribution for the buyer
COMFORT
buyerReference - the new buyer referencepublic Agreement setContract(ReferencedDocument contract)
Sets the contract referenced document.
COMFORT
setContract in interface CommonAgreement<ReferencedDocument,ReferencedDocumentAdditional>contract - the new contract referenced documentpublic Agreement setCustomerOrder(ReferencedDocument customerOrder)
Sets the customer order referenced document.
COMFORT
setCustomerOrder in interface CommonAgreement<ReferencedDocument,ReferencedDocumentAdditional>customerOrder - the new customer order referenced documentpublic void setDeliveryTerms(String deliveryTerms)
Sets the delivery terms.
EXTENDED
deliveryTerms - the delivery termspublic Agreement setProductEndUser(TradeParty productEndUser)
Sets the product end user.
productEndUser - the new product end userpublic Agreement setSeller(TradeParty seller)
Sets the seller.
seller - the sellerCopyright © 2014 Konik.io. All Rights Reserved.