public class Agreement extends java.lang.Object
| Constructor and Description |
|---|
Agreement()
|
Agreement(TradeParty sellerTradeParty,
TradeParty buyerTradeParty,
ReferencedDocument buyerOrderReferencedDocument)
|
| Modifier and Type | Method and Description |
|---|---|
ReferencedDocument |
getBuyerOrder()
|
java.lang.String |
getBuyerReference()
|
TradeParty |
getBuyerTradeParty()
|
ReferencedDocument |
getContract()
|
ReferencedDocument |
getCustomerOrder()
|
Price |
getGrossPriceProduct()
|
Price |
getNetPriceProduct()
|
TradeParty |
getSellerTradeParty()
|
Agreement |
setBuyerOrder(ReferencedDocument buyerOrder)
|
Agreement |
setBuyerReference(java.lang.String buyerReference)
|
Agreement |
setBuyerTradeParty(TradeParty buyer)
|
Agreement |
setContract(ReferencedDocument contract)
|
Agreement |
setCustomerOrder(ReferencedDocument customerOrder)
|
Agreement |
setGrossPriceProduct(Price grossPrice)
|
Agreement |
setNetPriceProduct(Price netPrice)
|
Agreement |
setSellerTradeParty(TradeParty seller)
|
public Agreement()
Instantiates a new supply chain trade agreement.
public Agreement(TradeParty sellerTradeParty, TradeParty buyerTradeParty, ReferencedDocument buyerOrderReferencedDocument)
Instantiates a new supply chain trade agreement with basic parameters.
sellerTradeParty - the seller trade partybuyerTradeParty - the buyer trade partybuyerOrderReferencedDocument - the buyer order referenced documentpublic ReferencedDocument getBuyerOrder()
Gets the buyer order referenced document.
public java.lang.String getBuyerReference()
Gets the buyer reference.
The reference to ease the attribution for the buyer
COMFORT when part of Trade
public TradeParty getBuyerTradeParty()
Gets the buyer trade party.
public ReferencedDocument getContract()
Gets the contract referenced document.
COMFORT
public ReferencedDocument getCustomerOrder()
Gets the customer order referenced document.
COMFORT
public Price getGrossPriceProduct()
Gets the gross price product trade price.
public Price getNetPriceProduct()
Gets the net price product trade price.
public TradeParty getSellerTradeParty()
Gets the seller trade party.
public Agreement setBuyerOrder(ReferencedDocument buyerOrder)
Sets the buyer order referenced document.
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
COMFORT when part of Trade
buyerReference - the new buyer referencepublic Agreement setBuyerTradeParty(TradeParty buyer)
Sets the buyer trade party.
buyer - the new buyer trade partypublic Agreement setContract(ReferencedDocument contract)
Sets the contract referenced document.
COMFORT
contract - the new contract referenced documentpublic Agreement setCustomerOrder(ReferencedDocument customerOrder)
Sets the customer order referenced document.
COMFORT
customerOrder - the new customer order referenced documentpublic Agreement setGrossPriceProduct(Price grossPrice)
Sets the gross price product trade price.
grossPrice - the new gross price product trade pricepublic Agreement setNetPriceProduct(Price netPrice)
Sets the net price product trade price.
netPrice - the new net price product trade pricepublic Agreement setSellerTradeParty(TradeParty seller)
Sets the seller trade party.
seller - the new seller trade partyCopyright © 2014 konik.io. All Rights Reserved.