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