All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.intuit.ipp.data.SalesTransaction Maven / Gradle / Ivy

There is a newer version: 6.4.2
Show newest version
//
// This file was generated by the Eclipse Implementation of JAXB, v2.3.7 
// See https://eclipse-ee4j.github.io/jaxb-ri 
// Any modifications to this file will be lost upon recompilation of the source schema. 
// Generated on: 2024.07.12 at 12:19:07 PM IST 
//


package com.intuit.ipp.data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlSchemaType;
import javax.xml.bind.annotation.XmlSeeAlso;
import javax.xml.bind.annotation.XmlType;
import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
import com.intuit.sb.cdm.util.v3.DateAdapter;
import org.jvnet.jaxb2_commons.lang.Equals2;
import org.jvnet.jaxb2_commons.lang.EqualsStrategy2;
import org.jvnet.jaxb2_commons.lang.HashCode2;
import org.jvnet.jaxb2_commons.lang.HashCodeStrategy2;
import org.jvnet.jaxb2_commons.lang.JAXBEqualsStrategy;
import org.jvnet.jaxb2_commons.lang.JAXBHashCodeStrategy;
import org.jvnet.jaxb2_commons.locator.ObjectLocator;
import org.jvnet.jaxb2_commons.locator.util.LocatorUtils;


