| GET | /api/purchaseCondition/{OwnerGln}/{Identification} | Get specific Purchase Condition by Purchase Condition Identification number |
|---|
import java.math.*;
import java.util.*;
import java.io.InputStream;
import net.servicestack.client.*;
import com.google.gson.annotations.*;
import com.google.gson.reflect.*;
public class dtos
{
/**
* Purchase Conditions
*/
@Api(Description="Purchase Conditions")
@ApiResponse(Description="PurchaseCondition data", IsDefaultResponse=true, StatusCode=200)
// @ApiResponse(Description="No Content", ResponseType=IReturnVoid.class, StatusCode=204)
// @ApiResponse(Description="Specified argument was out of the range of valid values.", ResponseType=ArgumentOutOfRangeException.class, StatusCode=400)
public static class GetPurchaseConditionByIdentification
{
/**
* Purchase Condition Owner GLN
*/
@ApiMember(Description="Purchase Condition Owner GLN", ExcludeInSchema=true, ParameterType="path")
public String ownerGln = null;
/**
* Purchase Condition Identifier
*/
@ApiMember(Description="Purchase Condition Identifier", ExcludeInSchema=true, ParameterType="path")
public String identification = null;
public String getOwnerGln() { return ownerGln; }
public GetPurchaseConditionByIdentification setOwnerGln(String value) { this.ownerGln = value; return this; }
public String getIdentification() { return identification; }
public GetPurchaseConditionByIdentification setIdentification(String value) { this.identification = value; return this; }
}
public static class PurchaseConditionsMessage
{
public Header header = null;
public PurchaseConditions purchaseConditions = null;
public Header getHeader() { return header; }
public PurchaseConditionsMessage setHeader(Header value) { this.header = value; return this; }
public PurchaseConditions getPurchaseConditions() { return purchaseConditions; }
public PurchaseConditionsMessage setPurchaseConditions(PurchaseConditions value) { this.purchaseConditions = value; return this; }
}
@DataContract
public static class Header
{
@DataMember(Name="documentIdentification")
@SerializedName("documentIdentification")
public DocumentIdentification documentIdentification = null;
@DataMember(Name="sender")
@SerializedName("sender")
public Partner sender = null;
@DataMember(Name="receiver")
@SerializedName("receiver")
public Partner receiver = null;
public DocumentIdentification getDocumentIdentification() { return documentIdentification; }
public Header setDocumentIdentification(DocumentIdentification value) { this.documentIdentification = value; return this; }
public Partner getSender() { return sender; }
public Header setSender(Partner value) { this.sender = value; return this; }
public Partner getReceiver() { return receiver; }
public Header setReceiver(Partner value) { this.receiver = value; return this; }
}
@DataContract
public static class DocumentIdentification
{
@DataMember(Name="identifier")
@SerializedName("identifier")
public String identifier = null;
@DataMember(Name="type")
@SerializedName("type")
public String type = null;
@DataMember(Name="creationDateAndTime")
@SerializedName("creationDateAndTime")
public Date creationDateAndTime = null;
public String getIdentifier() { return identifier; }
public DocumentIdentification setIdentifier(String value) { this.identifier = value; return this; }
public String getType() { return type; }
public DocumentIdentification setType(String value) { this.type = value; return this; }
public Date getCreationDateAndTime() { return creationDateAndTime; }
public DocumentIdentification setCreationDateAndTime(Date value) { this.creationDateAndTime = value; return this; }
}
@DataContract
public static class Partner
{
@DataMember(Name="identifier")
@SerializedName("identifier")
public Identifier identifier = null;
@DataMember(Name="contactInformation")
@SerializedName("contactInformation")
public ArrayList<ContactInformation> contactInformation = new ArrayList<ContactInformation>();
public Identifier getIdentifier() { return identifier; }
public Partner setIdentifier(Identifier value) { this.identifier = value; return this; }
public ArrayList<ContactInformation> getContactInformation() { return contactInformation; }
public Partner setContactInformation(ArrayList<ContactInformation> value) { this.contactInformation = value; return this; }
}
@DataContract
public static class Identifier
{
@DataMember(Name="authority")
@SerializedName("authority")
public String authority = null;
@DataMember(Name="text")
@SerializedName("text")
public String text = null;
public String getAuthority() { return authority; }
public Identifier setAuthority(String value) { this.authority = value; return this; }
public String getText() { return text; }
public Identifier setText(String value) { this.text = value; return this; }
}
@DataContract
public static class ContactInformation
{
}
public static class PurchaseConditions extends BaseDocument
{
public String purchaseConditionsCurrencyCode = null;
public ArrayList<PurchaseConditionsLocationInformation> purchaseConditionsLocationInformation = new ArrayList<PurchaseConditionsLocationInformation>();
public CurrencyExchangeRateInformation currencyExchangeRateInformation = null;
public TransactionalParty buyer = null;
public TransactionalParty payee = null;
public TransactionalParty payer = null;
public String purchaseConditionsIdentification = null;
public TransactionalParty remitTo = null;
public TransactionalParty seller = null;
public TransactionalParty taxRepresentative = null;
public String getPurchaseConditionsCurrencyCode() { return purchaseConditionsCurrencyCode; }
public PurchaseConditions setPurchaseConditionsCurrencyCode(String value) { this.purchaseConditionsCurrencyCode = value; return this; }
public ArrayList<PurchaseConditionsLocationInformation> getPurchaseConditionsLocationInformation() { return purchaseConditionsLocationInformation; }
public PurchaseConditions setPurchaseConditionsLocationInformation(ArrayList<PurchaseConditionsLocationInformation> value) { this.purchaseConditionsLocationInformation = value; return this; }
public CurrencyExchangeRateInformation getCurrencyExchangeRateInformation() { return currencyExchangeRateInformation; }
public PurchaseConditions setCurrencyExchangeRateInformation(CurrencyExchangeRateInformation value) { this.currencyExchangeRateInformation = value; return this; }
public TransactionalParty getBuyer() { return buyer; }
public PurchaseConditions setBuyer(TransactionalParty value) { this.buyer = value; return this; }
public TransactionalParty getPayee() { return payee; }
public PurchaseConditions setPayee(TransactionalParty value) { this.payee = value; return this; }
public TransactionalParty getPayer() { return payer; }
public PurchaseConditions setPayer(TransactionalParty value) { this.payer = value; return this; }
public String getPurchaseConditionsIdentification() { return purchaseConditionsIdentification; }
public PurchaseConditions setPurchaseConditionsIdentification(String value) { this.purchaseConditionsIdentification = value; return this; }
public TransactionalParty getRemitTo() { return remitTo; }
public PurchaseConditions setRemitTo(TransactionalParty value) { this.remitTo = value; return this; }
public TransactionalParty getSeller() { return seller; }
public PurchaseConditions setSeller(TransactionalParty value) { this.seller = value; return this; }
public TransactionalParty getTaxRepresentative() { return taxRepresentative; }
public PurchaseConditions setTaxRepresentative(TransactionalParty value) { this.taxRepresentative = value; return this; }
}
public static class BaseDocument
{
public String currencyCode = null;
public Date creationDateTime = null;
public DocumentAction documentActionCode = null;
public DocumentStatus documentStatusCode = null;
public String documentStructureVersion = null;
public Date lastUpdateDateTime = null;
public Long revisionNumber = null;
public ArrayList<AvpList> avpList = new ArrayList<AvpList>();
public String getCurrencyCode() { return currencyCode; }
public BaseDocument setCurrencyCode(String value) { this.currencyCode = value; return this; }
public Date getCreationDateTime() { return creationDateTime; }
public BaseDocument setCreationDateTime(Date value) { this.creationDateTime = value; return this; }
public DocumentAction getDocumentActionCode() { return documentActionCode; }
public BaseDocument setDocumentActionCode(DocumentAction value) { this.documentActionCode = value; return this; }
public DocumentStatus getDocumentStatusCode() { return documentStatusCode; }
public BaseDocument setDocumentStatusCode(DocumentStatus value) { this.documentStatusCode = value; return this; }
public String getDocumentStructureVersion() { return documentStructureVersion; }
public BaseDocument setDocumentStructureVersion(String value) { this.documentStructureVersion = value; return this; }
public Date getLastUpdateDateTime() { return lastUpdateDateTime; }
public BaseDocument setLastUpdateDateTime(Date value) { this.lastUpdateDateTime = value; return this; }
public Long getRevisionNumber() { return revisionNumber; }
public BaseDocument setRevisionNumber(Long value) { this.revisionNumber = value; return this; }
public ArrayList<AvpList> getAvpList() { return avpList; }
public BaseDocument setAvpList(ArrayList<AvpList> value) { this.avpList = value; return this; }
}
public static enum DocumentAction
{
Add,
ChangeByRefresh,
Delete,
Rejected;
}
public static enum DocumentStatus
{
AdditionalTransmission,
Copy,
Original;
}
public static class AvpList
{
public String code = null;
public String value = null;
public String getCode() { return code; }
public AvpList setCode(String value) { this.code = value; return this; }
public String getValue() { return value; }
public AvpList setValue(String value) { this.value = value; return this; }
}
public static class PurchaseConditionsLocationInformation
{
public ArrayList<PurchaseConditionsLineItem> purchaseConditionsLineItem = new ArrayList<PurchaseConditionsLineItem>();
public TransactionalParty shipFrom = null;
public TransactionalParty shipTo = null;
public ArrayList<PurchaseConditionsLineItem> getPurchaseConditionsLineItem() { return purchaseConditionsLineItem; }
public PurchaseConditionsLocationInformation setPurchaseConditionsLineItem(ArrayList<PurchaseConditionsLineItem> value) { this.purchaseConditionsLineItem = value; return this; }
public TransactionalParty getShipFrom() { return shipFrom; }
public PurchaseConditionsLocationInformation setShipFrom(TransactionalParty value) { this.shipFrom = value; return this; }
public TransactionalParty getShipTo() { return shipTo; }
public PurchaseConditionsLocationInformation setShipTo(TransactionalParty value) { this.shipTo = value; return this; }
}
public static class PurchaseConditionsLineItem
{
public BigDecimal discrepancyTolerancePercentage = null;
public Long lineItemNumber = null;
public String packagingTypeCode = null;
public Long parentLineItemNumber = null;
public Quantity purchaseConditionsQuantity = null;
public ArrayList<PurchaseConditionsCommitmentPeriod> purchaseConditionsCommitmentPeriod = new ArrayList<PurchaseConditionsCommitmentPeriod>();
public ArrayList<PurchaseConditionsPriceInformation> purchaseConditionsPriceInformation = new ArrayList<PurchaseConditionsPriceInformation>();
public ArrayList<AllowanceCharge> allowanceCharge = new ArrayList<AllowanceCharge>();
public TransactionalTradeItem transactionalTradeItem = null;
public LeviedDutyFeeTax leviedDutyFeeTax = null;
public ArrayList<AvpList> avpList = new ArrayList<AvpList>();
public DateTimeRange effectivePeriod = null;
public DocumentReference materialSpecification = null;
public QuantityRange purchaseConditionsQuantityRange = null;
public BigDecimal getDiscrepancyTolerancePercentage() { return discrepancyTolerancePercentage; }
public PurchaseConditionsLineItem setDiscrepancyTolerancePercentage(BigDecimal value) { this.discrepancyTolerancePercentage = value; return this; }
public Long getLineItemNumber() { return lineItemNumber; }
public PurchaseConditionsLineItem setLineItemNumber(Long value) { this.lineItemNumber = value; return this; }
public String getPackagingTypeCode() { return packagingTypeCode; }
public PurchaseConditionsLineItem setPackagingTypeCode(String value) { this.packagingTypeCode = value; return this; }
public Long getParentLineItemNumber() { return parentLineItemNumber; }
public PurchaseConditionsLineItem setParentLineItemNumber(Long value) { this.parentLineItemNumber = value; return this; }
public Quantity getPurchaseConditionsQuantity() { return purchaseConditionsQuantity; }
public PurchaseConditionsLineItem setPurchaseConditionsQuantity(Quantity value) { this.purchaseConditionsQuantity = value; return this; }
public ArrayList<PurchaseConditionsCommitmentPeriod> getPurchaseConditionsCommitmentPeriod() { return purchaseConditionsCommitmentPeriod; }
public PurchaseConditionsLineItem setPurchaseConditionsCommitmentPeriod(ArrayList<PurchaseConditionsCommitmentPeriod> value) { this.purchaseConditionsCommitmentPeriod = value; return this; }
public ArrayList<PurchaseConditionsPriceInformation> getPurchaseConditionsPriceInformation() { return purchaseConditionsPriceInformation; }
public PurchaseConditionsLineItem setPurchaseConditionsPriceInformation(ArrayList<PurchaseConditionsPriceInformation> value) { this.purchaseConditionsPriceInformation = value; return this; }
public ArrayList<AllowanceCharge> getAllowanceCharge() { return allowanceCharge; }
public PurchaseConditionsLineItem setAllowanceCharge(ArrayList<AllowanceCharge> value) { this.allowanceCharge = value; return this; }
public TransactionalTradeItem getTransactionalTradeItem() { return transactionalTradeItem; }
public PurchaseConditionsLineItem setTransactionalTradeItem(TransactionalTradeItem value) { this.transactionalTradeItem = value; return this; }
public LeviedDutyFeeTax getLeviedDutyFeeTax() { return leviedDutyFeeTax; }
public PurchaseConditionsLineItem setLeviedDutyFeeTax(LeviedDutyFeeTax value) { this.leviedDutyFeeTax = value; return this; }
public ArrayList<AvpList> getAvpList() { return avpList; }
public PurchaseConditionsLineItem setAvpList(ArrayList<AvpList> value) { this.avpList = value; return this; }
public DateTimeRange getEffectivePeriod() { return effectivePeriod; }
public PurchaseConditionsLineItem setEffectivePeriod(DateTimeRange value) { this.effectivePeriod = value; return this; }
public DocumentReference getMaterialSpecification() { return materialSpecification; }
public PurchaseConditionsLineItem setMaterialSpecification(DocumentReference value) { this.materialSpecification = value; return this; }
public QuantityRange getPurchaseConditionsQuantityRange() { return purchaseConditionsQuantityRange; }
public PurchaseConditionsLineItem setPurchaseConditionsQuantityRange(QuantityRange value) { this.purchaseConditionsQuantityRange = value; return this; }
}
public static class Quantity
{
public BigDecimal value = null;
public String measurementUnitCode = null;
public String codeListVersion = null;
public BigDecimal getValue() { return value; }
public Quantity setValue(BigDecimal value) { this.value = value; return this; }
public String getMeasurementUnitCode() { return measurementUnitCode; }
public Quantity setMeasurementUnitCode(String value) { this.measurementUnitCode = value; return this; }
public String getCodeListVersion() { return codeListVersion; }
public Quantity setCodeListVersion(String value) { this.codeListVersion = value; return this; }
}
public static class PurchaseConditionsCommitmentPeriod
{
public TimeMeasurement commitmentPeriodDuration = null;
public String purchaseConditionsCommitmentTypeCode = null;
public TimeMeasurement getCommitmentPeriodDuration() { return commitmentPeriodDuration; }
public PurchaseConditionsCommitmentPeriod setCommitmentPeriodDuration(TimeMeasurement value) { this.commitmentPeriodDuration = value; return this; }
public String getPurchaseConditionsCommitmentTypeCode() { return purchaseConditionsCommitmentTypeCode; }
public PurchaseConditionsCommitmentPeriod setPurchaseConditionsCommitmentTypeCode(String value) { this.purchaseConditionsCommitmentTypeCode = value; return this; }
}
public static class TimeMeasurement
{
public String timeMeasurementUnitCode = null;
public BigDecimal value = null;
public String getTimeMeasurementUnitCode() { return timeMeasurementUnitCode; }
public TimeMeasurement setTimeMeasurementUnitCode(String value) { this.timeMeasurementUnitCode = value; return this; }
public BigDecimal getValue() { return value; }
public TimeMeasurement setValue(BigDecimal value) { this.value = value; return this; }
}
public static class PurchaseConditionsPriceInformation
{
public Quantity itemPriceBaseQuantity = null;
public BigDecimal itemPriceExclusiveAllowancesCharges = null;
public QuantityRange quantityRange = null;
public DateTimeRange effectivePeriod = null;
public Quantity getItemPriceBaseQuantity() { return itemPriceBaseQuantity; }
public PurchaseConditionsPriceInformation setItemPriceBaseQuantity(Quantity value) { this.itemPriceBaseQuantity = value; return this; }
public BigDecimal getItemPriceExclusiveAllowancesCharges() { return itemPriceExclusiveAllowancesCharges; }
public PurchaseConditionsPriceInformation setItemPriceExclusiveAllowancesCharges(BigDecimal value) { this.itemPriceExclusiveAllowancesCharges = value; return this; }
public QuantityRange getQuantityRange() { return quantityRange; }
public PurchaseConditionsPriceInformation setQuantityRange(QuantityRange value) { this.quantityRange = value; return this; }
public DateTimeRange getEffectivePeriod() { return effectivePeriod; }
public PurchaseConditionsPriceInformation setEffectivePeriod(DateTimeRange value) { this.effectivePeriod = value; return this; }
}
public static class QuantityRange
{
public Quantity maximumQuantity = null;
public Quantity minimumQuantity = null;
public Quantity getMaximumQuantity() { return maximumQuantity; }
public QuantityRange setMaximumQuantity(Quantity value) { this.maximumQuantity = value; return this; }
public Quantity getMinimumQuantity() { return minimumQuantity; }
public QuantityRange setMinimumQuantity(Quantity value) { this.minimumQuantity = value; return this; }
}
public static class DateTimeRange
{
public Date beginDate = null;
public TimeSpan beginTime = null;
public Date endDate = null;
public TimeSpan endTime = null;
public Date getBeginDate() { return beginDate; }
public DateTimeRange setBeginDate(Date value) { this.beginDate = value; return this; }
public TimeSpan getBeginTime() { return beginTime; }
public DateTimeRange setBeginTime(TimeSpan value) { this.beginTime = value; return this; }
public Date getEndDate() { return endDate; }
public DateTimeRange setEndDate(Date value) { this.endDate = value; return this; }
public TimeSpan getEndTime() { return endTime; }
public DateTimeRange setEndTime(TimeSpan value) { this.endTime = value; return this; }
}
public static class AllowanceCharge
{
public BigDecimal allowanceChargeAmount = null;
public BigDecimal allowanceChargePercentage = null;
public String allowanceChargeType = null;
public String allowanceOrChargeType = null;
public BigDecimal amountPerUnit = null;
public BigDecimal baseAmount = null;
public String baseNumberOfUnits = null;
public String bracketIdentifier = null;
public Date effectiveDateType = null;
public String sequenceNumber = null;
public String settlementType = null;
public String specialServiceType = null;
public String allowanceChargeDescription = null;
public BigDecimal getAllowanceChargeAmount() { return allowanceChargeAmount; }
public AllowanceCharge setAllowanceChargeAmount(BigDecimal value) { this.allowanceChargeAmount = value; return this; }
public BigDecimal getAllowanceChargePercentage() { return allowanceChargePercentage; }
public AllowanceCharge setAllowanceChargePercentage(BigDecimal value) { this.allowanceChargePercentage = value; return this; }
public String getAllowanceChargeType() { return allowanceChargeType; }
public AllowanceCharge setAllowanceChargeType(String value) { this.allowanceChargeType = value; return this; }
public String getAllowanceOrChargeType() { return allowanceOrChargeType; }
public AllowanceCharge setAllowanceOrChargeType(String value) { this.allowanceOrChargeType = value; return this; }
public BigDecimal getAmountPerUnit() { return amountPerUnit; }
public AllowanceCharge setAmountPerUnit(BigDecimal value) { this.amountPerUnit = value; return this; }
public BigDecimal getBaseAmount() { return baseAmount; }
public AllowanceCharge setBaseAmount(BigDecimal value) { this.baseAmount = value; return this; }
public String getBaseNumberOfUnits() { return baseNumberOfUnits; }
public AllowanceCharge setBaseNumberOfUnits(String value) { this.baseNumberOfUnits = value; return this; }
public String getBracketIdentifier() { return bracketIdentifier; }
public AllowanceCharge setBracketIdentifier(String value) { this.bracketIdentifier = value; return this; }
public Date getEffectiveDateType() { return effectiveDateType; }
public AllowanceCharge setEffectiveDateType(Date value) { this.effectiveDateType = value; return this; }
public String getSequenceNumber() { return sequenceNumber; }
public AllowanceCharge setSequenceNumber(String value) { this.sequenceNumber = value; return this; }
public String getSettlementType() { return settlementType; }
public AllowanceCharge setSettlementType(String value) { this.settlementType = value; return this; }
public String getSpecialServiceType() { return specialServiceType; }
public AllowanceCharge setSpecialServiceType(String value) { this.specialServiceType = value; return this; }
public String getAllowanceChargeDescription() { return allowanceChargeDescription; }
public AllowanceCharge setAllowanceChargeDescription(String value) { this.allowanceChargeDescription = value; return this; }
}
public static class TransactionalTradeItem
{
public String gtin = null;
public ArrayList<AvpList> additionalTradeItemIdentification = new ArrayList<AvpList>();
public BigDecimal tradeItemQuantity = null;
public String tradeItemDescription = null;
public String productVariantIdentifier = null;
public String itemTypeCode = null;
public String tradeItemDataOwner = null;
public String butterFatReference = null;
public ArrayList<TransactionalItemData> transactionalItemData = new ArrayList<TransactionalItemData>();
public ArrayList<Colour> colour = new ArrayList<Colour>();
public Size size = null;
public TradeItemClassification tradeItemClassification = null;
public ArrayList<AvpList> avpList = new ArrayList<AvpList>();
public String getGtin() { return gtin; }
public TransactionalTradeItem setGtin(String value) { this.gtin = value; return this; }
public ArrayList<AvpList> getAdditionalTradeItemIdentification() { return additionalTradeItemIdentification; }
public TransactionalTradeItem setAdditionalTradeItemIdentification(ArrayList<AvpList> value) { this.additionalTradeItemIdentification = value; return this; }
public BigDecimal getTradeItemQuantity() { return tradeItemQuantity; }
public TransactionalTradeItem setTradeItemQuantity(BigDecimal value) { this.tradeItemQuantity = value; return this; }
public String getTradeItemDescription() { return tradeItemDescription; }
public TransactionalTradeItem setTradeItemDescription(String value) { this.tradeItemDescription = value; return this; }
public String getProductVariantIdentifier() { return productVariantIdentifier; }
public TransactionalTradeItem setProductVariantIdentifier(String value) { this.productVariantIdentifier = value; return this; }
public String getItemTypeCode() { return itemTypeCode; }
public TransactionalTradeItem setItemTypeCode(String value) { this.itemTypeCode = value; return this; }
public String getTradeItemDataOwner() { return tradeItemDataOwner; }
public TransactionalTradeItem setTradeItemDataOwner(String value) { this.tradeItemDataOwner = value; return this; }
public String getButterFatReference() { return butterFatReference; }
public TransactionalTradeItem setButterFatReference(String value) { this.butterFatReference = value; return this; }
public ArrayList<TransactionalItemData> getTransactionalItemData() { return transactionalItemData; }
public TransactionalTradeItem setTransactionalItemData(ArrayList<TransactionalItemData> value) { this.transactionalItemData = value; return this; }
public ArrayList<Colour> getColour() { return colour; }
public TransactionalTradeItem setColour(ArrayList<Colour> value) { this.colour = value; return this; }
public Size getSize() { return size; }
public TransactionalTradeItem setSize(Size value) { this.size = value; return this; }
public TradeItemClassification getTradeItemClassification() { return tradeItemClassification; }
public TransactionalTradeItem setTradeItemClassification(TradeItemClassification value) { this.tradeItemClassification = value; return this; }
public ArrayList<AvpList> getAvpList() { return avpList; }
public TransactionalTradeItem setAvpList(ArrayList<AvpList> value) { this.avpList = value; return this; }
}
public static class TransactionalItemData
{
public Date availableForSaleDate = null;
public String batchNumber = null;
public Date bestBeforeDate = null;
public String countryOfOrigin = null;
public Date itemExpirationDate = null;
public String lotNumber = null;
public Date packagingDate = null;
public Date productionDate = null;
public String productQualityIndication = null;
public Date sellByDate = null;
public ArrayList<String> serialNumber = new ArrayList<String>();
public String shelfLife = null;
public Long tradeItemQuantity = null;
public Boolean itemInContactWithFoodProduct = null;
public ArrayList<TransactionalItem> transactionalItemWeight = new ArrayList<TransactionalItem>();
public ArrayList<TransactionalItem> transactionalItemVolume = new ArrayList<TransactionalItem>();
public ArrayList<SerialNumberRange> serialNumberRange = new ArrayList<SerialNumberRange>();
public ArrayList<TransactionalItemDimension> transactionalItemDimensions = new ArrayList<TransactionalItemDimension>();
public TransactionalItemLogisticUnitInformation transactionalItemLogisticUnitInformation = null;
public TransactionalItemDataCarrierAndIdentification transactionalItemDataCarrierAndIdentification = null;
public ArrayList<TradeItemWaste> tradeItemWaste = new ArrayList<TradeItemWaste>();
public TransactionalItemOrganicInformation transactionalItemOrganicInformation = null;
public ArrayList<AvpList> avpList = new ArrayList<AvpList>();
public Date getAvailableForSaleDate() { return availableForSaleDate; }
public TransactionalItemData setAvailableForSaleDate(Date value) { this.availableForSaleDate = value; return this; }
public String getBatchNumber() { return batchNumber; }
public TransactionalItemData setBatchNumber(String value) { this.batchNumber = value; return this; }
public Date getBestBeforeDate() { return bestBeforeDate; }
public TransactionalItemData setBestBeforeDate(Date value) { this.bestBeforeDate = value; return this; }
public String getCountryOfOrigin() { return countryOfOrigin; }
public TransactionalItemData setCountryOfOrigin(String value) { this.countryOfOrigin = value; return this; }
public Date getItemExpirationDate() { return itemExpirationDate; }
public TransactionalItemData setItemExpirationDate(Date value) { this.itemExpirationDate = value; return this; }
public String getLotNumber() { return lotNumber; }
public TransactionalItemData setLotNumber(String value) { this.lotNumber = value; return this; }
public Date getPackagingDate() { return packagingDate; }
public TransactionalItemData setPackagingDate(Date value) { this.packagingDate = value; return this; }
public Date getProductionDate() { return productionDate; }
public TransactionalItemData setProductionDate(Date value) { this.productionDate = value; return this; }
public String getProductQualityIndication() { return productQualityIndication; }
public TransactionalItemData setProductQualityIndication(String value) { this.productQualityIndication = value; return this; }
public Date getSellByDate() { return sellByDate; }
public TransactionalItemData setSellByDate(Date value) { this.sellByDate = value; return this; }
public ArrayList<String> getSerialNumber() { return serialNumber; }
public TransactionalItemData setSerialNumber(ArrayList<String> value) { this.serialNumber = value; return this; }
public String getShelfLife() { return shelfLife; }
public TransactionalItemData setShelfLife(String value) { this.shelfLife = value; return this; }
public Long getTradeItemQuantity() { return tradeItemQuantity; }
public TransactionalItemData setTradeItemQuantity(Long value) { this.tradeItemQuantity = value; return this; }
public Boolean isItemInContactWithFoodProduct() { return itemInContactWithFoodProduct; }
public TransactionalItemData setItemInContactWithFoodProduct(Boolean value) { this.itemInContactWithFoodProduct = value; return this; }
public ArrayList<TransactionalItem> getTransactionalItemWeight() { return transactionalItemWeight; }
public TransactionalItemData setTransactionalItemWeight(ArrayList<TransactionalItem> value) { this.transactionalItemWeight = value; return this; }
public ArrayList<TransactionalItem> getTransactionalItemVolume() { return transactionalItemVolume; }
public TransactionalItemData setTransactionalItemVolume(ArrayList<TransactionalItem> value) { this.transactionalItemVolume = value; return this; }
public ArrayList<SerialNumberRange> getSerialNumberRange() { return serialNumberRange; }
public TransactionalItemData setSerialNumberRange(ArrayList<SerialNumberRange> value) { this.serialNumberRange = value; return this; }
public ArrayList<TransactionalItemDimension> getTransactionalItemDimensions() { return transactionalItemDimensions; }
public TransactionalItemData setTransactionalItemDimensions(ArrayList<TransactionalItemDimension> value) { this.transactionalItemDimensions = value; return this; }
public TransactionalItemLogisticUnitInformation getTransactionalItemLogisticUnitInformation() { return transactionalItemLogisticUnitInformation; }
public TransactionalItemData setTransactionalItemLogisticUnitInformation(TransactionalItemLogisticUnitInformation value) { this.transactionalItemLogisticUnitInformation = value; return this; }
public TransactionalItemDataCarrierAndIdentification getTransactionalItemDataCarrierAndIdentification() { return transactionalItemDataCarrierAndIdentification; }
public TransactionalItemData setTransactionalItemDataCarrierAndIdentification(TransactionalItemDataCarrierAndIdentification value) { this.transactionalItemDataCarrierAndIdentification = value; return this; }
public ArrayList<TradeItemWaste> getTradeItemWaste() { return tradeItemWaste; }
public TransactionalItemData setTradeItemWaste(ArrayList<TradeItemWaste> value) { this.tradeItemWaste = value; return this; }
public TransactionalItemOrganicInformation getTransactionalItemOrganicInformation() { return transactionalItemOrganicInformation; }
public TransactionalItemData setTransactionalItemOrganicInformation(TransactionalItemOrganicInformation value) { this.transactionalItemOrganicInformation = value; return this; }
public ArrayList<AvpList> getAvpList() { return avpList; }
public TransactionalItemData setAvpList(ArrayList<AvpList> value) { this.avpList = value; return this; }
}
public static class TransactionalItem
{
public String measurementUnitCode = null;
public String measurementType = null;
public String measurementValue = null;
public String getMeasurementUnitCode() { return measurementUnitCode; }
public TransactionalItem setMeasurementUnitCode(String value) { this.measurementUnitCode = value; return this; }
public String getMeasurementType() { return measurementType; }
public TransactionalItem setMeasurementType(String value) { this.measurementType = value; return this; }
public String getMeasurementValue() { return measurementValue; }
public TransactionalItem setMeasurementValue(String value) { this.measurementValue = value; return this; }
}
public static class SerialNumberRange
{
public String maximumValue = null;
public String minimumValue = null;
public String getMaximumValue() { return maximumValue; }
public SerialNumberRange setMaximumValue(String value) { this.maximumValue = value; return this; }
public String getMinimumValue() { return minimumValue; }
public SerialNumberRange setMinimumValue(String value) { this.minimumValue = value; return this; }
}
public static class TransactionalItemDimension
{
public String measurementUnitCode = null;
public String depth = null;
public String height = null;
public String width = null;
public String getMeasurementUnitCode() { return measurementUnitCode; }
public TransactionalItemDimension setMeasurementUnitCode(String value) { this.measurementUnitCode = value; return this; }
public String getDepth() { return depth; }
public TransactionalItemDimension setDepth(String value) { this.depth = value; return this; }
public String getHeight() { return height; }
public TransactionalItemDimension setHeight(String value) { this.height = value; return this; }
public String getWidth() { return width; }
public TransactionalItemDimension setWidth(String value) { this.width = value; return this; }
}
public static class TransactionalItemLogisticUnitInformation
{
public Long numberOfLayers = null;
public Long numberOfUnitsPerLayer = null;
public Long numberOfUnitsPerPallet = null;
public String packagingTerms = null;
public String packageTypeCode = null;
public Long maximumStackingFactor = null;
public String returnablePackageTransportCostPayment = null;
public ArrayList<TransactionalItemDimension> dimensionsOfLogisticUnit = new ArrayList<TransactionalItemDimension>();
public Long getNumberOfLayers() { return numberOfLayers; }
public TransactionalItemLogisticUnitInformation setNumberOfLayers(Long value) { this.numberOfLayers = value; return this; }
public Long getNumberOfUnitsPerLayer() { return numberOfUnitsPerLayer; }
public TransactionalItemLogisticUnitInformation setNumberOfUnitsPerLayer(Long value) { this.numberOfUnitsPerLayer = value; return this; }
public Long getNumberOfUnitsPerPallet() { return numberOfUnitsPerPallet; }
public TransactionalItemLogisticUnitInformation setNumberOfUnitsPerPallet(Long value) { this.numberOfUnitsPerPallet = value; return this; }
public String getPackagingTerms() { return packagingTerms; }
public TransactionalItemLogisticUnitInformation setPackagingTerms(String value) { this.packagingTerms = value; return this; }
public String getPackageTypeCode() { return packageTypeCode; }
public TransactionalItemLogisticUnitInformation setPackageTypeCode(String value) { this.packageTypeCode = value; return this; }
public Long getMaximumStackingFactor() { return maximumStackingFactor; }
public TransactionalItemLogisticUnitInformation setMaximumStackingFactor(Long value) { this.maximumStackingFactor = value; return this; }
public String getReturnablePackageTransportCostPayment() { return returnablePackageTransportCostPayment; }
public TransactionalItemLogisticUnitInformation setReturnablePackageTransportCostPayment(String value) { this.returnablePackageTransportCostPayment = value; return this; }
public ArrayList<TransactionalItemDimension> getDimensionsOfLogisticUnit() { return dimensionsOfLogisticUnit; }
public TransactionalItemLogisticUnitInformation setDimensionsOfLogisticUnit(ArrayList<TransactionalItemDimension> value) { this.dimensionsOfLogisticUnit = value; return this; }
}
public static class TransactionalItemDataCarrierAndIdentification
{
public String gs1TransactionalItemIdentificationKey = null;
public String dataCarrier = null;
public String getGs1TransactionalItemIdentificationKey() { return gs1TransactionalItemIdentificationKey; }
public TransactionalItemDataCarrierAndIdentification setGs1TransactionalItemIdentificationKey(String value) { this.gs1TransactionalItemIdentificationKey = value; return this; }
public String getDataCarrier() { return dataCarrier; }
public TransactionalItemDataCarrierAndIdentification setDataCarrier(String value) { this.dataCarrier = value; return this; }
}
public static class TradeItemWaste
{
public String wasteIdentification = null;
public ArrayList<AvpList> typeOfWaste = new ArrayList<AvpList>();
public String getWasteIdentification() { return wasteIdentification; }
public TradeItemWaste setWasteIdentification(String value) { this.wasteIdentification = value; return this; }
public ArrayList<AvpList> getTypeOfWaste() { return typeOfWaste; }
public TradeItemWaste setTypeOfWaste(ArrayList<AvpList> value) { this.typeOfWaste = value; return this; }
}
public static class TransactionalItemOrganicInformation
{
public Boolean isTradeItemOrganic = null;
public String organicCertification = null;
public Boolean getIsTradeItemOrganic() { return isTradeItemOrganic; }
public TransactionalItemOrganicInformation setIsTradeItemOrganic(Boolean value) { this.isTradeItemOrganic = value; return this; }
public String getOrganicCertification() { return organicCertification; }
public TransactionalItemOrganicInformation setOrganicCertification(String value) { this.organicCertification = value; return this; }
}
public static class Colour
{
public String colourCode = null;
public String colourDescription = null;
public String getColourCode() { return colourCode; }
public Colour setColourCode(String value) { this.colourCode = value; return this; }
public String getColourDescription() { return colourDescription; }
public Colour setColourDescription(String value) { this.colourDescription = value; return this; }
}
public static class Size
{
public String descriptiveSize = null;
public String sizeCode = null;
public String getDescriptiveSize() { return descriptiveSize; }
public Size setDescriptiveSize(String value) { this.descriptiveSize = value; return this; }
public String getSizeCode() { return sizeCode; }
public Size setSizeCode(String value) { this.sizeCode = value; return this; }
}
public static class TradeItemClassification
{
public String gpcCategoryCode = null;
public ArrayList<AvpList> additionalTradeItemClassificationCode = new ArrayList<AvpList>();
public String gpcCategoryName = null;
public ArrayList<AvpList> gpcAttribute = new ArrayList<AvpList>();
public String getGpcCategoryCode() { return gpcCategoryCode; }
public TradeItemClassification setGpcCategoryCode(String value) { this.gpcCategoryCode = value; return this; }
public ArrayList<AvpList> getAdditionalTradeItemClassificationCode() { return additionalTradeItemClassificationCode; }
public TradeItemClassification setAdditionalTradeItemClassificationCode(ArrayList<AvpList> value) { this.additionalTradeItemClassificationCode = value; return this; }
public String getGpcCategoryName() { return gpcCategoryName; }
public TradeItemClassification setGpcCategoryName(String value) { this.gpcCategoryName = value; return this; }
public ArrayList<AvpList> getGpcAttribute() { return gpcAttribute; }
public TradeItemClassification setGpcAttribute(ArrayList<AvpList> value) { this.gpcAttribute = value; return this; }
}
public static class LeviedDutyFeeTax
{
public BigDecimal dutyFeeTaxAmount = null;
public BigDecimal dutyFeeTaxBasisAmount = null;
public String dutyFeeTaxDescription = null;
public BigDecimal dutyFeeTaxPercentage = null;
public BigDecimal getDutyFeeTaxAmount() { return dutyFeeTaxAmount; }
public LeviedDutyFeeTax setDutyFeeTaxAmount(BigDecimal value) { this.dutyFeeTaxAmount = value; return this; }
public BigDecimal getDutyFeeTaxBasisAmount() { return dutyFeeTaxBasisAmount; }
public LeviedDutyFeeTax setDutyFeeTaxBasisAmount(BigDecimal value) { this.dutyFeeTaxBasisAmount = value; return this; }
public String getDutyFeeTaxDescription() { return dutyFeeTaxDescription; }
public LeviedDutyFeeTax setDutyFeeTaxDescription(String value) { this.dutyFeeTaxDescription = value; return this; }
public BigDecimal getDutyFeeTaxPercentage() { return dutyFeeTaxPercentage; }
public LeviedDutyFeeTax setDutyFeeTaxPercentage(BigDecimal value) { this.dutyFeeTaxPercentage = value; return this; }
}
public static class DocumentReference
{
public Date creationDateTime = null;
public Long revisionNumber = null;
public Long lineItemNumber = null;
public String entityIdentification = null;
public Date getCreationDateTime() { return creationDateTime; }
public DocumentReference setCreationDateTime(Date value) { this.creationDateTime = value; return this; }
public Long getRevisionNumber() { return revisionNumber; }
public DocumentReference setRevisionNumber(Long value) { this.revisionNumber = value; return this; }
public Long getLineItemNumber() { return lineItemNumber; }
public DocumentReference setLineItemNumber(Long value) { this.lineItemNumber = value; return this; }
public String getEntityIdentification() { return entityIdentification; }
public DocumentReference setEntityIdentification(String value) { this.entityIdentification = value; return this; }
}
public static class TransactionalParty extends Ecom_PartyIdentificationType
{
public ArrayList<Contact> contact = new ArrayList<Contact>();
public Address address = null;
public ArrayList<AvpList> communicationChannel = new ArrayList<AvpList>();
public FinancialInstitutionInformation financialInstitutionInformation = null;
public String dutyFeeTaxRegistration = null;
public String entityIdentification = null;
public ArrayList<Contact> getContact() { return contact; }
public TransactionalParty setContact(ArrayList<Contact> value) { this.contact = value; return this; }
public Address getAddress() { return address; }
public TransactionalParty setAddress(Address value) { this.address = value; return this; }
public ArrayList<AvpList> getCommunicationChannel() { return communicationChannel; }
public TransactionalParty setCommunicationChannel(ArrayList<AvpList> value) { this.communicationChannel = value; return this; }
public FinancialInstitutionInformation getFinancialInstitutionInformation() { return financialInstitutionInformation; }
public TransactionalParty setFinancialInstitutionInformation(FinancialInstitutionInformation value) { this.financialInstitutionInformation = value; return this; }
public String getDutyFeeTaxRegistration() { return dutyFeeTaxRegistration; }
public TransactionalParty setDutyFeeTaxRegistration(String value) { this.dutyFeeTaxRegistration = value; return this; }
public String getEntityIdentification() { return entityIdentification; }
public TransactionalParty setEntityIdentification(String value) { this.entityIdentification = value; return this; }
}
public static class Ecom_PartyIdentificationType
{
public String gln = null;
public String name = null;
public ArrayList<AvpList> additionalPartyIdentification = new ArrayList<AvpList>();
public String getGln() { return gln; }
public Ecom_PartyIdentificationType setGln(String value) { this.gln = value; return this; }
public String getName() { return name; }
public Ecom_PartyIdentificationType setName(String value) { this.name = value; return this; }
public ArrayList<AvpList> getAdditionalPartyIdentification() { return additionalPartyIdentification; }
public Ecom_PartyIdentificationType setAdditionalPartyIdentification(ArrayList<AvpList> value) { this.additionalPartyIdentification = value; return this; }
}
public static class Contact
{
public String contactTypeCode = null;
public String personName = null;
public String departmentName = null;
public String jobTitle = null;
public String responsibility = null;
public ArrayList<CommunicationChannel> communicationChannel = new ArrayList<CommunicationChannel>();
public String getContactTypeCode() { return contactTypeCode; }
public Contact setContactTypeCode(String value) { this.contactTypeCode = value; return this; }
public String getPersonName() { return personName; }
public Contact setPersonName(String value) { this.personName = value; return this; }
public String getDepartmentName() { return departmentName; }
public Contact setDepartmentName(String value) { this.departmentName = value; return this; }
public String getJobTitle() { return jobTitle; }
public Contact setJobTitle(String value) { this.jobTitle = value; return this; }
public String getResponsibility() { return responsibility; }
public Contact setResponsibility(String value) { this.responsibility = value; return this; }
public ArrayList<CommunicationChannel> getCommunicationChannel() { return communicationChannel; }
public Contact setCommunicationChannel(ArrayList<CommunicationChannel> value) { this.communicationChannel = value; return this; }
}
public static class CommunicationChannel
{
public String communicationChannelCode = null;
public String communicationChannelName = null;
public String communicationValue = null;
public String getCommunicationChannelCode() { return communicationChannelCode; }
public CommunicationChannel setCommunicationChannelCode(String value) { this.communicationChannelCode = value; return this; }
public String getCommunicationChannelName() { return communicationChannelName; }
public CommunicationChannel setCommunicationChannelName(String value) { this.communicationChannelName = value; return this; }
public String getCommunicationValue() { return communicationValue; }
public CommunicationChannel setCommunicationValue(String value) { this.communicationValue = value; return this; }
}
public static class Address
{
public String streetAddressOne = null;
public String streetAddressTwo = null;
public String streetAddressThree = null;
public String city = null;
public String postalCode = null;
public String provinceCode = null;
public String countryCode = null;
public String getStreetAddressOne() { return streetAddressOne; }
public Address setStreetAddressOne(String value) { this.streetAddressOne = value; return this; }
public String getStreetAddressTwo() { return streetAddressTwo; }
public Address setStreetAddressTwo(String value) { this.streetAddressTwo = value; return this; }
public String getStreetAddressThree() { return streetAddressThree; }
public Address setStreetAddressThree(String value) { this.streetAddressThree = value; return this; }
public String getCity() { return city; }
public Address setCity(String value) { this.city = value; return this; }
public String getPostalCode() { return postalCode; }
public Address setPostalCode(String value) { this.postalCode = value; return this; }
public String getProvinceCode() { return provinceCode; }
public Address setProvinceCode(String value) { this.provinceCode = value; return this; }
public String getCountryCode() { return countryCode; }
public Address setCountryCode(String value) { this.countryCode = value; return this; }
}
public static class FinancialInstitutionInformation
{
public String financialInstitutionBranchName = null;
public String financialInstitutionName = null;
public FinancialRoutingNumber financialRoutingNumber = null;
public FinancialAccount financialAccount = null;
public String swiftCode = null;
public String exportersCode = null;
public String getFinancialInstitutionBranchName() { return financialInstitutionBranchName; }
public FinancialInstitutionInformation setFinancialInstitutionBranchName(String value) { this.financialInstitutionBranchName = value; return this; }
public String getFinancialInstitutionName() { return financialInstitutionName; }
public FinancialInstitutionInformation setFinancialInstitutionName(String value) { this.financialInstitutionName = value; return this; }
public FinancialRoutingNumber getFinancialRoutingNumber() { return financialRoutingNumber; }
public FinancialInstitutionInformation setFinancialRoutingNumber(FinancialRoutingNumber value) { this.financialRoutingNumber = value; return this; }
public FinancialAccount getFinancialAccount() { return financialAccount; }
public FinancialInstitutionInformation setFinancialAccount(FinancialAccount value) { this.financialAccount = value; return this; }
public String getSwiftCode() { return swiftCode; }
public FinancialInstitutionInformation setSwiftCode(String value) { this.swiftCode = value; return this; }
public String getExportersCode() { return exportersCode; }
public FinancialInstitutionInformation setExportersCode(String value) { this.exportersCode = value; return this; }
}
public static class FinancialRoutingNumber
{
public String number = null;
public String numberTypeCode = null;
public String getNumber() { return number; }
public FinancialRoutingNumber setNumber(String value) { this.number = value; return this; }
public String getNumberTypeCode() { return numberTypeCode; }
public FinancialRoutingNumber setNumberTypeCode(String value) { this.numberTypeCode = value; return this; }
}
public static class FinancialAccount
{
public String number = null;
public String numberTypeCode = null;
public String name = null;
public String getNumber() { return number; }
public FinancialAccount setNumber(String value) { this.number = value; return this; }
public String getNumberTypeCode() { return numberTypeCode; }
public FinancialAccount setNumberTypeCode(String value) { this.numberTypeCode = value; return this; }
public String getName() { return name; }
public FinancialAccount setName(String value) { this.name = value; return this; }
}
public static class CurrencyExchangeRateInformation
{
public String currencyConversionFromCode = null;
public String currencyConversionToCode = null;
public Long exchangeRate = null;
public Date exchangeRateDateTime = null;
public String getCurrencyConversionFromCode() { return currencyConversionFromCode; }
public CurrencyExchangeRateInformation setCurrencyConversionFromCode(String value) { this.currencyConversionFromCode = value; return this; }
public String getCurrencyConversionToCode() { return currencyConversionToCode; }
public CurrencyExchangeRateInformation setCurrencyConversionToCode(String value) { this.currencyConversionToCode = value; return this; }
public Long getExchangeRate() { return exchangeRate; }
public CurrencyExchangeRateInformation setExchangeRate(Long value) { this.exchangeRate = value; return this; }
public Date getExchangeRateDateTime() { return exchangeRateDateTime; }
public CurrencyExchangeRateInformation setExchangeRateDateTime(Date value) { this.exchangeRateDateTime = value; return this; }
}
}
Java GetPurchaseConditionByIdentification DTOs
To override the Content-type in your clients, use the HTTP Accept Header, append the .csv suffix or ?format=csv
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
GET /api/purchaseCondition/{OwnerGln}/{Identification} HTTP/1.1
Host: stf-api-uat.data-xchange.co.za
Accept: text/csv
HTTP/1.1 200 OK
Content-Type: text/csv
Content-Length: length
{"header":{"documentIdentification":{"identifier":"String","type":"String"},"sender":{"identifier":{"authority":"String","text":"String"},"contactInformation":[{}]},"receiver":{"identifier":{"authority":"String","text":"String"},"contactInformation":[{}]}},"purchaseConditions":{"purchaseConditionsCurrencyCode":"String","purchaseConditionsLocationInformation":[{"purchaseConditionsLineItem":[{"discrepancyTolerancePercentage":0,"lineItemNumber":0,"packagingTypeCode":"String","parentLineItemNumber":0,"purchaseConditionsQuantity":{"value":0,"measurementUnitCode":"String","codeListVersion":"String"},"purchaseConditionsCommitmentPeriod":[{"commitmentPeriodDuration":{"timeMeasurementUnitCode":"String","value":0},"purchaseConditionsCommitmentTypeCode":"String"}],"purchaseConditionsPriceInformation":[{"itemPriceBaseQuantity":{"value":0,"measurementUnitCode":"String","codeListVersion":"String"},"itemPriceExclusiveAllowancesCharges":0,"quantityRange":{"maximumQuantity":{"value":0,"measurementUnitCode":"String","codeListVersion":"String"},"minimumQuantity":{"value":0,"measurementUnitCode":"String","codeListVersion":"String"}},"effectivePeriod":{"beginDate":"0001-01-01","beginTime":"PT0S","endDate":"0001-01-01","endTime":"PT0S"}}],"allowanceCharge":[{"allowanceChargeAmount":0,"allowanceChargePercentage":0,"allowanceChargeType":"String","allowanceOrChargeType":"String","amountPerUnit":0,"baseAmount":0,"baseNumberOfUnits":"String","bracketIdentifier":"String","effectiveDateType":"0001-01-01","sequenceNumber":"String","settlementType":"String","specialServiceType":"String","allowanceChargeDescription":"String"}],"transactionalTradeItem":{"gtin":"String","additionalTradeItemIdentification":[{"code":"String","value":"String"}],"tradeItemQuantity":0,"tradeItemDescription":"String","productVariantIdentifier":"String","itemTypeCode":"String","tradeItemDataOwner":"String","butterFatReference":"String","transactionalItemData":[{"availableForSaleDate":"0001-01-01","batchNumber":"String","bestBeforeDate":"0001-01-01","countryOfOrigin":"String","itemExpirationDate":"0001-01-01","lotNumber":"String","packagingDate":"0001-01-01","productionDate":"0001-01-01","productQualityIndication":"String","sellByDate":"0001-01-01","serialNumber":["String"],"shelfLife":"String","tradeItemQuantity":0,"itemInContactWithFoodProduct":false,"transactionalItemWeight":[{"measurementUnitCode":"String","measurementType":"String","measurementValue":"String"}],"transactionalItemVolume":[{"measurementUnitCode":"String","measurementType":"String","measurementValue":"String"}],"serialNumberRange":[{"maximumValue":"String","minimumValue":"String"}],"transactionalItemDimensions":[{"measurementUnitCode":"String","depth":"String","height":"String","width":"String"}],"transactionalItemLogisticUnitInformation":{"numberOfLayers":0,"numberOfUnitsPerLayer":0,"numberOfUnitsPerPallet":0,"packagingTerms":"String","packageTypeCode":"String","maximumStackingFactor":0,"returnablePackageTransportCostPayment":"String","dimensionsOfLogisticUnit":[{"measurementUnitCode":"String","depth":"String","height":"String","width":"String"}]},"transactionalItemDataCarrierAndIdentification":{"gs1TransactionalItemIdentificationKey":"String","dataCarrier":"String"},"tradeItemWaste":[{"wasteIdentification":"String","typeOfWaste":[{"code":"String","value":"String"}]}],"transactionalItemOrganicInformation":{"isTradeItemOrganic":false,"organicCertification":"String"},"avpList":[{"code":"String","value":"String"}]}],"colour":[{"colourCode":"String","colourDescription":"String"}],"size":{"descriptiveSize":"String","sizeCode":"String"},"tradeItemClassification":{"gpcCategoryCode":"String","additionalTradeItemClassificationCode":[{"code":"String","value":"String"}],"gpcCategoryName":"String","gpcAttribute":[{"code":"String","value":"String"}]},"avpList":[{"code":"String","value":"String"}]},"leviedDutyFeeTax":{"dutyFeeTaxAmount":0,"dutyFeeTaxBasisAmount":0,"dutyFeeTaxDescription":"String","dutyFeeTaxPercentage":0},"avpList":[{"code":"String","value":"String"}],"effectivePeriod":{"beginDate":"0001-01-01","beginTime":"PT0S","endDate":"0001-01-01","endTime":"PT0S"},"materialSpecification":{"creationDateTime":"0001-01-01","revisionNumber":0,"lineItemNumber":0,"entityIdentification":"String"},"purchaseConditionsQuantityRange":{"maximumQuantity":{"value":0,"measurementUnitCode":"String","codeListVersion":"String"},"minimumQuantity":{"value":0,"measurementUnitCode":"String","codeListVersion":"String"}}}],"shipFrom":{"contact":[{"contactTypeCode":"String","personName":"String","departmentName":"String","jobTitle":"String","responsibility":"String","communicationChannel":[{"communicationChannelCode":"String","communicationChannelName":"String","communicationValue":"String"}]}],"address":{"streetAddressOne":"String","streetAddressTwo":"String","streetAddressThree":"String","city":"String","postalCode":"String","provinceCode":"String","countryCode":"String"},"communicationChannel":[{"code":"String","value":"String"}],"financialInstitutionInformation":{"financialInstitutionBranchName":"String","financialInstitutionName":"String","financialRoutingNumber":{"number":"String","numberTypeCode":"String"},"financialAccount":{"number":"String","numberTypeCode":"String","name":"String"},"swiftCode":"String","exportersCode":"String"},"dutyFeeTaxRegistration":"String","entityIdentification":"String","gln":"String","name":"String","additionalPartyIdentification":[{"code":"String","value":"String"}]},"shipTo":{"contact":[{"contactTypeCode":"String","personName":"String","departmentName":"String","jobTitle":"String","responsibility":"String","communicationChannel":[{"communicationChannelCode":"String","communicationChannelName":"String","communicationValue":"String"}]}],"address":{"streetAddressOne":"String","streetAddressTwo":"String","streetAddressThree":"String","city":"String","postalCode":"String","provinceCode":"String","countryCode":"String"},"communicationChannel":[{"code":"String","value":"String"}],"financialInstitutionInformation":{"financialInstitutionBranchName":"String","financialInstitutionName":"String","financialRoutingNumber":{"number":"String","numberTypeCode":"String"},"financialAccount":{"number":"String","numberTypeCode":"String","name":"String"},"swiftCode":"String","exportersCode":"String"},"dutyFeeTaxRegistration":"String","entityIdentification":"String","gln":"String","name":"String","additionalPartyIdentification":[{"code":"String","value":"String"}]}}],"currencyExchangeRateInformation":{"currencyConversionFromCode":"String","currencyConversionToCode":"String","exchangeRate":0,"exchangeRateDateTime":"0001-01-01"},"buyer":{"contact":[{"contactTypeCode":"String","personName":"String","departmentName":"String","jobTitle":"String","responsibility":"String","communicationChannel":[{"communicationChannelCode":"String","communicationChannelName":"String","communicationValue":"String"}]}],"address":{"streetAddressOne":"String","streetAddressTwo":"String","streetAddressThree":"String","city":"String","postalCode":"String","provinceCode":"String","countryCode":"String"},"communicationChannel":[{"code":"String","value":"String"}],"financialInstitutionInformation":{"financialInstitutionBranchName":"String","financialInstitutionName":"String","financialRoutingNumber":{"number":"String","numberTypeCode":"String"},"financialAccount":{"number":"String","numberTypeCode":"String","name":"String"},"swiftCode":"String","exportersCode":"String"},"dutyFeeTaxRegistration":"String","entityIdentification":"String","gln":"String","name":"String","additionalPartyIdentification":[{"code":"String","value":"String"}]},"payee":{"contact":[{"contactTypeCode":"String","personName":"String","departmentName":"String","jobTitle":"String","responsibility":"String","communicationChannel":[{"communicationChannelCode":"String","communicationChannelName":"String","communicationValue":"String"}]}],"address":{"streetAddressOne":"String","streetAddressTwo":"String","streetAddressThree":"String","city":"String","postalCode":"String","provinceCode":"String","countryCode":"String"},"communicationChannel":[{"code":"String","value":"String"}],"financialInstitutionInformation":{"financialInstitutionBranchName":"String","financialInstitutionName":"String","financialRoutingNumber":{"number":"String","numberTypeCode":"String"},"financialAccount":{"number":"String","numberTypeCode":"String","name":"String"},"swiftCode":"String","exportersCode":"String"},"dutyFeeTaxRegistration":"String","entityIdentification":"String","gln":"String","name":"String","additionalPartyIdentification":[{"code":"String","value":"String"}]},"payer":{"contact":[{"contactTypeCode":"String","personName":"String","departmentName":"String","jobTitle":"String","responsibility":"String","communicationChannel":[{"communicationChannelCode":"String","communicationChannelName":"String","communicationValue":"String"}]}],"address":{"streetAddressOne":"String","streetAddressTwo":"String","streetAddressThree":"String","city":"String","postalCode":"String","provinceCode":"String","countryCode":"String"},"communicationChannel":[{"code":"String","value":"String"}],"financialInstitutionInformation":{"financialInstitutionBranchName":"String","financialInstitutionName":"String","financialRoutingNumber":{"number":"String","numberTypeCode":"String"},"financialAccount":{"number":"String","numberTypeCode":"String","name":"String"},"swiftCode":"String","exportersCode":"String"},"dutyFeeTaxRegistration":"String","entityIdentification":"String","gln":"String","name":"String","additionalPartyIdentification":[{"code":"String","value":"String"}]},"purchaseConditionsIdentification":"String","remitTo":{"contact":[{"contactTypeCode":"String","personName":"String","departmentName":"String","jobTitle":"String","responsibility":"String","communicationChannel":[{"communicationChannelCode":"String","communicationChannelName":"String","communicationValue":"String"}]}],"address":{"streetAddressOne":"String","streetAddressTwo":"String","streetAddressThree":"String","city":"String","postalCode":"String","provinceCode":"String","countryCode":"String"},"communicationChannel":[{"code":"String","value":"String"}],"financialInstitutionInformation":{"financialInstitutionBranchName":"String","financialInstitutionName":"String","financialRoutingNumber":{"number":"String","numberTypeCode":"String"},"financialAccount":{"number":"String","numberTypeCode":"String","name":"String"},"swiftCode":"String","exportersCode":"String"},"dutyFeeTaxRegistration":"String","entityIdentification":"String","gln":"String","name":"String","additionalPartyIdentification":[{"code":"String","value":"String"}]},"seller":{"contact":[{"contactTypeCode":"String","personName":"String","departmentName":"String","jobTitle":"String","responsibility":"String","communicationChannel":[{"communicationChannelCode":"String","communicationChannelName":"String","communicationValue":"String"}]}],"address":{"streetAddressOne":"String","streetAddressTwo":"String","streetAddressThree":"String","city":"String","postalCode":"String","provinceCode":"String","countryCode":"String"},"communicationChannel":[{"code":"String","value":"String"}],"financialInstitutionInformation":{"financialInstitutionBranchName":"String","financialInstitutionName":"String","financialRoutingNumber":{"number":"String","numberTypeCode":"String"},"financialAccount":{"number":"String","numberTypeCode":"String","name":"String"},"swiftCode":"String","exportersCode":"String"},"dutyFeeTaxRegistration":"String","entityIdentification":"String","gln":"String","name":"String","additionalPartyIdentification":[{"code":"String","value":"String"}]},"taxRepresentative":{"contact":[{"contactTypeCode":"String","personName":"String","departmentName":"String","jobTitle":"String","responsibility":"String","communicationChannel":[{"communicationChannelCode":"String","communicationChannelName":"String","communicationValue":"String"}]}],"address":{"streetAddressOne":"String","streetAddressTwo":"String","streetAddressThree":"String","city":"String","postalCode":"String","provinceCode":"String","countryCode":"String"},"communicationChannel":[{"code":"String","value":"String"}],"financialInstitutionInformation":{"financialInstitutionBranchName":"String","financialInstitutionName":"String","financialRoutingNumber":{"number":"String","numberTypeCode":"String"},"financialAccount":{"number":"String","numberTypeCode":"String","name":"String"},"swiftCode":"String","exportersCode":"String"},"dutyFeeTaxRegistration":"String","entityIdentification":"String","gln":"String","name":"String","additionalPartyIdentification":[{"code":"String","value":"String"}]},"currencyCode":"String","documentActionCode":"ADD","documentStatusCode":"ADDITIONAL_TRANSMISSION","documentStructureVersion":"String","lastUpdateDateTime":"0001-01-01","revisionNumber":0,"avpList":[{"code":"String","value":"String"}]}}