/* Options: Date: 2026-02-14 10:03:46 Version: 10.04 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://stf-api-uat.data-xchange.co.za //Package: //GlobalNamespace: dtos //AddPropertyAccessors: True //SettersReturnThis: True //AddServiceStackTypes: True //AddResponseStatus: False //AddDescriptionAsComments: True //AddImplicitVersion: IncludeTypes: GetPurchaseCondition.* //ExcludeTypes: //TreatTypesAsStrings: //DefaultImports: java.math.*,java.util.*,java.io.InputStream,net.servicestack.client.*,com.google.gson.annotations.*,com.google.gson.reflect.* */ 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 */ @Route(Path="/purchaseCondition", Verbs="GET") @Api(Description="Purchase Conditions") @ApiResponse(Description="Purchase Condition message", IsDefaultResponse=true, StatusCode=200) // @ApiResponse(Description="No Content", ResponseType=IReturnVoid.class, StatusCode=204) public static class GetPurchaseCondition implements IReturn> { private static Object responseType = new TypeToken>(){}.getType(); public Object getResponseType() { return responseType; } } public static class ResultItem implements IDocument { public UUID token = null; public PurchaseConditionsMessage item = null; public UUID getToken() { return token; } public ResultItem setToken(UUID value) { this.token = value; return this; } public PurchaseConditionsMessage getItem() { return item; } public ResultItem setItem(PurchaseConditionsMessage value) { this.item = value; return this; } } public static interface IDocument implements IHaveToken { } public static interface IHaveToken { public UUID token = null; } @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; } } public static class TransactionalParty extends Ecom_PartyIdentificationType { public ArrayList contact = new ArrayList(); public Address address = null; public ArrayList communicationChannel = new ArrayList(); public FinancialInstitutionInformation financialInstitutionInformation = null; public String dutyFeeTaxRegistration = null; public String entityIdentification = null; public ArrayList getContact() { return contact; } public TransactionalParty setContact(ArrayList value) { this.contact = value; return this; } public Address getAddress() { return address; } public TransactionalParty setAddress(Address value) { this.address = value; return this; } public ArrayList getCommunicationChannel() { return communicationChannel; } public TransactionalParty setCommunicationChannel(ArrayList 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 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 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 = new ArrayList(); 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 getAvpList() { return avpList; } public BaseDocument setAvpList(ArrayList value) { this.avpList = value; return this; } } public static class PurchaseConditions extends BaseDocument { public String purchaseConditionsCurrencyCode = null; public ArrayList purchaseConditionsLocationInformation = new ArrayList(); 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 getPurchaseConditionsLocationInformation() { return purchaseConditionsLocationInformation; } public PurchaseConditions setPurchaseConditionsLocationInformation(ArrayList 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; } } @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 = new ArrayList(); public Identifier getIdentifier() { return identifier; } public Partner setIdentifier(Identifier value) { this.identifier = value; return this; } public ArrayList getContactInformation() { return contactInformation; } public Partner setContactInformation(ArrayList value) { this.contactInformation = 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 Contact { public String contactTypeCode = null; public String personName = null; public String departmentName = null; public String jobTitle = null; public String responsibility = null; public ArrayList communicationChannel = new ArrayList(); 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 getCommunicationChannel() { return communicationChannel; } public Contact setCommunicationChannel(ArrayList value) { this.communicationChannel = 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 Ecom_PartyIdentificationType { public String gln = null; public String name = null; public ArrayList additionalPartyIdentification = new ArrayList(); 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 getAdditionalPartyIdentification() { return additionalPartyIdentification; } public Ecom_PartyIdentificationType setAdditionalPartyIdentification(ArrayList value) { this.additionalPartyIdentification = value; return this; } } public static class PurchaseConditionsLocationInformation { public ArrayList purchaseConditionsLineItem = new ArrayList(); public TransactionalParty shipFrom = null; public TransactionalParty shipTo = null; public ArrayList getPurchaseConditionsLineItem() { return purchaseConditionsLineItem; } public PurchaseConditionsLocationInformation setPurchaseConditionsLineItem(ArrayList 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 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; } } 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; } } @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 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 TransactionalTradeItem { public String gtin = null; public ArrayList additionalTradeItemIdentification = new ArrayList(); 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 = new ArrayList(); public ArrayList colour = new ArrayList(); public Size size = null; public TradeItemClassification tradeItemClassification = null; public ArrayList avpList = new ArrayList(); public String getGtin() { return gtin; } public TransactionalTradeItem setGtin(String value) { this.gtin = value; return this; } public ArrayList getAdditionalTradeItemIdentification() { return additionalTradeItemIdentification; } public TransactionalTradeItem setAdditionalTradeItemIdentification(ArrayList 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 getTransactionalItemData() { return transactionalItemData; } public TransactionalTradeItem setTransactionalItemData(ArrayList value) { this.transactionalItemData = value; return this; } public ArrayList getColour() { return colour; } public TransactionalTradeItem setColour(ArrayList 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 getAvpList() { return avpList; } public TransactionalTradeItem setAvpList(ArrayList value) { this.avpList = 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 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 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 PurchaseConditionsLineItem { public BigDecimal discrepancyTolerancePercentage = null; public Long lineItemNumber = null; public String packagingTypeCode = null; public Long parentLineItemNumber = null; public Quantity purchaseConditionsQuantity = null; public ArrayList purchaseConditionsCommitmentPeriod = new ArrayList(); public ArrayList purchaseConditionsPriceInformation = new ArrayList(); public ArrayList allowanceCharge = new ArrayList(); public TransactionalTradeItem transactionalTradeItem = null; public LeviedDutyFeeTax leviedDutyFeeTax = null; public ArrayList avpList = new ArrayList(); 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 getPurchaseConditionsCommitmentPeriod() { return purchaseConditionsCommitmentPeriod; } public PurchaseConditionsLineItem setPurchaseConditionsCommitmentPeriod(ArrayList value) { this.purchaseConditionsCommitmentPeriod = value; return this; } public ArrayList getPurchaseConditionsPriceInformation() { return purchaseConditionsPriceInformation; } public PurchaseConditionsLineItem setPurchaseConditionsPriceInformation(ArrayList value) { this.purchaseConditionsPriceInformation = value; return this; } public ArrayList getAllowanceCharge() { return allowanceCharge; } public PurchaseConditionsLineItem setAllowanceCharge(ArrayList 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 getAvpList() { return avpList; } public PurchaseConditionsLineItem setAvpList(ArrayList 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 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 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 serialNumber = new ArrayList(); public String shelfLife = null; public Long tradeItemQuantity = null; public Boolean itemInContactWithFoodProduct = null; public ArrayList transactionalItemWeight = new ArrayList(); public ArrayList transactionalItemVolume = new ArrayList(); public ArrayList serialNumberRange = new ArrayList(); public ArrayList transactionalItemDimensions = new ArrayList(); public TransactionalItemLogisticUnitInformation transactionalItemLogisticUnitInformation = null; public TransactionalItemDataCarrierAndIdentification transactionalItemDataCarrierAndIdentification = null; public ArrayList tradeItemWaste = new ArrayList(); public TransactionalItemOrganicInformation transactionalItemOrganicInformation = null; public ArrayList avpList = new ArrayList(); 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 getSerialNumber() { return serialNumber; } public TransactionalItemData setSerialNumber(ArrayList 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 getTransactionalItemWeight() { return transactionalItemWeight; } public TransactionalItemData setTransactionalItemWeight(ArrayList value) { this.transactionalItemWeight = value; return this; } public ArrayList getTransactionalItemVolume() { return transactionalItemVolume; } public TransactionalItemData setTransactionalItemVolume(ArrayList value) { this.transactionalItemVolume = value; return this; } public ArrayList getSerialNumberRange() { return serialNumberRange; } public TransactionalItemData setSerialNumberRange(ArrayList value) { this.serialNumberRange = value; return this; } public ArrayList getTransactionalItemDimensions() { return transactionalItemDimensions; } public TransactionalItemData setTransactionalItemDimensions(ArrayList 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 getTradeItemWaste() { return tradeItemWaste; } public TransactionalItemData setTradeItemWaste(ArrayList value) { this.tradeItemWaste = value; return this; } public TransactionalItemOrganicInformation getTransactionalItemOrganicInformation() { return transactionalItemOrganicInformation; } public TransactionalItemData setTransactionalItemOrganicInformation(TransactionalItemOrganicInformation value) { this.transactionalItemOrganicInformation = value; return this; } public ArrayList getAvpList() { return avpList; } public TransactionalItemData setAvpList(ArrayList value) { this.avpList = 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 additionalTradeItemClassificationCode = new ArrayList(); public String gpcCategoryName = null; public ArrayList gpcAttribute = new ArrayList(); public String getGpcCategoryCode() { return gpcCategoryCode; } public TradeItemClassification setGpcCategoryCode(String value) { this.gpcCategoryCode = value; return this; } public ArrayList getAdditionalTradeItemClassificationCode() { return additionalTradeItemClassificationCode; } public TradeItemClassification setAdditionalTradeItemClassificationCode(ArrayList value) { this.additionalTradeItemClassificationCode = value; return this; } public String getGpcCategoryName() { return gpcCategoryName; } public TradeItemClassification setGpcCategoryName(String value) { this.gpcCategoryName = value; return this; } public ArrayList getGpcAttribute() { return gpcAttribute; } public TradeItemClassification setGpcAttribute(ArrayList value) { this.gpcAttribute = 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 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 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 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 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 dimensionsOfLogisticUnit = new ArrayList(); 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 getDimensionsOfLogisticUnit() { return dimensionsOfLogisticUnit; } public TransactionalItemLogisticUnitInformation setDimensionsOfLogisticUnit(ArrayList 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 typeOfWaste = new ArrayList(); public String getWasteIdentification() { return wasteIdentification; } public TradeItemWaste setWasteIdentification(String value) { this.wasteIdentification = value; return this; } public ArrayList getTypeOfWaste() { return typeOfWaste; } public TradeItemWaste setTypeOfWaste(ArrayList 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 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; } } }