/**
 * 
 * 				Product: ALL
 * 				Description: Base class of all Sales
 * 				transaction entities.
 * 			
 * 
 * 

Java class for SalesTransaction complex type. * *

The following schema fragment specifies the expected content contained within this class. * *

 * <complexType name="SalesTransaction">
 *   <complexContent>
 *     <extension base="{http://schema.intuit.com/finance/v3}Transaction">
 *       <sequence>
 *         <element name="AutoDocNumber" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
 *         <element name="CustomerRef" type="{http://schema.intuit.com/finance/v3}ReferenceType" minOccurs="0"/>
 *         <element name="CustomerMemo" type="{http://schema.intuit.com/finance/v3}MemoRef" minOccurs="0"/>
 *         <element name="BillAddr" type="{http://schema.intuit.com/finance/v3}PhysicalAddress" minOccurs="0"/>
 *         <element name="ShipAddr" type="{http://schema.intuit.com/finance/v3}PhysicalAddress" minOccurs="0"/>
 *         <element name="FreeFormAddress" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
 *         <element name="ShipFromAddr" type="{http://schema.intuit.com/finance/v3}PhysicalAddress" minOccurs="0"/>
 *         <element name="RemitToRef" type="{http://schema.intuit.com/finance/v3}ReferenceType" minOccurs="0"/>
 *         <element name="ClassRef" type="{http://schema.intuit.com/finance/v3}ReferenceType" minOccurs="0"/>
 *         <element name="SalesTermRef" type="{http://schema.intuit.com/finance/v3}ReferenceType" minOccurs="0"/>
 *         <element name="DueDate" type="{http://www.w3.org/2001/XMLSchema}date" minOccurs="0"/>
 *         <element name="SalesRepRef" type="{http://schema.intuit.com/finance/v3}ReferenceType" minOccurs="0"/>
 *         <element name="PONumber" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
 *         <element name="FOB" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
 *         <element name="ShipMethodRef" type="{http://schema.intuit.com/finance/v3}ReferenceType" minOccurs="0"/>
 *         <element name="ShipDate" type="{http://www.w3.org/2001/XMLSchema}date" minOccurs="0"/>
 *         <element name="TrackingNum" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
 *         <element name="GlobalTaxCalculation" type="{http://schema.intuit.com/finance/v3}GlobalTaxCalculationEnum" minOccurs="0"/>
 *         <element name="TotalAmt" type="{http://www.w3.org/2001/XMLSchema}decimal" minOccurs="0"/>
 *         <element name="HomeTotalAmt" type="{http://www.w3.org/2001/XMLSchema}decimal" minOccurs="0"/>
 *         <element name="ApplyTaxAfterDiscount" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
 *         <element name="ShippingTaxIncludedInTotalTax" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
 *         <element name="TemplateRef" type="{http://schema.intuit.com/finance/v3}ReferenceType" minOccurs="0"/>
 *         <element name="PrintStatus" type="{http://schema.intuit.com/finance/v3}PrintStatusEnum" minOccurs="0"/>
 *         <element name="EmailStatus" type="{http://schema.intuit.com/finance/v3}EmailStatusEnum" minOccurs="0"/>
 *         <element name="BillEmail" type="{http://schema.intuit.com/finance/v3}EmailAddress" minOccurs="0"/>
 *         <element name="BillEmailCc" type="{http://schema.intuit.com/finance/v3}EmailAddress" minOccurs="0"/>
 *         <element name="BillEmailBcc" type="{http://schema.intuit.com/finance/v3}EmailAddress" minOccurs="0"/>
 *         <element name="ARAccountRef" type="{http://schema.intuit.com/finance/v3}ReferenceType" minOccurs="0"/>
 *         <element name="Balance" type="{http://www.w3.org/2001/XMLSchema}decimal" minOccurs="0"/>
 *         <element name="HomeBalance" type="{http://www.w3.org/2001/XMLSchema}decimal" minOccurs="0"/>
 *         <element name="FinanceCharge" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
 *         <element name="PaymentMethodRef" type="{http://schema.intuit.com/finance/v3}ReferenceType" minOccurs="0"/>
 *         <element name="PaymentRefNum" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
 *         <element name="PaymentType" type="{http://schema.intuit.com/finance/v3}PaymentTypeEnum" minOccurs="0"/>
 *         <choice minOccurs="0">
 *           <element name="CheckPayment" type="{http://schema.intuit.com/finance/v3}CheckPayment" minOccurs="0"/>
 *           <element name="CreditCardPayment" type="{http://schema.intuit.com/finance/v3}CreditCardPayment" minOccurs="0"/>
 *         </choice>
 *         <element name="DepositToAccountRef" type="{http://schema.intuit.com/finance/v3}ReferenceType" minOccurs="0"/>
 *         <element name="DeliveryInfo" type="{http://schema.intuit.com/finance/v3}TransactionDeliveryInfo" minOccurs="0"/>
 *         <element name="DiscountRate" type="{http://www.w3.org/2001/XMLSchema}decimal" minOccurs="0"/>
 *         <element name="DiscountAmt" type="{http://www.w3.org/2001/XMLSchema}decimal" minOccurs="0"/>
 *         <element name="GovtTxnRefIdentifier" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
 *         <element name="TaxExemptionRef" type="{http://schema.intuit.com/finance/v3}ReferenceType" minOccurs="0"/>
 *       </sequence>
 *     </extension>
 *   </complexContent>
 * </complexType>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "SalesTransaction", propOrder = { "autoDocNumber", "customerRef", "customerMemo", "billAddr", "shipAddr", "freeFormAddress", "shipFromAddr", "remitToRef", "classRef", "salesTermRef", "dueDate", "salesRepRef", "poNumber", "fob", "shipMethodRef", "shipDate", "trackingNum", "globalTaxCalculation", "totalAmt", "homeTotalAmt", "applyTaxAfterDiscount", "shippingTaxIncludedInTotalTax", "templateRef", "printStatus", "emailStatus", "billEmail", "billEmailCc", "billEmailBcc", "arAccountRef", "balance", "homeBalance", "financeCharge", "paymentMethodRef", "paymentRefNum", "paymentType", "checkPayment", "creditCardPayment", "depositToAccountRef", "deliveryInfo", "discountRate", "discountAmt", "govtTxnRefIdentifier", "taxExemptionRef" }) @XmlSeeAlso({ Estimate.class, SalesOrder.class, SalesReceipt.class, CreditMemo.class, RefundReceipt.class, Invoice.class }) public class SalesTransaction extends Transaction implements Serializable, Equals2, HashCode2 { private final static long serialVersionUID = 1L; @XmlElement(name = "AutoDocNumber") protected Boolean autoDocNumber; @XmlElement(name = "CustomerRef") protected ReferenceType customerRef; @XmlElement(name = "CustomerMemo") protected MemoRef customerMemo; @XmlElement(name = "BillAddr") protected PhysicalAddress billAddr; @XmlElement(name = "ShipAddr") protected PhysicalAddress shipAddr; @XmlElement(name = "FreeFormAddress") protected Boolean freeFormAddress; @XmlElement(name = "ShipFromAddr") protected PhysicalAddress shipFromAddr; @XmlElement(name = "RemitToRef") protected ReferenceType remitToRef; @XmlElement(name = "ClassRef") protected ReferenceType classRef; @XmlElement(name = "SalesTermRef") protected ReferenceType salesTermRef; @XmlElement(name = "DueDate", type = String.class) @XmlJavaTypeAdapter(DateAdapter.class) @XmlSchemaType(name = "date") protected Date dueDate; @XmlElement(name = "SalesRepRef") protected ReferenceType salesRepRef; @XmlElement(name = "PONumber") protected String poNumber; @XmlElement(name = "FOB") protected String fob; @XmlElement(name = "ShipMethodRef") protected ReferenceType shipMethodRef; @XmlElement(name = "ShipDate", type = String.class) @XmlJavaTypeAdapter(DateAdapter.class) @XmlSchemaType(name = "date") protected Date shipDate; @XmlElement(name = "TrackingNum") protected String trackingNum; @XmlElement(name = "GlobalTaxCalculation") @XmlSchemaType(name = "string") protected GlobalTaxCalculationEnum globalTaxCalculation; @XmlElement(name = "TotalAmt") protected BigDecimal totalAmt; @XmlElement(name = "HomeTotalAmt") protected BigDecimal homeTotalAmt; @XmlElement(name = "ApplyTaxAfterDiscount") protected Boolean applyTaxAfterDiscount; @XmlElement(name = "ShippingTaxIncludedInTotalTax") protected Boolean shippingTaxIncludedInTotalTax; @XmlElement(name = "TemplateRef") protected ReferenceType templateRef; @XmlElement(name = "PrintStatus") @XmlSchemaType(name = "string") protected PrintStatusEnum printStatus; @XmlElement(name = "EmailStatus") @XmlSchemaType(name = "string") protected EmailStatusEnum emailStatus; @XmlElement(name = "BillEmail") protected EmailAddress billEmail; @XmlElement(name = "BillEmailCc") protected EmailAddress billEmailCc; @XmlElement(name = "BillEmailBcc") protected EmailAddress billEmailBcc; @XmlElement(name = "ARAccountRef") protected ReferenceType arAccountRef; @XmlElement(name = "Balance") protected BigDecimal balance; @XmlElement(name = "HomeBalance") protected BigDecimal homeBalance; @XmlElement(name = "FinanceCharge") protected Boolean financeCharge; @XmlElement(name = "PaymentMethodRef") protected ReferenceType paymentMethodRef; @XmlElement(name = "PaymentRefNum") protected String paymentRefNum; @XmlElement(name = "PaymentType") @XmlSchemaType(name = "string") protected PaymentTypeEnum paymentType; @XmlElement(name = "CheckPayment") protected CheckPayment checkPayment; @XmlElement(name = "CreditCardPayment") protected CreditCardPayment creditCardPayment; @XmlElement(name = "DepositToAccountRef") protected ReferenceType depositToAccountRef; @XmlElement(name = "DeliveryInfo") protected TransactionDeliveryInfo deliveryInfo; @XmlElement(name = "DiscountRate") protected BigDecimal discountRate; @XmlElement(name = "DiscountAmt") protected BigDecimal discountAmt; @XmlElement(name = "GovtTxnRefIdentifier") protected String govtTxnRefIdentifier; @XmlElement(name = "TaxExemptionRef") protected ReferenceType taxExemptionRef; /** * Gets the value of the autoDocNumber property. * * @return * possible object is * {@link Boolean } * */ public Boolean isAutoDocNumber() { return autoDocNumber; } /** * Sets the value of the autoDocNumber property. * * @param value * allowed object is * {@link Boolean } * */ public void setAutoDocNumber(Boolean value) { this.autoDocNumber = value; } /** * Gets the value of the customerRef property. * * @return * possible object is * {@link ReferenceType } * */ public ReferenceType getCustomerRef() { return customerRef; } /** * Sets the value of the customerRef property. * * @param value * allowed object is * {@link ReferenceType } * */ public void setCustomerRef(ReferenceType value) { this.customerRef = value; } /** * Gets the value of the customerMemo property. * * @return * possible object is * {@link MemoRef } * */ public MemoRef getCustomerMemo() { return customerMemo; } /** * Sets the value of the customerMemo property. * * @param value * allowed object is * {@link MemoRef } * */ public void setCustomerMemo(MemoRef value) { this.customerMemo = value; } /** * Gets the value of the billAddr property. * * @return * possible object is * {@link PhysicalAddress } * */ public PhysicalAddress getBillAddr() { return billAddr; } /** * Sets the value of the billAddr property. * * @param value * allowed object is * {@link PhysicalAddress } * */ public void setBillAddr(PhysicalAddress value) { this.billAddr = value; } /** * Gets the value of the shipAddr property. * * @return * possible object is * {@link PhysicalAddress } * */ public PhysicalAddress getShipAddr() { return shipAddr; } /** * Sets the value of the shipAddr property. * * @param value * allowed object is * {@link PhysicalAddress } * */ public void setShipAddr(PhysicalAddress value) { this.shipAddr = value; } /** * Gets the value of the freeFormAddress property. * * @return * possible object is * {@link Boolean } * */ public Boolean isFreeFormAddress() { return freeFormAddress; } /** * Sets the value of the freeFormAddress property. * * @param value * allowed object is * {@link Boolean } * */ public void setFreeFormAddress(Boolean value) { this.freeFormAddress = value; } /** * Gets the value of the shipFromAddr property. * * @return * possible object is * {@link PhysicalAddress } * */ public PhysicalAddress getShipFromAddr() { return shipFromAddr; } /** * Sets the value of the shipFromAddr property. * * @param value * allowed object is * {@link PhysicalAddress } * */ public void setShipFromAddr(PhysicalAddress value) { this.shipFromAddr = value; } /** * Gets the value of the remitToRef property. * * @return * possible object is * {@link ReferenceType } * */ public ReferenceType getRemitToRef() { return remitToRef; } /** * Sets the value of the remitToRef property. * * @param value * allowed object is * {@link ReferenceType } * */ public void setRemitToRef(ReferenceType value) { this.remitToRef = value; } /** * Gets the value of the classRef property. * * @return * possible object is * {@link ReferenceType } * */ public ReferenceType getClassRef() { return classRef; } /** * Sets the value of the classRef property. * * @param value * allowed object is * {@link ReferenceType } * */ public void setClassRef(ReferenceType value) { this.classRef = value; } /** * Gets the value of the salesTermRef property. * * @return * possible object is * {@link ReferenceType } * */ public ReferenceType getSalesTermRef() { return salesTermRef; } /** * Sets the value of the salesTermRef property. * * @param value * allowed object is * {@link ReferenceType } * */ public void setSalesTermRef(ReferenceType value) { this.salesTermRef = value; } /** * Gets the value of the dueDate property. * * @return * possible object is * {@link String } * */ public Date getDueDate() { return dueDate; } /** * Sets the value of the dueDate property. * * @param value * allowed object is * {@link String } * */ public void setDueDate(Date value) { this.dueDate = value; } /** * Gets the value of the salesRepRef property. * * @return * possible object is * {@link ReferenceType } * */ public ReferenceType getSalesRepRef() { return salesRepRef; } /** * Sets the value of the salesRepRef property. * * @param value * allowed object is * {@link ReferenceType } * */ public void setSalesRepRef(ReferenceType value) { this.salesRepRef = value; } /** * Gets the value of the poNumber property. * * @return * possible object is * {@link String } * */ public String getPONumber() { return poNumber; } /** * Sets the value of the poNumber property. * * @param value * allowed object is * {@link String } * */ public void setPONumber(String value) { this.poNumber = value; } /** * Gets the value of the fob property. * * @return * possible object is * {@link String } * */ public String getFOB() { return fob; } /** * Sets the value of the fob property. * * @param value * allowed object is * {@link String } * */ public void setFOB(String value) { this.fob = value; } /** * Gets the value of the shipMethodRef property. * * @return * possible object is * {@link ReferenceType } * */ public ReferenceType getShipMethodRef() { return shipMethodRef; } /** * Sets the value of the shipMethodRef property. * * @param value * allowed object is * {@link ReferenceType } * */ public void setShipMethodRef(ReferenceType value) { this.shipMethodRef = value; } /** * Gets the value of the shipDate property. * * @return * possible object is * {@link String } * */ public Date getShipDate() { return shipDate; } /** * Sets the value of the shipDate property. * * @param value * allowed object is * {@link String } * */ public void setShipDate(Date value) { this.shipDate = value; } /** * Gets the value of the trackingNum property. * * @return * possible object is * {@link String } * */ public String getTrackingNum() { return trackingNum; } /** * Sets the value of the trackingNum property. * * @param value * allowed object is * {@link String } * */ public void setTrackingNum(String value) { this.trackingNum = value; } /** * Gets the value of the globalTaxCalculation property. * * @return * possible object is * {@link GlobalTaxCalculationEnum } * */ public GlobalTaxCalculationEnum getGlobalTaxCalculation() { return globalTaxCalculation; } /** * Sets the value of the globalTaxCalculation property. * * @param value * allowed object is * {@link GlobalTaxCalculationEnum } * */ public void setGlobalTaxCalculation(GlobalTaxCalculationEnum value) { this.globalTaxCalculation = value; } /** * Gets the value of the totalAmt property. * * @return * possible object is * {@link BigDecimal } * */ public BigDecimal getTotalAmt() { return totalAmt; } /** * Sets the value of the totalAmt property. * * @param value * allowed object is * {@link BigDecimal } * */ public void setTotalAmt(BigDecimal value) { this.totalAmt = value; } /** * Gets the value of the homeTotalAmt property. * * @return * possible object is * {@link BigDecimal } * */ public BigDecimal getHomeTotalAmt() { return homeTotalAmt; } /** * Sets the value of the homeTotalAmt property. * * @param value * allowed object is * {@link BigDecimal } * */ public void setHomeTotalAmt(BigDecimal value) { this.homeTotalAmt = value; } /** * Gets the value of the applyTaxAfterDiscount property. * * @return * possible object is * {@link Boolean } * */ public Boolean isApplyTaxAfterDiscount() { return applyTaxAfterDiscount; } /** * Sets the value of the applyTaxAfterDiscount property. * * @param value * allowed object is * {@link Boolean } * */ public void setApplyTaxAfterDiscount(Boolean value) { this.applyTaxAfterDiscount = value; } /** * Gets the value of the shippingTaxIncludedInTotalTax property. * * @return * possible object is * {@link Boolean } * */ public Boolean isShippingTaxIncludedInTotalTax() { return shippingTaxIncludedInTotalTax; } /** * Sets the value of the shippingTaxIncludedInTotalTax property. * * @param value * allowed object is * {@link Boolean } * */ public void setShippingTaxIncludedInTotalTax(Boolean value) { this.shippingTaxIncludedInTotalTax = value; } /** * Gets the value of the templateRef property. * * @return * possible object is * {@link ReferenceType } * */ public ReferenceType getTemplateRef() { return templateRef; } /** * Sets the value of the templateRef property. * * @param value * allowed object is * {@link ReferenceType } * */ public void setTemplateRef(ReferenceType value) { this.templateRef = value; } /** * Gets the value of the printStatus property. * * @return * possible object is * {@link PrintStatusEnum } * */ public PrintStatusEnum getPrintStatus() { return printStatus; } /** * Sets the value of the printStatus property. * * @param value * allowed object is * {@link PrintStatusEnum } * */ public void setPrintStatus(PrintStatusEnum value) { this.printStatus = value; } /** * Gets the value of the emailStatus property. * * @return * possible object is * {@link EmailStatusEnum } * */ public EmailStatusEnum getEmailStatus() { return emailStatus; } /** * Sets the value of the emailStatus property. * * @param value * allowed object is * {@link EmailStatusEnum } * */ public void setEmailStatus(EmailStatusEnum value) { this.emailStatus = value; } /** * Gets the value of the billEmail property. * * @return * possible object is * {@link EmailAddress } * */ public EmailAddress getBillEmail() { return billEmail; } /** * Sets the value of the billEmail property. * * @param value * allowed object is * {@link EmailAddress } * */ public void setBillEmail(EmailAddress value) { this.billEmail = value; } /** * Gets the value of the billEmailCc property. * * @return * possible object is * {@link EmailAddress } * */ public EmailAddress getBillEmailCc() { return billEmailCc; } /** * Sets the value of the billEmailCc property. * * @param value * allowed object is * {@link EmailAddress } * */ public void setBillEmailCc(EmailAddress value) { this.billEmailCc = value; } /** * Gets the value of the billEmailBcc property. * * @return * possible object is * {@link EmailAddress } * */ public EmailAddress getBillEmailBcc() { return billEmailBcc; } /** * Sets the value of the billEmailBcc property. * * @param value * allowed object is * {@link EmailAddress } * */ public void setBillEmailBcc(EmailAddress value) { this.billEmailBcc = value; } /** * Gets the value of the arAccountRef property. * * @return * possible object is * {@link ReferenceType } * */ public ReferenceType getARAccountRef() { return arAccountRef; } /** * Sets the value of the arAccountRef property. * * @param value * allowed object is * {@link ReferenceType } * */ public void setARAccountRef(ReferenceType value) { this.arAccountRef = value; } /** * Gets the value of the balance property. * * @return * possible object is * {@link BigDecimal } * */ public BigDecimal getBalance() { return balance; } /** * Sets the value of the balance property. * * @param value * allowed object is * {@link BigDecimal } * */ public void setBalance(BigDecimal value) { this.balance = value; } /** * Gets the value of the homeBalance property. * * @return * possible object is * {@link BigDecimal } * */ public BigDecimal getHomeBalance() { return homeBalance; } /** * Sets the value of the homeBalance property. * * @param value * allowed object is * {@link BigDecimal } * */ public void setHomeBalance(BigDecimal value) { this.homeBalance = value; } /** * Gets the value of the financeCharge property. * * @return * possible object is * {@link Boolean } * */ public Boolean isFinanceCharge() { return financeCharge; } /** * Sets the value of the financeCharge property. * * @param value * allowed object is * {@link Boolean } * */ public void setFinanceCharge(Boolean value) { this.financeCharge = value; } /** * Gets the value of the paymentMethodRef property. * * @return * possible object is * {@link ReferenceType } * */ public ReferenceType getPaymentMethodRef() { return paymentMethodRef; } /** * Sets the value of the paymentMethodRef property. * * @param value * allowed object is * {@link ReferenceType } * */ public void setPaymentMethodRef(ReferenceType value) { this.paymentMethodRef = value; } /** * Gets the value of the paymentRefNum property. * * @return * possible object is * {@link String } * */ public String getPaymentRefNum() { return paymentRefNum; } /** * Sets the value of the paymentRefNum property. * * @param value * allowed object is * {@link String } * */ public void setPaymentRefNum(String value) { this.paymentRefNum = value; } /** * Gets the value of the paymentType property. * * @return * possible object is * {@link PaymentTypeEnum } * */ public PaymentTypeEnum getPaymentType() { return paymentType; } /** * Sets the value of the paymentType property. * * @param value * allowed object is * {@link PaymentTypeEnum } * */ public void setPaymentType(PaymentTypeEnum value) { this.paymentType = value; } /** * Gets the value of the checkPayment property. * * @return * possible object is * {@link CheckPayment } * */ public CheckPayment getCheckPayment() { return checkPayment; } /** * Sets the value of the checkPayment property. * * @param value * allowed object is * {@link CheckPayment } * */ public void setCheckPayment(CheckPayment value) { this.checkPayment = value; } /** * Gets the value of the creditCardPayment property. * * @return * possible object is * {@link CreditCardPayment } * */ public CreditCardPayment getCreditCardPayment() { return creditCardPayment; } /** * Sets the value of the creditCardPayment property. * * @param value * allowed object is * {@link CreditCardPayment } * */ public void setCreditCardPayment(CreditCardPayment value) { this.creditCardPayment = value; } /** * Gets the value of the depositToAccountRef property. * * @return * possible object is * {@link ReferenceType } * */ public ReferenceType getDepositToAccountRef() { return depositToAccountRef; } /** * Sets the value of the depositToAccountRef property. * * @param value * allowed object is * {@link ReferenceType } * */ public void setDepositToAccountRef(ReferenceType value) { this.depositToAccountRef = value; } /** * Gets the value of the deliveryInfo property. * * @return * possible object is * {@link TransactionDeliveryInfo } * */ public TransactionDeliveryInfo getDeliveryInfo() { return deliveryInfo; } /** * Sets the value of the deliveryInfo property. * * @param value * allowed object is * {@link TransactionDeliveryInfo } * */ public void setDeliveryInfo(TransactionDeliveryInfo value) { this.deliveryInfo = value; } /** * Gets the value of the discountRate property. * * @return * possible object is * {@link BigDecimal } * */ public BigDecimal getDiscountRate() { return discountRate; } /** * Sets the value of the discountRate property. * * @param value * allowed object is * {@link BigDecimal } * */ public void setDiscountRate(BigDecimal value) { this.discountRate = value; } /** * Gets the value of the discountAmt property. * * @return * possible object is * {@link BigDecimal } * */ public BigDecimal getDiscountAmt() { return discountAmt; } /** * Sets the value of the discountAmt property. * * @param value * allowed object is * {@link BigDecimal } * */ public void setDiscountAmt(BigDecimal value) { this.discountAmt = value; } /** * Gets the value of the govtTxnRefIdentifier property. * * @return * possible object is * {@link String } * */ public String getGovtTxnRefIdentifier() { return govtTxnRefIdentifier; } /** * Sets the value of the govtTxnRefIdentifier property. * * @param value * allowed object is * {@link String } * */ public void setGovtTxnRefIdentifier(String value) { this.govtTxnRefIdentifier = value; } /** * Gets the value of the taxExemptionRef property. * * @return * possible object is * {@link ReferenceType } * */ public ReferenceType getTaxExemptionRef() { return taxExemptionRef; } /** * Sets the value of the taxExemptionRef property. * * @param value * allowed object is * {@link ReferenceType } * */ public void setTaxExemptionRef(ReferenceType value) { this.taxExemptionRef = value; } public boolean equals(ObjectLocator thisLocator, ObjectLocator thatLocator, Object object, EqualsStrategy2 strategy) { if ((object == null)||(this.getClass()!= object.getClass())) { return false; } if (this == object) { return true; } if (!super.equals(thisLocator, thatLocator, object, strategy)) { return false; } final SalesTransaction that = ((SalesTransaction) object); { Boolean lhsAutoDocNumber; lhsAutoDocNumber = this.isAutoDocNumber(); Boolean rhsAutoDocNumber; rhsAutoDocNumber = that.isAutoDocNumber(); if (!strategy.equals(LocatorUtils.property(thisLocator, "autoDocNumber", lhsAutoDocNumber), LocatorUtils.property(thatLocator, "autoDocNumber", rhsAutoDocNumber), lhsAutoDocNumber, rhsAutoDocNumber, (this.autoDocNumber!= null), (that.autoDocNumber!= null))) { return false; } } { ReferenceType lhsCustomerRef; lhsCustomerRef = this.getCustomerRef(); ReferenceType rhsCustomerRef; rhsCustomerRef = that.getCustomerRef(); if (!strategy.equals(LocatorUtils.property(thisLocator, "customerRef", lhsCustomerRef), LocatorUtils.property(thatLocator, "customerRef", rhsCustomerRef), lhsCustomerRef, rhsCustomerRef, (this.customerRef!= null), (that.customerRef!= null))) { return false; } } { MemoRef lhsCustomerMemo; lhsCustomerMemo = this.getCustomerMemo(); MemoRef rhsCustomerMemo; rhsCustomerMemo = that.getCustomerMemo(); if (!strategy.equals(LocatorUtils.property(thisLocator, "customerMemo", lhsCustomerMemo), LocatorUtils.property(thatLocator, "customerMemo", rhsCustomerMemo), lhsCustomerMemo, rhsCustomerMemo, (this.customerMemo!= null), (that.customerMemo!= null))) { return false; } } { PhysicalAddress lhsBillAddr; lhsBillAddr = this.getBillAddr(); PhysicalAddress rhsBillAddr; rhsBillAddr = that.getBillAddr(); if (!strategy.equals(LocatorUtils.property(thisLocator, "billAddr", lhsBillAddr), LocatorUtils.property(thatLocator, "billAddr", rhsBillAddr), lhsBillAddr, rhsBillAddr, (this.billAddr!= null), (that.billAddr!= null))) { return false; } } { PhysicalAddress lhsShipAddr; lhsShipAddr = this.getShipAddr(); PhysicalAddress rhsShipAddr; rhsShipAddr = that.getShipAddr(); if (!strategy.equals(LocatorUtils.property(thisLocator, "shipAddr", lhsShipAddr), LocatorUtils.property(thatLocator, "shipAddr", rhsShipAddr), lhsShipAddr, rhsShipAddr, (this.shipAddr!= null), (that.shipAddr!= null))) { return false; } } { Boolean lhsFreeFormAddress; lhsFreeFormAddress = this.isFreeFormAddress(); Boolean rhsFreeFormAddress; rhsFreeFormAddress = that.isFreeFormAddress(); if (!strategy.equals(LocatorUtils.property(thisLocator, "freeFormAddress", lhsFreeFormAddress), LocatorUtils.property(thatLocator, "freeFormAddress", rhsFreeFormAddress), lhsFreeFormAddress, rhsFreeFormAddress, (this.freeFormAddress!= null), (that.freeFormAddress!= null))) { return false; } } { PhysicalAddress lhsShipFromAddr; lhsShipFromAddr = this.getShipFromAddr(); PhysicalAddress rhsShipFromAddr; rhsShipFromAddr = that.getShipFromAddr(); if (!strategy.equals(LocatorUtils.property(thisLocator, "shipFromAddr", lhsShipFromAddr), LocatorUtils.property(thatLocator, "shipFromAddr", rhsShipFromAddr), lhsShipFromAddr, rhsShipFromAddr, (this.shipFromAddr!= null), (that.shipFromAddr!= null))) { return false; } } { ReferenceType lhsRemitToRef; lhsRemitToRef = this.getRemitToRef(); ReferenceType rhsRemitToRef; rhsRemitToRef = that.getRemitToRef(); if (!strategy.equals(LocatorUtils.property(thisLocator, "remitToRef", lhsRemitToRef), LocatorUtils.property(thatLocator, "remitToRef", rhsRemitToRef), lhsRemitToRef, rhsRemitToRef, (this.remitToRef!= null), (that.remitToRef!= null))) { return false; } } { ReferenceType lhsClassRef; lhsClassRef = this.getClassRef(); ReferenceType rhsClassRef; rhsClassRef = that.getClassRef(); if (!strategy.equals(LocatorUtils.property(thisLocator, "classRef", lhsClassRef), LocatorUtils.property(thatLocator, "classRef", rhsClassRef), lhsClassRef, rhsClassRef, (this.classRef!= null), (that.classRef!= null))) { return false; } } { ReferenceType lhsSalesTermRef; lhsSalesTermRef = this.getSalesTermRef(); ReferenceType rhsSalesTermRef; rhsSalesTermRef = that.getSalesTermRef(); if (!strategy.equals(LocatorUtils.property(thisLocator, "salesTermRef", lhsSalesTermRef), LocatorUtils.property(thatLocator, "salesTermRef", rhsSalesTermRef), lhsSalesTermRef, rhsSalesTermRef, (this.salesTermRef!= null), (that.salesTermRef!= null))) { return false; } } { Date lhsDueDate; lhsDueDate = this.getDueDate(); Date rhsDueDate; rhsDueDate = that.getDueDate(); if (!strategy.equals(LocatorUtils.property(thisLocator, "dueDate", lhsDueDate), LocatorUtils.property(thatLocator, "dueDate", rhsDueDate), lhsDueDate, rhsDueDate, (this.dueDate!= null), (that.dueDate!= null))) { return false; } } { ReferenceType lhsSalesRepRef; lhsSalesRepRef = this.getSalesRepRef(); ReferenceType rhsSalesRepRef; rhsSalesRepRef = that.getSalesRepRef(); if (!strategy.equals(LocatorUtils.property(thisLocator, "salesRepRef", lhsSalesRepRef), LocatorUtils.property(thatLocator, "salesRepRef", rhsSalesRepRef), lhsSalesRepRef, rhsSalesRepRef, (this.salesRepRef!= null), (that.salesRepRef!= null))) { return false; } } { String lhsPONumber; lhsPONumber = this.getPONumber(); String rhsPONumber; rhsPONumber = that.getPONumber(); if (!strategy.equals(LocatorUtils.property(thisLocator, "poNumber", lhsPONumber), LocatorUtils.property(thatLocator, "poNumber", rhsPONumber), lhsPONumber, rhsPONumber, (this.poNumber!= null), (that.poNumber!= null))) { return false; } } { String lhsFOB; lhsFOB = this.getFOB(); String rhsFOB; rhsFOB = that.getFOB(); if (!strategy.equals(LocatorUtils.property(thisLocator, "fob", lhsFOB), LocatorUtils.property(thatLocator, "fob", rhsFOB), lhsFOB, rhsFOB, (this.fob!= null), (that.fob!= null))) { return false; } } { ReferenceType lhsShipMethodRef; lhsShipMethodRef = this.getShipMethodRef(); ReferenceType rhsShipMethodRef; rhsShipMethodRef = that.getShipMethodRef(); if (!strategy.equals(LocatorUtils.property(thisLocator, "shipMethodRef", lhsShipMethodRef), LocatorUtils.property(thatLocator, "shipMethodRef", rhsShipMethodRef), lhsShipMethodRef, rhsShipMethodRef, (this.shipMethodRef!= null), (that.shipMethodRef!= null))) { return false; } } { Date lhsShipDate; lhsShipDate = this.getShipDate(); Date rhsShipDate; rhsShipDate = that.getShipDate(); if (!strategy.equals(LocatorUtils.property(thisLocator, "shipDate", lhsShipDate), LocatorUtils.property(thatLocator, "shipDate", rhsShipDate), lhsShipDate, rhsShipDate, (this.shipDate!= null), (that.shipDate!= null))) { return false; } } { String lhsTrackingNum; lhsTrackingNum = this.getTrackingNum(); String rhsTrackingNum; rhsTrackingNum = that.getTrackingNum(); if (!strategy.equals(LocatorUtils.property(thisLocator, "trackingNum", lhsTrackingNum), LocatorUtils.property(thatLocator, "trackingNum", rhsTrackingNum), lhsTrackingNum, rhsTrackingNum, (this.trackingNum!= null), (that.trackingNum!= null))) { return false; } } { GlobalTaxCalculationEnum lhsGlobalTaxCalculation; lhsGlobalTaxCalculation = this.getGlobalTaxCalculation(); GlobalTaxCalculationEnum rhsGlobalTaxCalculation; rhsGlobalTaxCalculation = that.getGlobalTaxCalculation(); if (!strategy.equals(LocatorUtils.property(thisLocator, "globalTaxCalculation", lhsGlobalTaxCalculation), LocatorUtils.property(thatLocator, "globalTaxCalculation", rhsGlobalTaxCalculation), lhsGlobalTaxCalculation, rhsGlobalTaxCalculation, (this.globalTaxCalculation!= null), (that.globalTaxCalculation!= null))) { return false; } } { BigDecimal lhsTotalAmt; lhsTotalAmt = this.getTotalAmt(); BigDecimal rhsTotalAmt; rhsTotalAmt = that.getTotalAmt(); if (!strategy.equals(LocatorUtils.property(thisLocator, "totalAmt", lhsTotalAmt), LocatorUtils.property(thatLocator, "totalAmt", rhsTotalAmt), lhsTotalAmt, rhsTotalAmt, (this.totalAmt!= null), (that.totalAmt!= null))) { return false; } } { BigDecimal lhsHomeTotalAmt; lhsHomeTotalAmt = this.getHomeTotalAmt(); BigDecimal rhsHomeTotalAmt; rhsHomeTotalAmt = that.getHomeTotalAmt(); if (!strategy.equals(LocatorUtils.property(thisLocator, "homeTotalAmt", lhsHomeTotalAmt), LocatorUtils.property(thatLocator, "homeTotalAmt", rhsHomeTotalAmt), lhsHomeTotalAmt, rhsHomeTotalAmt, (this.homeTotalAmt!= null), (that.homeTotalAmt!= null))) { return false; } } { Boolean lhsApplyTaxAfterDiscount; lhsApplyTaxAfterDiscount = this.isApplyTaxAfterDiscount(); Boolean rhsApplyTaxAfterDiscount; rhsApplyTaxAfterDiscount = that.isApplyTaxAfterDiscount(); if (!strategy.equals(LocatorUtils.property(thisLocator, "applyTaxAfterDiscount", lhsApplyTaxAfterDiscount), LocatorUtils.property(thatLocator, "applyTaxAfterDiscount", rhsApplyTaxAfterDiscount), lhsApplyTaxAfterDiscount, rhsApplyTaxAfterDiscount, (this.applyTaxAfterDiscount!= null), (that.applyTaxAfterDiscount!= null))) { return false; } } { Boolean lhsShippingTaxIncludedInTotalTax; lhsShippingTaxIncludedInTotalTax = this.isShippingTaxIncludedInTotalTax(); Boolean rhsShippingTaxIncludedInTotalTax; rhsShippingTaxIncludedInTotalTax = that.isShippingTaxIncludedInTotalTax(); if (!strategy.equals(LocatorUtils.property(thisLocator, "shippingTaxIncludedInTotalTax", lhsShippingTaxIncludedInTotalTax), LocatorUtils.property(thatLocator, "shippingTaxIncludedInTotalTax", rhsShippingTaxIncludedInTotalTax), lhsShippingTaxIncludedInTotalTax, rhsShippingTaxIncludedInTotalTax, (this.shippingTaxIncludedInTotalTax!= null), (that.shippingTaxIncludedInTotalTax!= null))) { return false; } } { ReferenceType lhsTemplateRef; lhsTemplateRef = this.getTemplateRef(); ReferenceType rhsTemplateRef; rhsTemplateRef = that.getTemplateRef(); if (!strategy.equals(LocatorUtils.property(thisLocator, "templateRef", lhsTemplateRef), LocatorUtils.property(thatLocator, "templateRef", rhsTemplateRef), lhsTemplateRef, rhsTemplateRef, (this.templateRef!= null), (that.templateRef!= null))) { return false; } } { PrintStatusEnum lhsPrintStatus; lhsPrintStatus = this.getPrintStatus(); PrintStatusEnum rhsPrintStatus; rhsPrintStatus = that.getPrintStatus(); if (!strategy.equals(LocatorUtils.property(thisLocator, "printStatus", lhsPrintStatus), LocatorUtils.property(thatLocator, "printStatus", rhsPrintStatus), lhsPrintStatus, rhsPrintStatus, (this.printStatus!= null), (that.printStatus!= null))) { return false; } } { EmailStatusEnum lhsEmailStatus; lhsEmailStatus = this.getEmailStatus(); EmailStatusEnum rhsEmailStatus; rhsEmailStatus = that.getEmailStatus(); if (!strategy.equals(LocatorUtils.property(thisLocator, "emailStatus", lhsEmailStatus), LocatorUtils.property(thatLocator, "emailStatus", rhsEmailStatus), lhsEmailStatus, rhsEmailStatus, (this.emailStatus!= null), (that.emailStatus!= null))) { return false; } } { EmailAddress lhsBillEmail; lhsBillEmail = this.getBillEmail(); EmailAddress rhsBillEmail; rhsBillEmail = that.getBillEmail(); if (!strategy.equals(LocatorUtils.property(thisLocator, "billEmail", lhsBillEmail), LocatorUtils.property(thatLocator, "billEmail", rhsBillEmail), lhsBillEmail, rhsBillEmail, (this.billEmail!= null), (that.billEmail!= null))) { return false; } } { EmailAddress lhsBillEmailCc; lhsBillEmailCc = this.getBillEmailCc(); EmailAddress rhsBillEmailCc; rhsBillEmailCc = that.getBillEmailCc(); if (!strategy.equals(LocatorUtils.property(thisLocator, "billEmailCc", lhsBillEmailCc), LocatorUtils.property(thatLocator, "billEmailCc", rhsBillEmailCc), lhsBillEmailCc, rhsBillEmailCc, (this.billEmailCc!= null), (that.billEmailCc!= null))) { return false; } } { EmailAddress lhsBillEmailBcc; lhsBillEmailBcc = this.getBillEmailBcc(); EmailAddress rhsBillEmailBcc; rhsBillEmailBcc = that.getBillEmailBcc(); if (!strategy.equals(LocatorUtils.property(thisLocator, "billEmailBcc", lhsBillEmailBcc), LocatorUtils.property(thatLocator, "billEmailBcc", rhsBillEmailBcc), lhsBillEmailBcc, rhsBillEmailBcc, (this.billEmailBcc!= null), (that.billEmailBcc!= null))) { return false; } } { ReferenceType lhsARAccountRef; lhsARAccountRef = this.getARAccountRef(); ReferenceType rhsARAccountRef; rhsARAccountRef = that.getARAccountRef(); if (!strategy.equals(LocatorUtils.property(thisLocator, "arAccountRef", lhsARAccountRef), LocatorUtils.property(thatLocator, "arAccountRef", rhsARAccountRef), lhsARAccountRef, rhsARAccountRef, (this.arAccountRef!= null), (that.arAccountRef!= null))) { return false; } } { BigDecimal lhsBalance; lhsBalance = this.getBalance(); BigDecimal rhsBalance; rhsBalance = that.getBalance(); if (!strategy.equals(LocatorUtils.property(thisLocator, "balance", lhsBalance), LocatorUtils.property(thatLocator, "balance", rhsBalance), lhsBalance, rhsBalance, (this.balance!= null), (that.balance!= null))) { return false; } } { BigDecimal lhsHomeBalance; lhsHomeBalance = this.getHomeBalance(); BigDecimal rhsHomeBalance; rhsHomeBalance = that.getHomeBalance(); if (!strategy.equals(LocatorUtils.property(thisLocator, "homeBalance", lhsHomeBalance), LocatorUtils.property(thatLocator, "homeBalance", rhsHomeBalance), lhsHomeBalance, rhsHomeBalance, (this.homeBalance!= null), (that.homeBalance!= null))) { return false; } } { Boolean lhsFinanceCharge; lhsFinanceCharge = this.isFinanceCharge(); Boolean rhsFinanceCharge; rhsFinanceCharge = that.isFinanceCharge(); if (!strategy.equals(LocatorUtils.property(thisLocator, "financeCharge", lhsFinanceCharge), LocatorUtils.property(thatLocator, "financeCharge", rhsFinanceCharge), lhsFinanceCharge, rhsFinanceCharge, (this.financeCharge!= null), (that.financeCharge!= null))) { return false; } } { ReferenceType lhsPaymentMethodRef; lhsPaymentMethodRef = this.getPaymentMethodRef(); ReferenceType rhsPaymentMethodRef; rhsPaymentMethodRef = that.getPaymentMethodRef(); if (!strategy.equals(LocatorUtils.property(thisLocator, "paymentMethodRef", lhsPaymentMethodRef), LocatorUtils.property(thatLocator, "paymentMethodRef", rhsPaymentMethodRef), lhsPaymentMethodRef, rhsPaymentMethodRef, (this.paymentMethodRef!= null), (that.paymentMethodRef!= null))) { return false; } } { String lhsPaymentRefNum; lhsPaymentRefNum = this.getPaymentRefNum(); String rhsPaymentRefNum; rhsPaymentRefNum = that.getPaymentRefNum(); if (!strategy.equals(LocatorUtils.property(thisLocator, "paymentRefNum", lhsPaymentRefNum), LocatorUtils.property(thatLocator, "paymentRefNum", rhsPaymentRefNum), lhsPaymentRefNum, rhsPaymentRefNum, (this.paymentRefNum!= null), (that.paymentRefNum!= null))) { return false; } } { PaymentTypeEnum lhsPaymentType; lhsPaymentType = this.getPaymentType(); PaymentTypeEnum rhsPaymentType; rhsPaymentType = that.getPaymentType(); if (!strategy.equals(LocatorUtils.property(thisLocator, "paymentType", lhsPaymentType), LocatorUtils.property(thatLocator, "paymentType", rhsPaymentType), lhsPaymentType, rhsPaymentType, (this.paymentType!= null), (that.paymentType!= null))) { return false; } } { CheckPayment lhsCheckPayment; lhsCheckPayment = this.getCheckPayment(); CheckPayment rhsCheckPayment; rhsCheckPayment = that.getCheckPayment(); if (!strategy.equals(LocatorUtils.property(thisLocator, "checkPayment", lhsCheckPayment), LocatorUtils.property(thatLocator, "checkPayment", rhsCheckPayment), lhsCheckPayment, rhsCheckPayment, (this.checkPayment!= null), (that.checkPayment!= null))) { return false; } } { CreditCardPayment lhsCreditCardPayment; lhsCreditCardPayment = this.getCreditCardPayment(); CreditCardPayment rhsCreditCardPayment; rhsCreditCardPayment = that.getCreditCardPayment(); if (!strategy.equals(LocatorUtils.property(thisLocator, "creditCardPayment", lhsCreditCardPayment), LocatorUtils.property(thatLocator, "creditCardPayment", rhsCreditCardPayment), lhsCreditCardPayment, rhsCreditCardPayment, (this.creditCardPayment!= null), (that.creditCardPayment!= null))) { return false; } } { ReferenceType lhsDepositToAccountRef; lhsDepositToAccountRef = this.getDepositToAccountRef(); ReferenceType rhsDepositToAccountRef; rhsDepositToAccountRef = that.getDepositToAccountRef(); if (!strategy.equals(LocatorUtils.property(thisLocator, "depositToAccountRef", lhsDepositToAccountRef), LocatorUtils.property(thatLocator, "depositToAccountRef", rhsDepositToAccountRef), lhsDepositToAccountRef, rhsDepositToAccountRef, (this.depositToAccountRef!= null), (that.depositToAccountRef!= null))) { return false; } } { TransactionDeliveryInfo lhsDeliveryInfo; lhsDeliveryInfo = this.getDeliveryInfo(); TransactionDeliveryInfo rhsDeliveryInfo; rhsDeliveryInfo = that.getDeliveryInfo(); if (!strategy.equals(LocatorUtils.property(thisLocator, "deliveryInfo", lhsDeliveryInfo), LocatorUtils.property(thatLocator, "deliveryInfo", rhsDeliveryInfo), lhsDeliveryInfo, rhsDeliveryInfo, (this.deliveryInfo!= null), (that.deliveryInfo!= null))) { return false; } } { BigDecimal lhsDiscountRate; lhsDiscountRate = this.getDiscountRate(); BigDecimal rhsDiscountRate; rhsDiscountRate = that.getDiscountRate(); if (!strategy.equals(LocatorUtils.property(thisLocator, "discountRate", lhsDiscountRate), LocatorUtils.property(thatLocator, "discountRate", rhsDiscountRate), lhsDiscountRate, rhsDiscountRate, (this.discountRate!= null), (that.discountRate!= null))) { return false; } } { BigDecimal lhsDiscountAmt; lhsDiscountAmt = this.getDiscountAmt(); BigDecimal rhsDiscountAmt; rhsDiscountAmt = that.getDiscountAmt(); if (!strategy.equals(LocatorUtils.property(thisLocator, "discountAmt", lhsDiscountAmt), LocatorUtils.property(thatLocator, "discountAmt", rhsDiscountAmt), lhsDiscountAmt, rhsDiscountAmt, (this.discountAmt!= null), (that.discountAmt!= null))) { return false; } } { String lhsGovtTxnRefIdentifier; lhsGovtTxnRefIdentifier = this.getGovtTxnRefIdentifier(); String rhsGovtTxnRefIdentifier; rhsGovtTxnRefIdentifier = that.getGovtTxnRefIdentifier(); if (!strategy.equals(LocatorUtils.property(thisLocator, "govtTxnRefIdentifier", lhsGovtTxnRefIdentifier), LocatorUtils.property(thatLocator, "govtTxnRefIdentifier", rhsGovtTxnRefIdentifier), lhsGovtTxnRefIdentifier, rhsGovtTxnRefIdentifier, (this.govtTxnRefIdentifier!= null), (that.govtTxnRefIdentifier!= null))) { return false; } } { ReferenceType lhsTaxExemptionRef; lhsTaxExemptionRef = this.getTaxExemptionRef(); ReferenceType rhsTaxExemptionRef; rhsTaxExemptionRef = that.getTaxExemptionRef(); if (!strategy.equals(LocatorUtils.property(thisLocator, "taxExemptionRef", lhsTaxExemptionRef), LocatorUtils.property(thatLocator, "taxExemptionRef", rhsTaxExemptionRef), lhsTaxExemptionRef, rhsTaxExemptionRef, (this.taxExemptionRef!= null), (that.taxExemptionRef!= null))) { return false; } } return true; } public boolean equals(Object object) { final EqualsStrategy2 strategy = JAXBEqualsStrategy.INSTANCE; return equals(null, null, object, strategy); } public int hashCode(ObjectLocator locator, HashCodeStrategy2 strategy) { int currentHashCode = super.hashCode(locator, strategy); { Boolean theAutoDocNumber; theAutoDocNumber = this.isAutoDocNumber(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "autoDocNumber", theAutoDocNumber), currentHashCode, theAutoDocNumber, (this.autoDocNumber!= null)); } { ReferenceType theCustomerRef; theCustomerRef = this.getCustomerRef(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "customerRef", theCustomerRef), currentHashCode, theCustomerRef, (this.customerRef!= null)); } { MemoRef theCustomerMemo; theCustomerMemo = this.getCustomerMemo(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "customerMemo", theCustomerMemo), currentHashCode, theCustomerMemo, (this.customerMemo!= null)); } { PhysicalAddress theBillAddr; theBillAddr = this.getBillAddr(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "billAddr", theBillAddr), currentHashCode, theBillAddr, (this.billAddr!= null)); } { PhysicalAddress theShipAddr; theShipAddr = this.getShipAddr(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "shipAddr", theShipAddr), currentHashCode, theShipAddr, (this.shipAddr!= null)); } { Boolean theFreeFormAddress; theFreeFormAddress = this.isFreeFormAddress(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "freeFormAddress", theFreeFormAddress), currentHashCode, theFreeFormAddress, (this.freeFormAddress!= null)); } { PhysicalAddress theShipFromAddr; theShipFromAddr = this.getShipFromAddr(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "shipFromAddr", theShipFromAddr), currentHashCode, theShipFromAddr, (this.shipFromAddr!= null)); } { ReferenceType theRemitToRef; theRemitToRef = this.getRemitToRef(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "remitToRef", theRemitToRef), currentHashCode, theRemitToRef, (this.remitToRef!= null)); } { ReferenceType theClassRef; theClassRef = this.getClassRef(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "classRef", theClassRef), currentHashCode, theClassRef, (this.classRef!= null)); } { ReferenceType theSalesTermRef; theSalesTermRef = this.getSalesTermRef(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "salesTermRef", theSalesTermRef), currentHashCode, theSalesTermRef, (this.salesTermRef!= null)); } { Date theDueDate; theDueDate = this.getDueDate(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "dueDate", theDueDate), currentHashCode, theDueDate, (this.dueDate!= null)); } { ReferenceType theSalesRepRef; theSalesRepRef = this.getSalesRepRef(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "salesRepRef", theSalesRepRef), currentHashCode, theSalesRepRef, (this.salesRepRef!= null)); } { String thePONumber; thePONumber = this.getPONumber(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "poNumber", thePONumber), currentHashCode, thePONumber, (this.poNumber!= null)); } { String theFOB; theFOB = this.getFOB(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "fob", theFOB), currentHashCode, theFOB, (this.fob!= null)); } { ReferenceType theShipMethodRef; theShipMethodRef = this.getShipMethodRef(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "shipMethodRef", theShipMethodRef), currentHashCode, theShipMethodRef, (this.shipMethodRef!= null)); } { Date theShipDate; theShipDate = this.getShipDate(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "shipDate", theShipDate), currentHashCode, theShipDate, (this.shipDate!= null)); } { String theTrackingNum; theTrackingNum = this.getTrackingNum(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "trackingNum", theTrackingNum), currentHashCode, theTrackingNum, (this.trackingNum!= null)); } { GlobalTaxCalculationEnum theGlobalTaxCalculation; theGlobalTaxCalculation = this.getGlobalTaxCalculation(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "globalTaxCalculation", theGlobalTaxCalculation), currentHashCode, theGlobalTaxCalculation, (this.globalTaxCalculation!= null)); } { BigDecimal theTotalAmt; theTotalAmt = this.getTotalAmt(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "totalAmt", theTotalAmt), currentHashCode, theTotalAmt, (this.totalAmt!= null)); } { BigDecimal theHomeTotalAmt; theHomeTotalAmt = this.getHomeTotalAmt(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "homeTotalAmt", theHomeTotalAmt), currentHashCode, theHomeTotalAmt, (this.homeTotalAmt!= null)); } { Boolean theApplyTaxAfterDiscount; theApplyTaxAfterDiscount = this.isApplyTaxAfterDiscount(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "applyTaxAfterDiscount", theApplyTaxAfterDiscount), currentHashCode, theApplyTaxAfterDiscount, (this.applyTaxAfterDiscount!= null)); } { Boolean theShippingTaxIncludedInTotalTax; theShippingTaxIncludedInTotalTax = this.isShippingTaxIncludedInTotalTax(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "shippingTaxIncludedInTotalTax", theShippingTaxIncludedInTotalTax), currentHashCode, theShippingTaxIncludedInTotalTax, (this.shippingTaxIncludedInTotalTax!= null)); } { ReferenceType theTemplateRef; theTemplateRef = this.getTemplateRef(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "templateRef", theTemplateRef), currentHashCode, theTemplateRef, (this.templateRef!= null)); } { PrintStatusEnum thePrintStatus; thePrintStatus = this.getPrintStatus(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "printStatus", thePrintStatus), currentHashCode, thePrintStatus, (this.printStatus!= null)); } { EmailStatusEnum theEmailStatus; theEmailStatus = this.getEmailStatus(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "emailStatus", theEmailStatus), currentHashCode, theEmailStatus, (this.emailStatus!= null)); } { EmailAddress theBillEmail; theBillEmail = this.getBillEmail(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "billEmail", theBillEmail), currentHashCode, theBillEmail, (this.billEmail!= null)); } { EmailAddress theBillEmailCc; theBillEmailCc = this.getBillEmailCc(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "billEmailCc", theBillEmailCc), currentHashCode, theBillEmailCc, (this.billEmailCc!= null)); } { EmailAddress theBillEmailBcc; theBillEmailBcc = this.getBillEmailBcc(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "billEmailBcc", theBillEmailBcc), currentHashCode, theBillEmailBcc, (this.billEmailBcc!= null)); } { ReferenceType theARAccountRef; theARAccountRef = this.getARAccountRef(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "arAccountRef", theARAccountRef), currentHashCode, theARAccountRef, (this.arAccountRef!= null)); } { BigDecimal theBalance; theBalance = this.getBalance(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "balance", theBalance), currentHashCode, theBalance, (this.balance!= null)); } { BigDecimal theHomeBalance; theHomeBalance = this.getHomeBalance(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "homeBalance", theHomeBalance), currentHashCode, theHomeBalance, (this.homeBalance!= null)); } { Boolean theFinanceCharge; theFinanceCharge = this.isFinanceCharge(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "financeCharge", theFinanceCharge), currentHashCode, theFinanceCharge, (this.financeCharge!= null)); } { ReferenceType thePaymentMethodRef; thePaymentMethodRef = this.getPaymentMethodRef(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "paymentMethodRef", thePaymentMethodRef), currentHashCode, thePaymentMethodRef, (this.paymentMethodRef!= null)); } { String thePaymentRefNum; thePaymentRefNum = this.getPaymentRefNum(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "paymentRefNum", thePaymentRefNum), currentHashCode, thePaymentRefNum, (this.paymentRefNum!= null)); } { PaymentTypeEnum thePaymentType; thePaymentType = this.getPaymentType(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "paymentType", thePaymentType), currentHashCode, thePaymentType, (this.paymentType!= null)); } { CheckPayment theCheckPayment; theCheckPayment = this.getCheckPayment(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "checkPayment", theCheckPayment), currentHashCode, theCheckPayment, (this.checkPayment!= null)); } { CreditCardPayment theCreditCardPayment; theCreditCardPayment = this.getCreditCardPayment(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "creditCardPayment", theCreditCardPayment), currentHashCode, theCreditCardPayment, (this.creditCardPayment!= null)); } { ReferenceType theDepositToAccountRef; theDepositToAccountRef = this.getDepositToAccountRef(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "depositToAccountRef", theDepositToAccountRef), currentHashCode, theDepositToAccountRef, (this.depositToAccountRef!= null)); } { TransactionDeliveryInfo theDeliveryInfo; theDeliveryInfo = this.getDeliveryInfo(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "deliveryInfo", theDeliveryInfo), currentHashCode, theDeliveryInfo, (this.deliveryInfo!= null)); } { BigDecimal theDiscountRate; theDiscountRate = this.getDiscountRate(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "discountRate", theDiscountRate), currentHashCode, theDiscountRate, (this.discountRate!= null)); } { BigDecimal theDiscountAmt; theDiscountAmt = this.getDiscountAmt(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "discountAmt", theDiscountAmt), currentHashCode, theDiscountAmt, (this.discountAmt!= null)); } { String theGovtTxnRefIdentifier; theGovtTxnRefIdentifier = this.getGovtTxnRefIdentifier(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "govtTxnRefIdentifier", theGovtTxnRefIdentifier), currentHashCode, theGovtTxnRefIdentifier, (this.govtTxnRefIdentifier!= null)); } { ReferenceType theTaxExemptionRef; theTaxExemptionRef = this.getTaxExemptionRef(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "taxExemptionRef", theTaxExemptionRef), currentHashCode, theTaxExemptionRef, (this.taxExemptionRef!= null)); } return currentHashCode; } public int hashCode() { final HashCodeStrategy2 strategy = JAXBHashCodeStrategy.INSTANCE; return this.hashCode(null, strategy); } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy