oasis.names.specification.ubl.schema.xsd.commonaggregatecomponents_2.CreditNoteLineType Maven / Gradle / Ivy
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.11
// See http://java.sun.com/xml/jaxb
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2016.07.19 at 05:08:29 PM CEST
//
package oasis.names.specification.ubl.schema.xsd.commonaggregatecomponents_2;
import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlType;
import oasis.names.specification.ubl.schema.xsd.commonbasiccomponents_2.AccountingCostCodeType;
import oasis.names.specification.ubl.schema.xsd.commonbasiccomponents_2.AccountingCostType;
import oasis.names.specification.ubl.schema.xsd.commonbasiccomponents_2.CreditedQuantityType;
import oasis.names.specification.ubl.schema.xsd.commonbasiccomponents_2.FreeOfChargeIndicatorType;
import oasis.names.specification.ubl.schema.xsd.commonbasiccomponents_2.IDType;
import oasis.names.specification.ubl.schema.xsd.commonbasiccomponents_2.LineExtensionAmountType;
import oasis.names.specification.ubl.schema.xsd.commonbasiccomponents_2.NoteType;
import oasis.names.specification.ubl.schema.xsd.commonbasiccomponents_2.PaymentPurposeCodeType;
import oasis.names.specification.ubl.schema.xsd.commonbasiccomponents_2.TaxPointDateType;
import oasis.names.specification.ubl.schema.xsd.commonbasiccomponents_2.UUIDType;
import org.jvnet.jaxb2_commons.lang.Equals;
import org.jvnet.jaxb2_commons.lang.EqualsStrategy;
import org.jvnet.jaxb2_commons.lang.HashCode;
import org.jvnet.jaxb2_commons.lang.HashCodeStrategy;
import org.jvnet.jaxb2_commons.lang.JAXBEqualsStrategy;
import org.jvnet.jaxb2_commons.lang.JAXBHashCodeStrategy;
import org.jvnet.jaxb2_commons.lang.JAXBToStringStrategy;
import org.jvnet.jaxb2_commons.lang.ToString;
import org.jvnet.jaxb2_commons.lang.ToStringStrategy;
import org.jvnet.jaxb2_commons.locator.ObjectLocator;
import org.jvnet.jaxb2_commons.locator.util.LocatorUtils;
/**
* Java class for CreditNoteLineType complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="CreditNoteLineType">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}ID"/>
* <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}UUID" minOccurs="0"/>
* <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}Note" maxOccurs="unbounded" minOccurs="0"/>
* <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}CreditedQuantity" minOccurs="0"/>
* <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}LineExtensionAmount" minOccurs="0"/>
* <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}TaxPointDate" minOccurs="0"/>
* <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}AccountingCostCode" minOccurs="0"/>
* <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}AccountingCost" minOccurs="0"/>
* <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}PaymentPurposeCode" minOccurs="0"/>
* <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}FreeOfChargeIndicator" minOccurs="0"/>
* <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2}InvoicePeriod" maxOccurs="unbounded" minOccurs="0"/>
* <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2}OrderLineReference" maxOccurs="unbounded" minOccurs="0"/>
* <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2}DiscrepancyResponse" maxOccurs="unbounded" minOccurs="0"/>
* <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2}DespatchLineReference" maxOccurs="unbounded" minOccurs="0"/>
* <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2}ReceiptLineReference" maxOccurs="unbounded" minOccurs="0"/>
* <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2}BillingReference" maxOccurs="unbounded" minOccurs="0"/>
* <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2}DocumentReference" maxOccurs="unbounded" minOccurs="0"/>
* <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2}PricingReference" minOccurs="0"/>
* <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2}OriginatorParty" minOccurs="0"/>
* <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2}Delivery" maxOccurs="unbounded" minOccurs="0"/>
* <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2}PaymentTerms" maxOccurs="unbounded" minOccurs="0"/>
* <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2}TaxTotal" maxOccurs="unbounded" minOccurs="0"/>
* <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2}AllowanceCharge" maxOccurs="unbounded" minOccurs="0"/>
* <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2}Item" minOccurs="0"/>
* <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2}Price" minOccurs="0"/>
* <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2}DeliveryTerms" maxOccurs="unbounded" minOccurs="0"/>
* <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2}SubCreditNoteLine" maxOccurs="unbounded" minOccurs="0"/>
* <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2}ItemPriceExtension" minOccurs="0"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "CreditNoteLineType", propOrder = {
"id",
"uuid",
"note",
"creditedQuantity",
"lineExtensionAmount",
"taxPointDate",
"accountingCostCode",
"accountingCost",
"paymentPurposeCode",
"freeOfChargeIndicator",
"invoicePeriod",
"orderLineReference",
"discrepancyResponse",
"despatchLineReference",
"receiptLineReference",
"billingReference",
"documentReference",
"pricingReference",
"originatorParty",
"delivery",
"paymentTerms",
"taxTotal",
"allowanceCharge",
"item",
"price",
"deliveryTerms",
"subCreditNoteLine",
"itemPriceExtension"
})
public class CreditNoteLineType
implements Serializable, Equals, HashCode, ToString
{
private final static long serialVersionUID = 100L;
@XmlElement(name = "ID", namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", required = true)
protected IDType id;
@XmlElement(name = "UUID", namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2")
protected UUIDType uuid;
@XmlElement(name = "Note", namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2")
protected List note;
@XmlElement(name = "CreditedQuantity", namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2")
protected CreditedQuantityType creditedQuantity;
@XmlElement(name = "LineExtensionAmount", namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2")
protected LineExtensionAmountType lineExtensionAmount;
@XmlElement(name = "TaxPointDate", namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2")
protected TaxPointDateType taxPointDate;
@XmlElement(name = "AccountingCostCode", namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2")
protected AccountingCostCodeType accountingCostCode;
@XmlElement(name = "AccountingCost", namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2")
protected AccountingCostType accountingCost;
@XmlElement(name = "PaymentPurposeCode", namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2")
protected PaymentPurposeCodeType paymentPurposeCode;
@XmlElement(name = "FreeOfChargeIndicator", namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2")
protected FreeOfChargeIndicatorType freeOfChargeIndicator;
@XmlElement(name = "InvoicePeriod")
protected List invoicePeriod;
@XmlElement(name = "OrderLineReference")
protected List orderLineReference;
@XmlElement(name = "DiscrepancyResponse")
protected List discrepancyResponse;
@XmlElement(name = "DespatchLineReference")
protected List despatchLineReference;
@XmlElement(name = "ReceiptLineReference")
protected List receiptLineReference;
@XmlElement(name = "BillingReference")
protected List billingReference;
@XmlElement(name = "DocumentReference")
protected List documentReference;
@XmlElement(name = "PricingReference")
protected PricingReferenceType pricingReference;
@XmlElement(name = "OriginatorParty")
protected PartyType originatorParty;
@XmlElement(name = "Delivery")
protected List delivery;
@XmlElement(name = "PaymentTerms")
protected List paymentTerms;
@XmlElement(name = "TaxTotal")
protected List taxTotal;
@XmlElement(name = "AllowanceCharge")
protected List allowanceCharge;
@XmlElement(name = "Item")
protected ItemType item;
@XmlElement(name = "Price")
protected PriceType price;
@XmlElement(name = "DeliveryTerms")
protected List deliveryTerms;
@XmlElement(name = "SubCreditNoteLine")
protected List subCreditNoteLine;
@XmlElement(name = "ItemPriceExtension")
protected PriceExtensionType itemPriceExtension;
/**
* Gets the value of the id property.
*
* @return
* possible object is
* {@link IDType }
*
*/
public IDType getID() {
return id;
}
/**
* Sets the value of the id property.
*
* @param value
* allowed object is
* {@link IDType }
*
*/
public void setID(IDType value) {
this.id = value;
}
/**
* Gets the value of the uuid property.
*
* @return
* possible object is
* {@link UUIDType }
*
*/
public UUIDType getUUID() {
return uuid;
}
/**
* Sets the value of the uuid property.
*
* @param value
* allowed object is
* {@link UUIDType }
*
*/
public void setUUID(UUIDType value) {
this.uuid = value;
}
/**
* Gets the value of the note property.
*
*
* This accessor method returns a reference to the live list,
* not a snapshot. Therefore any modification you make to the
* returned list will be present inside the JAXB object.
* This is why there is not a set
method for the note property.
*
*
* For example, to add a new item, do as follows:
*
* getNote().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link NoteType }
*
*
*/
public List getNote() {
if (note == null) {
note = new ArrayList();
}
return this.note;
}
/**
* Gets the value of the creditedQuantity property.
*
* @return
* possible object is
* {@link CreditedQuantityType }
*
*/
public CreditedQuantityType getCreditedQuantity() {
return creditedQuantity;
}
/**
* Sets the value of the creditedQuantity property.
*
* @param value
* allowed object is
* {@link CreditedQuantityType }
*
*/
public void setCreditedQuantity(CreditedQuantityType value) {
this.creditedQuantity = value;
}
/**
* Gets the value of the lineExtensionAmount property.
*
* @return
* possible object is
* {@link LineExtensionAmountType }
*
*/
public LineExtensionAmountType getLineExtensionAmount() {
return lineExtensionAmount;
}
/**
* Sets the value of the lineExtensionAmount property.
*
* @param value
* allowed object is
* {@link LineExtensionAmountType }
*
*/
public void setLineExtensionAmount(LineExtensionAmountType value) {
this.lineExtensionAmount = value;
}
/**
* Gets the value of the taxPointDate property.
*
* @return
* possible object is
* {@link TaxPointDateType }
*
*/
public TaxPointDateType getTaxPointDate() {
return taxPointDate;
}
/**
* Sets the value of the taxPointDate property.
*
* @param value
* allowed object is
* {@link TaxPointDateType }
*
*/
public void setTaxPointDate(TaxPointDateType value) {
this.taxPointDate = value;
}
/**
* Gets the value of the accountingCostCode property.
*
* @return
* possible object is
* {@link AccountingCostCodeType }
*
*/
public AccountingCostCodeType getAccountingCostCode() {
return accountingCostCode;
}
/**
* Sets the value of the accountingCostCode property.
*
* @param value
* allowed object is
* {@link AccountingCostCodeType }
*
*/
public void setAccountingCostCode(AccountingCostCodeType value) {
this.accountingCostCode = value;
}
/**
* Gets the value of the accountingCost property.
*
* @return
* possible object is
* {@link AccountingCostType }
*
*/
public AccountingCostType getAccountingCost() {
return accountingCost;
}
/**
* Sets the value of the accountingCost property.
*
* @param value
* allowed object is
* {@link AccountingCostType }
*
*/
public void setAccountingCost(AccountingCostType value) {
this.accountingCost = value;
}
/**
* Gets the value of the paymentPurposeCode property.
*
* @return
* possible object is
* {@link PaymentPurposeCodeType }
*
*/
public PaymentPurposeCodeType getPaymentPurposeCode() {
return paymentPurposeCode;
}
/**
* Sets the value of the paymentPurposeCode property.
*
* @param value
* allowed object is
* {@link PaymentPurposeCodeType }
*
*/
public void setPaymentPurposeCode(PaymentPurposeCodeType value) {
this.paymentPurposeCode = value;
}
/**
* Gets the value of the freeOfChargeIndicator property.
*
* @return
* possible object is
* {@link FreeOfChargeIndicatorType }
*
*/
public FreeOfChargeIndicatorType getFreeOfChargeIndicator() {
return freeOfChargeIndicator;
}
/**
* Sets the value of the freeOfChargeIndicator property.
*
* @param value
* allowed object is
* {@link FreeOfChargeIndicatorType }
*
*/
public void setFreeOfChargeIndicator(FreeOfChargeIndicatorType value) {
this.freeOfChargeIndicator = value;
}
/**
* Gets the value of the invoicePeriod property.
*
*
* This accessor method returns a reference to the live list,
* not a snapshot. Therefore any modification you make to the
* returned list will be present inside the JAXB object.
* This is why there is not a set
method for the invoicePeriod property.
*
*
* For example, to add a new item, do as follows:
*
* getInvoicePeriod().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link PeriodType }
*
*
*/
public List getInvoicePeriod() {
if (invoicePeriod == null) {
invoicePeriod = new ArrayList();
}
return this.invoicePeriod;
}
/**
* Gets the value of the orderLineReference property.
*
*
* This accessor method returns a reference to the live list,
* not a snapshot. Therefore any modification you make to the
* returned list will be present inside the JAXB object.
* This is why there is not a set
method for the orderLineReference property.
*
*
* For example, to add a new item, do as follows:
*
* getOrderLineReference().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link OrderLineReferenceType }
*
*
*/
public List getOrderLineReference() {
if (orderLineReference == null) {
orderLineReference = new ArrayList();
}
return this.orderLineReference;
}
/**
* Gets the value of the discrepancyResponse property.
*
*
* This accessor method returns a reference to the live list,
* not a snapshot. Therefore any modification you make to the
* returned list will be present inside the JAXB object.
* This is why there is not a set
method for the discrepancyResponse property.
*
*
* For example, to add a new item, do as follows:
*
* getDiscrepancyResponse().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link ResponseType }
*
*
*/
public List getDiscrepancyResponse() {
if (discrepancyResponse == null) {
discrepancyResponse = new ArrayList();
}
return this.discrepancyResponse;
}
/**
* Gets the value of the despatchLineReference property.
*
*
* This accessor method returns a reference to the live list,
* not a snapshot. Therefore any modification you make to the
* returned list will be present inside the JAXB object.
* This is why there is not a set
method for the despatchLineReference property.
*
*
* For example, to add a new item, do as follows:
*
* getDespatchLineReference().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link LineReferenceType }
*
*
*/
public List getDespatchLineReference() {
if (despatchLineReference == null) {
despatchLineReference = new ArrayList();
}
return this.despatchLineReference;
}
/**
* Gets the value of the receiptLineReference property.
*
*
* This accessor method returns a reference to the live list,
* not a snapshot. Therefore any modification you make to the
* returned list will be present inside the JAXB object.
* This is why there is not a set
method for the receiptLineReference property.
*
*
* For example, to add a new item, do as follows:
*
* getReceiptLineReference().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link LineReferenceType }
*
*
*/
public List getReceiptLineReference() {
if (receiptLineReference == null) {
receiptLineReference = new ArrayList();
}
return this.receiptLineReference;
}
/**
* Gets the value of the billingReference property.
*
*
* This accessor method returns a reference to the live list,
* not a snapshot. Therefore any modification you make to the
* returned list will be present inside the JAXB object.
* This is why there is not a set
method for the billingReference property.
*
*
* For example, to add a new item, do as follows:
*
* getBillingReference().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link BillingReferenceType }
*
*
*/
public List getBillingReference() {
if (billingReference == null) {
billingReference = new ArrayList();
}
return this.billingReference;
}
/**
* Gets the value of the documentReference property.
*
*
* This accessor method returns a reference to the live list,
* not a snapshot. Therefore any modification you make to the
* returned list will be present inside the JAXB object.
* This is why there is not a set
method for the documentReference property.
*
*
* For example, to add a new item, do as follows:
*
* getDocumentReference().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link DocumentReferenceType }
*
*
*/
public List getDocumentReference() {
if (documentReference == null) {
documentReference = new ArrayList();
}
return this.documentReference;
}
/**
* Gets the value of the pricingReference property.
*
* @return
* possible object is
* {@link PricingReferenceType }
*
*/
public PricingReferenceType getPricingReference() {
return pricingReference;
}
/**
* Sets the value of the pricingReference property.
*
* @param value
* allowed object is
* {@link PricingReferenceType }
*
*/
public void setPricingReference(PricingReferenceType value) {
this.pricingReference = value;
}
/**
* Gets the value of the originatorParty property.
*
* @return
* possible object is
* {@link PartyType }
*
*/
public PartyType getOriginatorParty() {
return originatorParty;
}
/**
* Sets the value of the originatorParty property.
*
* @param value
* allowed object is
* {@link PartyType }
*
*/
public void setOriginatorParty(PartyType value) {
this.originatorParty = value;
}
/**
* Gets the value of the delivery property.
*
*
* This accessor method returns a reference to the live list,
* not a snapshot. Therefore any modification you make to the
* returned list will be present inside the JAXB object.
* This is why there is not a set
method for the delivery property.
*
*
* For example, to add a new item, do as follows:
*
* getDelivery().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link DeliveryType }
*
*
*/
public List getDelivery() {
if (delivery == null) {
delivery = new ArrayList();
}
return this.delivery;
}
/**
* Gets the value of the paymentTerms property.
*
*
* This accessor method returns a reference to the live list,
* not a snapshot. Therefore any modification you make to the
* returned list will be present inside the JAXB object.
* This is why there is not a set
method for the paymentTerms property.
*
*
* For example, to add a new item, do as follows:
*
* getPaymentTerms().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link PaymentTermsType }
*
*
*/
public List getPaymentTerms() {
if (paymentTerms == null) {
paymentTerms = new ArrayList();
}
return this.paymentTerms;
}
/**
* Gets the value of the taxTotal property.
*
*
* This accessor method returns a reference to the live list,
* not a snapshot. Therefore any modification you make to the
* returned list will be present inside the JAXB object.
* This is why there is not a set
method for the taxTotal property.
*
*
* For example, to add a new item, do as follows:
*
* getTaxTotal().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link TaxTotalType }
*
*
*/
public List getTaxTotal() {
if (taxTotal == null) {
taxTotal = new ArrayList();
}
return this.taxTotal;
}
/**
* Gets the value of the allowanceCharge property.
*
*
* This accessor method returns a reference to the live list,
* not a snapshot. Therefore any modification you make to the
* returned list will be present inside the JAXB object.
* This is why there is not a set
method for the allowanceCharge property.
*
*
* For example, to add a new item, do as follows:
*
* getAllowanceCharge().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link AllowanceChargeType }
*
*
*/
public List getAllowanceCharge() {
if (allowanceCharge == null) {
allowanceCharge = new ArrayList();
}
return this.allowanceCharge;
}
/**
* Gets the value of the item property.
*
* @return
* possible object is
* {@link ItemType }
*
*/
public ItemType getItem() {
return item;
}
/**
* Sets the value of the item property.
*
* @param value
* allowed object is
* {@link ItemType }
*
*/
public void setItem(ItemType value) {
this.item = value;
}
/**
* Gets the value of the price property.
*
* @return
* possible object is
* {@link PriceType }
*
*/
public PriceType getPrice() {
return price;
}
/**
* Sets the value of the price property.
*
* @param value
* allowed object is
* {@link PriceType }
*
*/
public void setPrice(PriceType value) {
this.price = value;
}
/**
* Gets the value of the deliveryTerms property.
*
*
* This accessor method returns a reference to the live list,
* not a snapshot. Therefore any modification you make to the
* returned list will be present inside the JAXB object.
* This is why there is not a set
method for the deliveryTerms property.
*
*
* For example, to add a new item, do as follows:
*
* getDeliveryTerms().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link DeliveryTermsType }
*
*
*/
public List getDeliveryTerms() {
if (deliveryTerms == null) {
deliveryTerms = new ArrayList();
}
return this.deliveryTerms;
}
/**
* Gets the value of the subCreditNoteLine property.
*
*
* This accessor method returns a reference to the live list,
* not a snapshot. Therefore any modification you make to the
* returned list will be present inside the JAXB object.
* This is why there is not a set
method for the subCreditNoteLine property.
*
*
* For example, to add a new item, do as follows:
*
* getSubCreditNoteLine().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link CreditNoteLineType }
*
*
*/
public List getSubCreditNoteLine() {
if (subCreditNoteLine == null) {
subCreditNoteLine = new ArrayList();
}
return this.subCreditNoteLine;
}
/**
* Gets the value of the itemPriceExtension property.
*
* @return
* possible object is
* {@link PriceExtensionType }
*
*/
public PriceExtensionType getItemPriceExtension() {
return itemPriceExtension;
}
/**
* Sets the value of the itemPriceExtension property.
*
* @param value
* allowed object is
* {@link PriceExtensionType }
*
*/
public void setItemPriceExtension(PriceExtensionType value) {
this.itemPriceExtension = value;
}
public String toString() {
final ToStringStrategy strategy = JAXBToStringStrategy.INSTANCE;
final StringBuilder buffer = new StringBuilder();
append(null, buffer, strategy);
return buffer.toString();
}
public StringBuilder append(ObjectLocator locator, StringBuilder buffer, ToStringStrategy strategy) {
strategy.appendStart(locator, this, buffer);
appendFields(locator, buffer, strategy);
strategy.appendEnd(locator, this, buffer);
return buffer;
}
public StringBuilder appendFields(ObjectLocator locator, StringBuilder buffer, ToStringStrategy strategy) {
{
IDType theID;
theID = this.getID();
strategy.appendField(locator, this, "id", buffer, theID);
}
{
UUIDType theUUID;
theUUID = this.getUUID();
strategy.appendField(locator, this, "uuid", buffer, theUUID);
}
{
List theNote;
theNote = (((this.note!= null)&&(!this.note.isEmpty()))?this.getNote():null);
strategy.appendField(locator, this, "note", buffer, theNote);
}
{
CreditedQuantityType theCreditedQuantity;
theCreditedQuantity = this.getCreditedQuantity();
strategy.appendField(locator, this, "creditedQuantity", buffer, theCreditedQuantity);
}
{
LineExtensionAmountType theLineExtensionAmount;
theLineExtensionAmount = this.getLineExtensionAmount();
strategy.appendField(locator, this, "lineExtensionAmount", buffer, theLineExtensionAmount);
}
{
TaxPointDateType theTaxPointDate;
theTaxPointDate = this.getTaxPointDate();
strategy.appendField(locator, this, "taxPointDate", buffer, theTaxPointDate);
}
{
AccountingCostCodeType theAccountingCostCode;
theAccountingCostCode = this.getAccountingCostCode();
strategy.appendField(locator, this, "accountingCostCode", buffer, theAccountingCostCode);
}
{
AccountingCostType theAccountingCost;
theAccountingCost = this.getAccountingCost();
strategy.appendField(locator, this, "accountingCost", buffer, theAccountingCost);
}
{
PaymentPurposeCodeType thePaymentPurposeCode;
thePaymentPurposeCode = this.getPaymentPurposeCode();
strategy.appendField(locator, this, "paymentPurposeCode", buffer, thePaymentPurposeCode);
}
{
FreeOfChargeIndicatorType theFreeOfChargeIndicator;
theFreeOfChargeIndicator = this.getFreeOfChargeIndicator();
strategy.appendField(locator, this, "freeOfChargeIndicator", buffer, theFreeOfChargeIndicator);
}
{
List theInvoicePeriod;
theInvoicePeriod = (((this.invoicePeriod!= null)&&(!this.invoicePeriod.isEmpty()))?this.getInvoicePeriod():null);
strategy.appendField(locator, this, "invoicePeriod", buffer, theInvoicePeriod);
}
{
List theOrderLineReference;
theOrderLineReference = (((this.orderLineReference!= null)&&(!this.orderLineReference.isEmpty()))?this.getOrderLineReference():null);
strategy.appendField(locator, this, "orderLineReference", buffer, theOrderLineReference);
}
{
List theDiscrepancyResponse;
theDiscrepancyResponse = (((this.discrepancyResponse!= null)&&(!this.discrepancyResponse.isEmpty()))?this.getDiscrepancyResponse():null);
strategy.appendField(locator, this, "discrepancyResponse", buffer, theDiscrepancyResponse);
}
{
List theDespatchLineReference;
theDespatchLineReference = (((this.despatchLineReference!= null)&&(!this.despatchLineReference.isEmpty()))?this.getDespatchLineReference():null);
strategy.appendField(locator, this, "despatchLineReference", buffer, theDespatchLineReference);
}
{
List theReceiptLineReference;
theReceiptLineReference = (((this.receiptLineReference!= null)&&(!this.receiptLineReference.isEmpty()))?this.getReceiptLineReference():null);
strategy.appendField(locator, this, "receiptLineReference", buffer, theReceiptLineReference);
}
{
List theBillingReference;
theBillingReference = (((this.billingReference!= null)&&(!this.billingReference.isEmpty()))?this.getBillingReference():null);
strategy.appendField(locator, this, "billingReference", buffer, theBillingReference);
}
{
List theDocumentReference;
theDocumentReference = (((this.documentReference!= null)&&(!this.documentReference.isEmpty()))?this.getDocumentReference():null);
strategy.appendField(locator, this, "documentReference", buffer, theDocumentReference);
}
{
PricingReferenceType thePricingReference;
thePricingReference = this.getPricingReference();
strategy.appendField(locator, this, "pricingReference", buffer, thePricingReference);
}
{
PartyType theOriginatorParty;
theOriginatorParty = this.getOriginatorParty();
strategy.appendField(locator, this, "originatorParty", buffer, theOriginatorParty);
}
{
List theDelivery;
theDelivery = (((this.delivery!= null)&&(!this.delivery.isEmpty()))?this.getDelivery():null);
strategy.appendField(locator, this, "delivery", buffer, theDelivery);
}
{
List thePaymentTerms;
thePaymentTerms = (((this.paymentTerms!= null)&&(!this.paymentTerms.isEmpty()))?this.getPaymentTerms():null);
strategy.appendField(locator, this, "paymentTerms", buffer, thePaymentTerms);
}
{
List theTaxTotal;
theTaxTotal = (((this.taxTotal!= null)&&(!this.taxTotal.isEmpty()))?this.getTaxTotal():null);
strategy.appendField(locator, this, "taxTotal", buffer, theTaxTotal);
}
{
List theAllowanceCharge;
theAllowanceCharge = (((this.allowanceCharge!= null)&&(!this.allowanceCharge.isEmpty()))?this.getAllowanceCharge():null);
strategy.appendField(locator, this, "allowanceCharge", buffer, theAllowanceCharge);
}
{
ItemType theItem;
theItem = this.getItem();
strategy.appendField(locator, this, "item", buffer, theItem);
}
{
PriceType thePrice;
thePrice = this.getPrice();
strategy.appendField(locator, this, "price", buffer, thePrice);
}
{
List theDeliveryTerms;
theDeliveryTerms = (((this.deliveryTerms!= null)&&(!this.deliveryTerms.isEmpty()))?this.getDeliveryTerms():null);
strategy.appendField(locator, this, "deliveryTerms", buffer, theDeliveryTerms);
}
{
List theSubCreditNoteLine;
theSubCreditNoteLine = (((this.subCreditNoteLine!= null)&&(!this.subCreditNoteLine.isEmpty()))?this.getSubCreditNoteLine():null);
strategy.appendField(locator, this, "subCreditNoteLine", buffer, theSubCreditNoteLine);
}
{
PriceExtensionType theItemPriceExtension;
theItemPriceExtension = this.getItemPriceExtension();
strategy.appendField(locator, this, "itemPriceExtension", buffer, theItemPriceExtension);
}
return buffer;
}
public boolean equals(ObjectLocator thisLocator, ObjectLocator thatLocator, Object object, EqualsStrategy strategy) {
if (!(object instanceof CreditNoteLineType)) {
return false;
}
if (this == object) {
return true;
}
final CreditNoteLineType that = ((CreditNoteLineType) object);
{
IDType lhsID;
lhsID = this.getID();
IDType rhsID;
rhsID = that.getID();
if (!strategy.equals(LocatorUtils.property(thisLocator, "id", lhsID), LocatorUtils.property(thatLocator, "id", rhsID), lhsID, rhsID)) {
return false;
}
}
{
UUIDType lhsUUID;
lhsUUID = this.getUUID();
UUIDType rhsUUID;
rhsUUID = that.getUUID();
if (!strategy.equals(LocatorUtils.property(thisLocator, "uuid", lhsUUID), LocatorUtils.property(thatLocator, "uuid", rhsUUID), lhsUUID, rhsUUID)) {
return false;
}
}
{
List lhsNote;
lhsNote = (((this.note!= null)&&(!this.note.isEmpty()))?this.getNote():null);
List rhsNote;
rhsNote = (((that.note!= null)&&(!that.note.isEmpty()))?that.getNote():null);
if (!strategy.equals(LocatorUtils.property(thisLocator, "note", lhsNote), LocatorUtils.property(thatLocator, "note", rhsNote), lhsNote, rhsNote)) {
return false;
}
}
{
CreditedQuantityType lhsCreditedQuantity;
lhsCreditedQuantity = this.getCreditedQuantity();
CreditedQuantityType rhsCreditedQuantity;
rhsCreditedQuantity = that.getCreditedQuantity();
if (!strategy.equals(LocatorUtils.property(thisLocator, "creditedQuantity", lhsCreditedQuantity), LocatorUtils.property(thatLocator, "creditedQuantity", rhsCreditedQuantity), lhsCreditedQuantity, rhsCreditedQuantity)) {
return false;
}
}
{
LineExtensionAmountType lhsLineExtensionAmount;
lhsLineExtensionAmount = this.getLineExtensionAmount();
LineExtensionAmountType rhsLineExtensionAmount;
rhsLineExtensionAmount = that.getLineExtensionAmount();
if (!strategy.equals(LocatorUtils.property(thisLocator, "lineExtensionAmount", lhsLineExtensionAmount), LocatorUtils.property(thatLocator, "lineExtensionAmount", rhsLineExtensionAmount), lhsLineExtensionAmount, rhsLineExtensionAmount)) {
return false;
}
}
{
TaxPointDateType lhsTaxPointDate;
lhsTaxPointDate = this.getTaxPointDate();
TaxPointDateType rhsTaxPointDate;
rhsTaxPointDate = that.getTaxPointDate();
if (!strategy.equals(LocatorUtils.property(thisLocator, "taxPointDate", lhsTaxPointDate), LocatorUtils.property(thatLocator, "taxPointDate", rhsTaxPointDate), lhsTaxPointDate, rhsTaxPointDate)) {
return false;
}
}
{
AccountingCostCodeType lhsAccountingCostCode;
lhsAccountingCostCode = this.getAccountingCostCode();
AccountingCostCodeType rhsAccountingCostCode;
rhsAccountingCostCode = that.getAccountingCostCode();
if (!strategy.equals(LocatorUtils.property(thisLocator, "accountingCostCode", lhsAccountingCostCode), LocatorUtils.property(thatLocator, "accountingCostCode", rhsAccountingCostCode), lhsAccountingCostCode, rhsAccountingCostCode)) {
return false;
}
}
{
AccountingCostType lhsAccountingCost;
lhsAccountingCost = this.getAccountingCost();
AccountingCostType rhsAccountingCost;
rhsAccountingCost = that.getAccountingCost();
if (!strategy.equals(LocatorUtils.property(thisLocator, "accountingCost", lhsAccountingCost), LocatorUtils.property(thatLocator, "accountingCost", rhsAccountingCost), lhsAccountingCost, rhsAccountingCost)) {
return false;
}
}
{
PaymentPurposeCodeType lhsPaymentPurposeCode;
lhsPaymentPurposeCode = this.getPaymentPurposeCode();
PaymentPurposeCodeType rhsPaymentPurposeCode;
rhsPaymentPurposeCode = that.getPaymentPurposeCode();
if (!strategy.equals(LocatorUtils.property(thisLocator, "paymentPurposeCode", lhsPaymentPurposeCode), LocatorUtils.property(thatLocator, "paymentPurposeCode", rhsPaymentPurposeCode), lhsPaymentPurposeCode, rhsPaymentPurposeCode)) {
return false;
}
}
{
FreeOfChargeIndicatorType lhsFreeOfChargeIndicator;
lhsFreeOfChargeIndicator = this.getFreeOfChargeIndicator();
FreeOfChargeIndicatorType rhsFreeOfChargeIndicator;
rhsFreeOfChargeIndicator = that.getFreeOfChargeIndicator();
if (!strategy.equals(LocatorUtils.property(thisLocator, "freeOfChargeIndicator", lhsFreeOfChargeIndicator), LocatorUtils.property(thatLocator, "freeOfChargeIndicator", rhsFreeOfChargeIndicator), lhsFreeOfChargeIndicator, rhsFreeOfChargeIndicator)) {
return false;
}
}
{
List lhsInvoicePeriod;
lhsInvoicePeriod = (((this.invoicePeriod!= null)&&(!this.invoicePeriod.isEmpty()))?this.getInvoicePeriod():null);
List rhsInvoicePeriod;
rhsInvoicePeriod = (((that.invoicePeriod!= null)&&(!that.invoicePeriod.isEmpty()))?that.getInvoicePeriod():null);
if (!strategy.equals(LocatorUtils.property(thisLocator, "invoicePeriod", lhsInvoicePeriod), LocatorUtils.property(thatLocator, "invoicePeriod", rhsInvoicePeriod), lhsInvoicePeriod, rhsInvoicePeriod)) {
return false;
}
}
{
List lhsOrderLineReference;
lhsOrderLineReference = (((this.orderLineReference!= null)&&(!this.orderLineReference.isEmpty()))?this.getOrderLineReference():null);
List rhsOrderLineReference;
rhsOrderLineReference = (((that.orderLineReference!= null)&&(!that.orderLineReference.isEmpty()))?that.getOrderLineReference():null);
if (!strategy.equals(LocatorUtils.property(thisLocator, "orderLineReference", lhsOrderLineReference), LocatorUtils.property(thatLocator, "orderLineReference", rhsOrderLineReference), lhsOrderLineReference, rhsOrderLineReference)) {
return false;
}
}
{
List lhsDiscrepancyResponse;
lhsDiscrepancyResponse = (((this.discrepancyResponse!= null)&&(!this.discrepancyResponse.isEmpty()))?this.getDiscrepancyResponse():null);
List rhsDiscrepancyResponse;
rhsDiscrepancyResponse = (((that.discrepancyResponse!= null)&&(!that.discrepancyResponse.isEmpty()))?that.getDiscrepancyResponse():null);
if (!strategy.equals(LocatorUtils.property(thisLocator, "discrepancyResponse", lhsDiscrepancyResponse), LocatorUtils.property(thatLocator, "discrepancyResponse", rhsDiscrepancyResponse), lhsDiscrepancyResponse, rhsDiscrepancyResponse)) {
return false;
}
}
{
List lhsDespatchLineReference;
lhsDespatchLineReference = (((this.despatchLineReference!= null)&&(!this.despatchLineReference.isEmpty()))?this.getDespatchLineReference():null);
List rhsDespatchLineReference;
rhsDespatchLineReference = (((that.despatchLineReference!= null)&&(!that.despatchLineReference.isEmpty()))?that.getDespatchLineReference():null);
if (!strategy.equals(LocatorUtils.property(thisLocator, "despatchLineReference", lhsDespatchLineReference), LocatorUtils.property(thatLocator, "despatchLineReference", rhsDespatchLineReference), lhsDespatchLineReference, rhsDespatchLineReference)) {
return false;
}
}
{
List lhsReceiptLineReference;
lhsReceiptLineReference = (((this.receiptLineReference!= null)&&(!this.receiptLineReference.isEmpty()))?this.getReceiptLineReference():null);
List rhsReceiptLineReference;
rhsReceiptLineReference = (((that.receiptLineReference!= null)&&(!that.receiptLineReference.isEmpty()))?that.getReceiptLineReference():null);
if (!strategy.equals(LocatorUtils.property(thisLocator, "receiptLineReference", lhsReceiptLineReference), LocatorUtils.property(thatLocator, "receiptLineReference", rhsReceiptLineReference), lhsReceiptLineReference, rhsReceiptLineReference)) {
return false;
}
}
{
List lhsBillingReference;
lhsBillingReference = (((this.billingReference!= null)&&(!this.billingReference.isEmpty()))?this.getBillingReference():null);
List rhsBillingReference;
rhsBillingReference = (((that.billingReference!= null)&&(!that.billingReference.isEmpty()))?that.getBillingReference():null);
if (!strategy.equals(LocatorUtils.property(thisLocator, "billingReference", lhsBillingReference), LocatorUtils.property(thatLocator, "billingReference", rhsBillingReference), lhsBillingReference, rhsBillingReference)) {
return false;
}
}
{
List lhsDocumentReference;
lhsDocumentReference = (((this.documentReference!= null)&&(!this.documentReference.isEmpty()))?this.getDocumentReference():null);
List rhsDocumentReference;
rhsDocumentReference = (((that.documentReference!= null)&&(!that.documentReference.isEmpty()))?that.getDocumentReference():null);
if (!strategy.equals(LocatorUtils.property(thisLocator, "documentReference", lhsDocumentReference), LocatorUtils.property(thatLocator, "documentReference", rhsDocumentReference), lhsDocumentReference, rhsDocumentReference)) {
return false;
}
}
{
PricingReferenceType lhsPricingReference;
lhsPricingReference = this.getPricingReference();
PricingReferenceType rhsPricingReference;
rhsPricingReference = that.getPricingReference();
if (!strategy.equals(LocatorUtils.property(thisLocator, "pricingReference", lhsPricingReference), LocatorUtils.property(thatLocator, "pricingReference", rhsPricingReference), lhsPricingReference, rhsPricingReference)) {
return false;
}
}
{
PartyType lhsOriginatorParty;
lhsOriginatorParty = this.getOriginatorParty();
PartyType rhsOriginatorParty;
rhsOriginatorParty = that.getOriginatorParty();
if (!strategy.equals(LocatorUtils.property(thisLocator, "originatorParty", lhsOriginatorParty), LocatorUtils.property(thatLocator, "originatorParty", rhsOriginatorParty), lhsOriginatorParty, rhsOriginatorParty)) {
return false;
}
}
{
List lhsDelivery;
lhsDelivery = (((this.delivery!= null)&&(!this.delivery.isEmpty()))?this.getDelivery():null);
List rhsDelivery;
rhsDelivery = (((that.delivery!= null)&&(!that.delivery.isEmpty()))?that.getDelivery():null);
if (!strategy.equals(LocatorUtils.property(thisLocator, "delivery", lhsDelivery), LocatorUtils.property(thatLocator, "delivery", rhsDelivery), lhsDelivery, rhsDelivery)) {
return false;
}
}
{
List lhsPaymentTerms;
lhsPaymentTerms = (((this.paymentTerms!= null)&&(!this.paymentTerms.isEmpty()))?this.getPaymentTerms():null);
List rhsPaymentTerms;
rhsPaymentTerms = (((that.paymentTerms!= null)&&(!that.paymentTerms.isEmpty()))?that.getPaymentTerms():null);
if (!strategy.equals(LocatorUtils.property(thisLocator, "paymentTerms", lhsPaymentTerms), LocatorUtils.property(thatLocator, "paymentTerms", rhsPaymentTerms), lhsPaymentTerms, rhsPaymentTerms)) {
return false;
}
}
{
List lhsTaxTotal;
lhsTaxTotal = (((this.taxTotal!= null)&&(!this.taxTotal.isEmpty()))?this.getTaxTotal():null);
List rhsTaxTotal;
rhsTaxTotal = (((that.taxTotal!= null)&&(!that.taxTotal.isEmpty()))?that.getTaxTotal():null);
if (!strategy.equals(LocatorUtils.property(thisLocator, "taxTotal", lhsTaxTotal), LocatorUtils.property(thatLocator, "taxTotal", rhsTaxTotal), lhsTaxTotal, rhsTaxTotal)) {
return false;
}
}
{
List lhsAllowanceCharge;
lhsAllowanceCharge = (((this.allowanceCharge!= null)&&(!this.allowanceCharge.isEmpty()))?this.getAllowanceCharge():null);
List rhsAllowanceCharge;
rhsAllowanceCharge = (((that.allowanceCharge!= null)&&(!that.allowanceCharge.isEmpty()))?that.getAllowanceCharge():null);
if (!strategy.equals(LocatorUtils.property(thisLocator, "allowanceCharge", lhsAllowanceCharge), LocatorUtils.property(thatLocator, "allowanceCharge", rhsAllowanceCharge), lhsAllowanceCharge, rhsAllowanceCharge)) {
return false;
}
}
{
ItemType lhsItem;
lhsItem = this.getItem();
ItemType rhsItem;
rhsItem = that.getItem();
if (!strategy.equals(LocatorUtils.property(thisLocator, "item", lhsItem), LocatorUtils.property(thatLocator, "item", rhsItem), lhsItem, rhsItem)) {
return false;
}
}
{
PriceType lhsPrice;
lhsPrice = this.getPrice();
PriceType rhsPrice;
rhsPrice = that.getPrice();
if (!strategy.equals(LocatorUtils.property(thisLocator, "price", lhsPrice), LocatorUtils.property(thatLocator, "price", rhsPrice), lhsPrice, rhsPrice)) {
return false;
}
}
{
List lhsDeliveryTerms;
lhsDeliveryTerms = (((this.deliveryTerms!= null)&&(!this.deliveryTerms.isEmpty()))?this.getDeliveryTerms():null);
List rhsDeliveryTerms;
rhsDeliveryTerms = (((that.deliveryTerms!= null)&&(!that.deliveryTerms.isEmpty()))?that.getDeliveryTerms():null);
if (!strategy.equals(LocatorUtils.property(thisLocator, "deliveryTerms", lhsDeliveryTerms), LocatorUtils.property(thatLocator, "deliveryTerms", rhsDeliveryTerms), lhsDeliveryTerms, rhsDeliveryTerms)) {
return false;
}
}
{
List lhsSubCreditNoteLine;
lhsSubCreditNoteLine = (((this.subCreditNoteLine!= null)&&(!this.subCreditNoteLine.isEmpty()))?this.getSubCreditNoteLine():null);
List rhsSubCreditNoteLine;
rhsSubCreditNoteLine = (((that.subCreditNoteLine!= null)&&(!that.subCreditNoteLine.isEmpty()))?that.getSubCreditNoteLine():null);
if (!strategy.equals(LocatorUtils.property(thisLocator, "subCreditNoteLine", lhsSubCreditNoteLine), LocatorUtils.property(thatLocator, "subCreditNoteLine", rhsSubCreditNoteLine), lhsSubCreditNoteLine, rhsSubCreditNoteLine)) {
return false;
}
}
{
PriceExtensionType lhsItemPriceExtension;
lhsItemPriceExtension = this.getItemPriceExtension();
PriceExtensionType rhsItemPriceExtension;
rhsItemPriceExtension = that.getItemPriceExtension();
if (!strategy.equals(LocatorUtils.property(thisLocator, "itemPriceExtension", lhsItemPriceExtension), LocatorUtils.property(thatLocator, "itemPriceExtension", rhsItemPriceExtension), lhsItemPriceExtension, rhsItemPriceExtension)) {
return false;
}
}
return true;
}
public boolean equals(Object object) {
final EqualsStrategy strategy = JAXBEqualsStrategy.INSTANCE;
return equals(null, null, object, strategy);
}
public int hashCode(ObjectLocator locator, HashCodeStrategy strategy) {
int currentHashCode = 1;
{
IDType theID;
theID = this.getID();
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "id", theID), currentHashCode, theID);
}
{
UUIDType theUUID;
theUUID = this.getUUID();
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "uuid", theUUID), currentHashCode, theUUID);
}
{
List theNote;
theNote = (((this.note!= null)&&(!this.note.isEmpty()))?this.getNote():null);
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "note", theNote), currentHashCode, theNote);
}
{
CreditedQuantityType theCreditedQuantity;
theCreditedQuantity = this.getCreditedQuantity();
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "creditedQuantity", theCreditedQuantity), currentHashCode, theCreditedQuantity);
}
{
LineExtensionAmountType theLineExtensionAmount;
theLineExtensionAmount = this.getLineExtensionAmount();
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "lineExtensionAmount", theLineExtensionAmount), currentHashCode, theLineExtensionAmount);
}
{
TaxPointDateType theTaxPointDate;
theTaxPointDate = this.getTaxPointDate();
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "taxPointDate", theTaxPointDate), currentHashCode, theTaxPointDate);
}
{
AccountingCostCodeType theAccountingCostCode;
theAccountingCostCode = this.getAccountingCostCode();
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "accountingCostCode", theAccountingCostCode), currentHashCode, theAccountingCostCode);
}
{
AccountingCostType theAccountingCost;
theAccountingCost = this.getAccountingCost();
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "accountingCost", theAccountingCost), currentHashCode, theAccountingCost);
}
{
PaymentPurposeCodeType thePaymentPurposeCode;
thePaymentPurposeCode = this.getPaymentPurposeCode();
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "paymentPurposeCode", thePaymentPurposeCode), currentHashCode, thePaymentPurposeCode);
}
{
FreeOfChargeIndicatorType theFreeOfChargeIndicator;
theFreeOfChargeIndicator = this.getFreeOfChargeIndicator();
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "freeOfChargeIndicator", theFreeOfChargeIndicator), currentHashCode, theFreeOfChargeIndicator);
}
{
List theInvoicePeriod;
theInvoicePeriod = (((this.invoicePeriod!= null)&&(!this.invoicePeriod.isEmpty()))?this.getInvoicePeriod():null);
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "invoicePeriod", theInvoicePeriod), currentHashCode, theInvoicePeriod);
}
{
List theOrderLineReference;
theOrderLineReference = (((this.orderLineReference!= null)&&(!this.orderLineReference.isEmpty()))?this.getOrderLineReference():null);
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "orderLineReference", theOrderLineReference), currentHashCode, theOrderLineReference);
}
{
List theDiscrepancyResponse;
theDiscrepancyResponse = (((this.discrepancyResponse!= null)&&(!this.discrepancyResponse.isEmpty()))?this.getDiscrepancyResponse():null);
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "discrepancyResponse", theDiscrepancyResponse), currentHashCode, theDiscrepancyResponse);
}
{
List theDespatchLineReference;
theDespatchLineReference = (((this.despatchLineReference!= null)&&(!this.despatchLineReference.isEmpty()))?this.getDespatchLineReference():null);
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "despatchLineReference", theDespatchLineReference), currentHashCode, theDespatchLineReference);
}
{
List theReceiptLineReference;
theReceiptLineReference = (((this.receiptLineReference!= null)&&(!this.receiptLineReference.isEmpty()))?this.getReceiptLineReference():null);
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "receiptLineReference", theReceiptLineReference), currentHashCode, theReceiptLineReference);
}
{
List theBillingReference;
theBillingReference = (((this.billingReference!= null)&&(!this.billingReference.isEmpty()))?this.getBillingReference():null);
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "billingReference", theBillingReference), currentHashCode, theBillingReference);
}
{
List theDocumentReference;
theDocumentReference = (((this.documentReference!= null)&&(!this.documentReference.isEmpty()))?this.getDocumentReference():null);
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "documentReference", theDocumentReference), currentHashCode, theDocumentReference);
}
{
PricingReferenceType thePricingReference;
thePricingReference = this.getPricingReference();
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "pricingReference", thePricingReference), currentHashCode, thePricingReference);
}
{
PartyType theOriginatorParty;
theOriginatorParty = this.getOriginatorParty();
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "originatorParty", theOriginatorParty), currentHashCode, theOriginatorParty);
}
{
List theDelivery;
theDelivery = (((this.delivery!= null)&&(!this.delivery.isEmpty()))?this.getDelivery():null);
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "delivery", theDelivery), currentHashCode, theDelivery);
}
{
List thePaymentTerms;
thePaymentTerms = (((this.paymentTerms!= null)&&(!this.paymentTerms.isEmpty()))?this.getPaymentTerms():null);
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "paymentTerms", thePaymentTerms), currentHashCode, thePaymentTerms);
}
{
List theTaxTotal;
theTaxTotal = (((this.taxTotal!= null)&&(!this.taxTotal.isEmpty()))?this.getTaxTotal():null);
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "taxTotal", theTaxTotal), currentHashCode, theTaxTotal);
}
{
List theAllowanceCharge;
theAllowanceCharge = (((this.allowanceCharge!= null)&&(!this.allowanceCharge.isEmpty()))?this.getAllowanceCharge():null);
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "allowanceCharge", theAllowanceCharge), currentHashCode, theAllowanceCharge);
}
{
ItemType theItem;
theItem = this.getItem();
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "item", theItem), currentHashCode, theItem);
}
{
PriceType thePrice;
thePrice = this.getPrice();
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "price", thePrice), currentHashCode, thePrice);
}
{
List theDeliveryTerms;
theDeliveryTerms = (((this.deliveryTerms!= null)&&(!this.deliveryTerms.isEmpty()))?this.getDeliveryTerms():null);
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "deliveryTerms", theDeliveryTerms), currentHashCode, theDeliveryTerms);
}
{
List theSubCreditNoteLine;
theSubCreditNoteLine = (((this.subCreditNoteLine!= null)&&(!this.subCreditNoteLine.isEmpty()))?this.getSubCreditNoteLine():null);
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "subCreditNoteLine", theSubCreditNoteLine), currentHashCode, theSubCreditNoteLine);
}
{
PriceExtensionType theItemPriceExtension;
theItemPriceExtension = this.getItemPriceExtension();
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "itemPriceExtension", theItemPriceExtension), currentHashCode, theItemPriceExtension);
}
return currentHashCode;
}
public int hashCode() {
final HashCodeStrategy strategy = JAXBHashCodeStrategy.INSTANCE;
return this.hashCode(null, strategy);
}
}