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

com.intuit.ipp.data.Customer 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.ArrayList;
import java.util.Date;
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.XmlSchemaType;
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: QBO: The Customer entityrepresents the consumer of the service or the product that your business offers. QBO allows categorizing the customers in a way that is meaningful to the business. For example, you can set up a category of customers to indicate which industry a customer represents, the geographic location of a customer, or how a customer came to know about the business. The categorization can be then used for reports or mails.
 * 				Description: QBW: The Customer entity is a consumer of the service or product that your business offers. While creating a customer, avoid entering  job data. If you enter a job data, the system can prevent you from adding   more jobs for that customer. You must first create the customer, and then create a job using that customer as a parent.
 * 				Business Rules: [li]The customer name must be unique.[/li][li]The customer name must not contain a colon (:).[/li][li]The e-mail address of the customer must contain "@" and "." (dot).[/li][li]The customer address field is mandatory.[/li]
 * 			
 * 
 * 

Java class for Customer complex type. * *

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

 * <complexType name="Customer">
 *   <complexContent>
 *     <extension base="{http://schema.intuit.com/finance/v3}NameBase">
 *       <sequence>
 *         <element name="Taxable" type="{http://www.w3.org/2001/XMLSchema}boolean" 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="OtherAddr" type="{http://schema.intuit.com/finance/v3}PhysicalAddress" maxOccurs="unbounded" minOccurs="0"/>
 *         <element name="ContactName" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
 *         <element name="AltContactName" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
 *         <element name="Notes" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
 *         <element name="Job" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
 *         <element name="BillWithParent" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
 *         <element name="RootCustomerRef" type="{http://schema.intuit.com/finance/v3}ReferenceType" minOccurs="0"/>
 *         <element name="ParentRef" type="{http://schema.intuit.com/finance/v3}ReferenceType" minOccurs="0"/>
 *         <element name="Level" type="{http://www.w3.org/2001/XMLSchema}int" minOccurs="0"/>
 *         <element name="CustomerTypeRef" 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="SalesRepRef" type="{http://schema.intuit.com/finance/v3}ReferenceType" minOccurs="0"/>
 *         <choice>
 *           <element name="TaxGroupCodeRef" type="{http://schema.intuit.com/finance/v3}ReferenceType" minOccurs="0"/>
 *           <element name="TaxRateRef" type="{http://schema.intuit.com/finance/v3}ReferenceType" minOccurs="0"/>
 *         </choice>
 *         <element name="PaymentMethodRef" type="{http://schema.intuit.com/finance/v3}ReferenceType" minOccurs="0"/>
 *         <element name="CCDetail" type="{http://schema.intuit.com/finance/v3}CreditChargeInfo" minOccurs="0"/>
 *         <element name="PriceLevelRef" 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="OpenBalanceDate" type="{http://www.w3.org/2001/XMLSchema}date" minOccurs="0"/>
 *         <element name="BalanceWithJobs" type="{http://www.w3.org/2001/XMLSchema}decimal" minOccurs="0"/>
 *         <element name="CreditLimit" type="{http://www.w3.org/2001/XMLSchema}decimal" minOccurs="0"/>
 *         <element name="AcctNum" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
 *         <element name="CurrencyRef" type="{http://schema.intuit.com/finance/v3}ReferenceType" minOccurs="0"/>
 *         <element name="OverDueBalance" type="{http://www.w3.org/2001/XMLSchema}decimal" minOccurs="0"/>
 *         <element name="TotalRevenue" type="{http://www.w3.org/2001/XMLSchema}decimal" minOccurs="0"/>
 *         <element name="TotalExpense" type="{http://www.w3.org/2001/XMLSchema}decimal" minOccurs="0"/>
 *         <element name="PreferredDeliveryMethod" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
 *         <element name="ResaleNum" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
 *         <element name="JobInfo" type="{http://schema.intuit.com/finance/v3}JobInfo" minOccurs="0"/>
 *         <element name="TDSEnabled" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
 *         <element name="CustomerEx" type="{http://schema.intuit.com/finance/v3}IntuitAnyType" minOccurs="0"/>
 *         <element name="SecondaryTaxIdentifier" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
 *         <element name="ARAccountRef" type="{http://schema.intuit.com/finance/v3}ReferenceType" minOccurs="0"/>
 *         <element name="PrimaryTaxIdentifier" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
 *         <element name="TaxExemptionReasonId" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
 *         <element name="IsProject" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
 *         <element name="BusinessNumber" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
 *         <element name="GSTIN" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
 *         <element name="GSTRegistrationType" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
 *         <element name="IsCISContractor" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
 *         <element name="ClientCompanyId" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
 *         <element name="ClientEntityId" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
 *         <element name="Source" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
 *         <element name="TaxRegime" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
 *       </sequence>
 *     </extension>
 *   </complexContent>
 * </complexType>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "Customer", propOrder = { "taxable", "billAddr", "shipAddr", "otherAddr", "contactName", "altContactName", "notes", "job", "billWithParent", "rootCustomerRef", "parentRef", "level", "customerTypeRef", "salesTermRef", "salesRepRef", "taxGroupCodeRef", "taxRateRef", "paymentMethodRef", "ccDetail", "priceLevelRef", "balance", "openBalanceDate", "balanceWithJobs", "creditLimit", "acctNum", "currencyRef", "overDueBalance", "totalRevenue", "totalExpense", "preferredDeliveryMethod", "resaleNum", "jobInfo", "tdsEnabled", "customerEx", "secondaryTaxIdentifier", "arAccountRef", "primaryTaxIdentifier", "taxExemptionReasonId", "isProject", "businessNumber", "gstin", "gstRegistrationType", "isCISContractor", "clientCompanyId", "clientEntityId", "source", "taxRegime" }) public class Customer extends NameBase implements Serializable, Equals2, HashCode2 { private final static long serialVersionUID = 1L; @XmlElement(name = "Taxable") protected Boolean taxable; @XmlElement(name = "BillAddr") protected PhysicalAddress billAddr; @XmlElement(name = "ShipAddr") protected PhysicalAddress shipAddr; @XmlElement(name = "OtherAddr") protected List otherAddr; @XmlElement(name = "ContactName") protected String contactName; @XmlElement(name = "AltContactName") protected String altContactName; @XmlElement(name = "Notes") protected String notes; @XmlElement(name = "Job") protected Boolean job; @XmlElement(name = "BillWithParent") protected Boolean billWithParent; @XmlElement(name = "RootCustomerRef") protected ReferenceType rootCustomerRef; @XmlElement(name = "ParentRef") protected ReferenceType parentRef; @XmlElement(name = "Level") protected Integer level; @XmlElement(name = "CustomerTypeRef") protected ReferenceType customerTypeRef; @XmlElement(name = "SalesTermRef") protected ReferenceType salesTermRef; @XmlElement(name = "SalesRepRef") protected ReferenceType salesRepRef; @XmlElement(name = "TaxGroupCodeRef") protected ReferenceType taxGroupCodeRef; @XmlElement(name = "TaxRateRef") protected ReferenceType taxRateRef; @XmlElement(name = "PaymentMethodRef") protected ReferenceType paymentMethodRef; @XmlElement(name = "CCDetail") protected CreditChargeInfo ccDetail; @XmlElement(name = "PriceLevelRef") protected ReferenceType priceLevelRef; @XmlElement(name = "Balance") protected BigDecimal balance; @XmlElement(name = "OpenBalanceDate", type = String.class) @XmlJavaTypeAdapter(DateAdapter.class) @XmlSchemaType(name = "date") protected Date openBalanceDate; @XmlElement(name = "BalanceWithJobs") protected BigDecimal balanceWithJobs; @XmlElement(name = "CreditLimit") protected BigDecimal creditLimit; @XmlElement(name = "AcctNum") protected String acctNum; @XmlElement(name = "CurrencyRef") protected ReferenceType currencyRef; @XmlElement(name = "OverDueBalance") protected BigDecimal overDueBalance; @XmlElement(name = "TotalRevenue") protected BigDecimal totalRevenue; @XmlElement(name = "TotalExpense") protected BigDecimal totalExpense; @XmlElement(name = "PreferredDeliveryMethod") protected String preferredDeliveryMethod; @XmlElement(name = "ResaleNum") protected String resaleNum; @XmlElement(name = "JobInfo") protected JobInfo jobInfo; @XmlElement(name = "TDSEnabled") protected Boolean tdsEnabled; @XmlElement(name = "CustomerEx") protected IntuitAnyType customerEx; @XmlElement(name = "SecondaryTaxIdentifier") protected String secondaryTaxIdentifier; @XmlElement(name = "ARAccountRef") protected ReferenceType arAccountRef; @XmlElement(name = "PrimaryTaxIdentifier") protected String primaryTaxIdentifier; @XmlElement(name = "TaxExemptionReasonId") protected String taxExemptionReasonId; @XmlElement(name = "IsProject") protected Boolean isProject; @XmlElement(name = "BusinessNumber") protected String businessNumber; @XmlElement(name = "GSTIN") protected String gstin; @XmlElement(name = "GSTRegistrationType") protected String gstRegistrationType; @XmlElement(name = "IsCISContractor") protected Boolean isCISContractor; @XmlElement(name = "ClientCompanyId") protected String clientCompanyId; @XmlElement(name = "ClientEntityId") protected String clientEntityId; @XmlElement(name = "Source") protected String source; @XmlElement(name = "TaxRegime") protected String taxRegime; /** * Gets the value of the taxable property. * * @return * possible object is * {@link Boolean } * */ public Boolean isTaxable() { return taxable; } /** * Sets the value of the taxable property. * * @param value * allowed object is * {@link Boolean } * */ public void setTaxable(Boolean value) { this.taxable = 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 otherAddr 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 otherAddr property. * *

* For example, to add a new item, do as follows: *

     *    getOtherAddr().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link PhysicalAddress } * * */ public List getOtherAddr() { if (otherAddr == null) { otherAddr = new ArrayList(); } return this.otherAddr; } /** * Gets the value of the contactName property. * * @return * possible object is * {@link String } * */ public String getContactName() { return contactName; } /** * Sets the value of the contactName property. * * @param value * allowed object is * {@link String } * */ public void setContactName(String value) { this.contactName = value; } /** * Gets the value of the altContactName property. * * @return * possible object is * {@link String } * */ public String getAltContactName() { return altContactName; } /** * Sets the value of the altContactName property. * * @param value * allowed object is * {@link String } * */ public void setAltContactName(String value) { this.altContactName = value; } /** * Gets the value of the notes property. * * @return * possible object is * {@link String } * */ public String getNotes() { return notes; } /** * Sets the value of the notes property. * * @param value * allowed object is * {@link String } * */ public void setNotes(String value) { this.notes = value; } /** * Gets the value of the job property. * * @return * possible object is * {@link Boolean } * */ public Boolean isJob() { return job; } /** * Sets the value of the job property. * * @param value * allowed object is * {@link Boolean } * */ public void setJob(Boolean value) { this.job = value; } /** * Gets the value of the billWithParent property. * * @return * possible object is * {@link Boolean } * */ public Boolean isBillWithParent() { return billWithParent; } /** * Sets the value of the billWithParent property. * * @param value * allowed object is * {@link Boolean } * */ public void setBillWithParent(Boolean value) { this.billWithParent = value; } /** * Gets the value of the rootCustomerRef property. * * @return * possible object is * {@link ReferenceType } * */ public ReferenceType getRootCustomerRef() { return rootCustomerRef; } /** * Sets the value of the rootCustomerRef property. * * @param value * allowed object is * {@link ReferenceType } * */ public void setRootCustomerRef(ReferenceType value) { this.rootCustomerRef = value; } /** * Gets the value of the parentRef property. * * @return * possible object is * {@link ReferenceType } * */ public ReferenceType getParentRef() { return parentRef; } /** * Sets the value of the parentRef property. * * @param value * allowed object is * {@link ReferenceType } * */ public void setParentRef(ReferenceType value) { this.parentRef = value; } /** * Gets the value of the level property. * * @return * possible object is * {@link Integer } * */ public Integer getLevel() { return level; } /** * Sets the value of the level property. * * @param value * allowed object is * {@link Integer } * */ public void setLevel(Integer value) { this.level = value; } /** * Gets the value of the customerTypeRef property. * * @return * possible object is * {@link ReferenceType } * */ public ReferenceType getCustomerTypeRef() { return customerTypeRef; } /** * Sets the value of the customerTypeRef property. * * @param value * allowed object is * {@link ReferenceType } * */ public void setCustomerTypeRef(ReferenceType value) { this.customerTypeRef = 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 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 taxGroupCodeRef property. * * @return * possible object is * {@link ReferenceType } * */ public ReferenceType getTaxGroupCodeRef() { return taxGroupCodeRef; } /** * Sets the value of the taxGroupCodeRef property. * * @param value * allowed object is * {@link ReferenceType } * */ public void setTaxGroupCodeRef(ReferenceType value) { this.taxGroupCodeRef = value; } /** * Gets the value of the taxRateRef property. * * @return * possible object is * {@link ReferenceType } * */ public ReferenceType getTaxRateRef() { return taxRateRef; } /** * Sets the value of the taxRateRef property. * * @param value * allowed object is * {@link ReferenceType } * */ public void setTaxRateRef(ReferenceType value) { this.taxRateRef = 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 ccDetail property. * * @return * possible object is * {@link CreditChargeInfo } * */ public CreditChargeInfo getCCDetail() { return ccDetail; } /** * Sets the value of the ccDetail property. * * @param value * allowed object is * {@link CreditChargeInfo } * */ public void setCCDetail(CreditChargeInfo value) { this.ccDetail = value; } /** * Gets the value of the priceLevelRef property. * * @return * possible object is * {@link ReferenceType } * */ public ReferenceType getPriceLevelRef() { return priceLevelRef; } /** * Sets the value of the priceLevelRef property. * * @param value * allowed object is * {@link ReferenceType } * */ public void setPriceLevelRef(ReferenceType value) { this.priceLevelRef = 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 openBalanceDate property. * * @return * possible object is * {@link String } * */ public Date getOpenBalanceDate() { return openBalanceDate; } /** * Sets the value of the openBalanceDate property. * * @param value * allowed object is * {@link String } * */ public void setOpenBalanceDate(Date value) { this.openBalanceDate = value; } /** * Gets the value of the balanceWithJobs property. * * @return * possible object is * {@link BigDecimal } * */ public BigDecimal getBalanceWithJobs() { return balanceWithJobs; } /** * Sets the value of the balanceWithJobs property. * * @param value * allowed object is * {@link BigDecimal } * */ public void setBalanceWithJobs(BigDecimal value) { this.balanceWithJobs = value; } /** * Gets the value of the creditLimit property. * * @return * possible object is * {@link BigDecimal } * */ public BigDecimal getCreditLimit() { return creditLimit; } /** * Sets the value of the creditLimit property. * * @param value * allowed object is * {@link BigDecimal } * */ public void setCreditLimit(BigDecimal value) { this.creditLimit = value; } /** * Gets the value of the acctNum property. * * @return * possible object is * {@link String } * */ public String getAcctNum() { return acctNum; } /** * Sets the value of the acctNum property. * * @param value * allowed object is * {@link String } * */ public void setAcctNum(String value) { this.acctNum = value; } /** * Gets the value of the currencyRef property. * * @return * possible object is * {@link ReferenceType } * */ public ReferenceType getCurrencyRef() { return currencyRef; } /** * Sets the value of the currencyRef property. * * @param value * allowed object is * {@link ReferenceType } * */ public void setCurrencyRef(ReferenceType value) { this.currencyRef = value; } /** * Gets the value of the overDueBalance property. * * @return * possible object is * {@link BigDecimal } * */ public BigDecimal getOverDueBalance() { return overDueBalance; } /** * Sets the value of the overDueBalance property. * * @param value * allowed object is * {@link BigDecimal } * */ public void setOverDueBalance(BigDecimal value) { this.overDueBalance = value; } /** * Gets the value of the totalRevenue property. * * @return * possible object is * {@link BigDecimal } * */ public BigDecimal getTotalRevenue() { return totalRevenue; } /** * Sets the value of the totalRevenue property. * * @param value * allowed object is * {@link BigDecimal } * */ public void setTotalRevenue(BigDecimal value) { this.totalRevenue = value; } /** * Gets the value of the totalExpense property. * * @return * possible object is * {@link BigDecimal } * */ public BigDecimal getTotalExpense() { return totalExpense; } /** * Sets the value of the totalExpense property. * * @param value * allowed object is * {@link BigDecimal } * */ public void setTotalExpense(BigDecimal value) { this.totalExpense = value; } /** * Gets the value of the preferredDeliveryMethod property. * * @return * possible object is * {@link String } * */ public String getPreferredDeliveryMethod() { return preferredDeliveryMethod; } /** * Sets the value of the preferredDeliveryMethod property. * * @param value * allowed object is * {@link String } * */ public void setPreferredDeliveryMethod(String value) { this.preferredDeliveryMethod = value; } /** * Gets the value of the resaleNum property. * * @return * possible object is * {@link String } * */ public String getResaleNum() { return resaleNum; } /** * Sets the value of the resaleNum property. * * @param value * allowed object is * {@link String } * */ public void setResaleNum(String value) { this.resaleNum = value; } /** * Gets the value of the jobInfo property. * * @return * possible object is * {@link JobInfo } * */ public JobInfo getJobInfo() { return jobInfo; } /** * Sets the value of the jobInfo property. * * @param value * allowed object is * {@link JobInfo } * */ public void setJobInfo(JobInfo value) { this.jobInfo = value; } /** * Gets the value of the tdsEnabled property. * * @return * possible object is * {@link Boolean } * */ public Boolean isTDSEnabled() { return tdsEnabled; } /** * Sets the value of the tdsEnabled property. * * @param value * allowed object is * {@link Boolean } * */ public void setTDSEnabled(Boolean value) { this.tdsEnabled = value; } /** * Gets the value of the customerEx property. * * @return * possible object is * {@link IntuitAnyType } * */ public IntuitAnyType getCustomerEx() { return customerEx; } /** * Sets the value of the customerEx property. * * @param value * allowed object is * {@link IntuitAnyType } * */ public void setCustomerEx(IntuitAnyType value) { this.customerEx = value; } /** * Gets the value of the secondaryTaxIdentifier property. * * @return * possible object is * {@link String } * */ public String getSecondaryTaxIdentifier() { return secondaryTaxIdentifier; } /** * Sets the value of the secondaryTaxIdentifier property. * * @param value * allowed object is * {@link String } * */ public void setSecondaryTaxIdentifier(String value) { this.secondaryTaxIdentifier = 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 primaryTaxIdentifier property. * * @return * possible object is * {@link String } * */ public String getPrimaryTaxIdentifier() { return primaryTaxIdentifier; } /** * Sets the value of the primaryTaxIdentifier property. * * @param value * allowed object is * {@link String } * */ public void setPrimaryTaxIdentifier(String value) { this.primaryTaxIdentifier = value; } /** * Gets the value of the taxExemptionReasonId property. * * @return * possible object is * {@link String } * */ public String getTaxExemptionReasonId() { return taxExemptionReasonId; } /** * Sets the value of the taxExemptionReasonId property. * * @param value * allowed object is * {@link String } * */ public void setTaxExemptionReasonId(String value) { this.taxExemptionReasonId = value; } /** * Gets the value of the isProject property. * * @return * possible object is * {@link Boolean } * */ public Boolean isIsProject() { return isProject; } /** * Sets the value of the isProject property. * * @param value * allowed object is * {@link Boolean } * */ public void setIsProject(Boolean value) { this.isProject = value; } /** * Gets the value of the businessNumber property. * * @return * possible object is * {@link String } * */ public String getBusinessNumber() { return businessNumber; } /** * Sets the value of the businessNumber property. * * @param value * allowed object is * {@link String } * */ public void setBusinessNumber(String value) { this.businessNumber = value; } /** * Gets the value of the gstin property. * * @return * possible object is * {@link String } * */ public String getGSTIN() { return gstin; } /** * Sets the value of the gstin property. * * @param value * allowed object is * {@link String } * */ public void setGSTIN(String value) { this.gstin = value; } /** * Gets the value of the gstRegistrationType property. * * @return * possible object is * {@link String } * */ public String getGSTRegistrationType() { return gstRegistrationType; } /** * Sets the value of the gstRegistrationType property. * * @param value * allowed object is * {@link String } * */ public void setGSTRegistrationType(String value) { this.gstRegistrationType = value; } /** * Gets the value of the isCISContractor property. * * @return * possible object is * {@link Boolean } * */ public Boolean isIsCISContractor() { return isCISContractor; } /** * Sets the value of the isCISContractor property. * * @param value * allowed object is * {@link Boolean } * */ public void setIsCISContractor(Boolean value) { this.isCISContractor = value; } /** * Gets the value of the clientCompanyId property. * * @return * possible object is * {@link String } * */ public String getClientCompanyId() { return clientCompanyId; } /** * Sets the value of the clientCompanyId property. * * @param value * allowed object is * {@link String } * */ public void setClientCompanyId(String value) { this.clientCompanyId = value; } /** * Gets the value of the clientEntityId property. * * @return * possible object is * {@link String } * */ public String getClientEntityId() { return clientEntityId; } /** * Sets the value of the clientEntityId property. * * @param value * allowed object is * {@link String } * */ public void setClientEntityId(String value) { this.clientEntityId = value; } /** * Gets the value of the source property. * * @return * possible object is * {@link String } * */ public String getSource() { return source; } /** * Sets the value of the source property. * * @param value * allowed object is * {@link String } * */ public void setSource(String value) { this.source = value; } /** * Gets the value of the taxRegime property. * * @return * possible object is * {@link String } * */ public String getTaxRegime() { return taxRegime; } /** * Sets the value of the taxRegime property. * * @param value * allowed object is * {@link String } * */ public void setTaxRegime(String value) { this.taxRegime = value; } /** * Sets the value of the otherAddr property. * * @param otherAddr * allowed object is * {@link PhysicalAddress } * */ public void setOtherAddr(List otherAddr) { this.otherAddr = otherAddr; } 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 Customer that = ((Customer) object); { Boolean lhsTaxable; lhsTaxable = this.isTaxable(); Boolean rhsTaxable; rhsTaxable = that.isTaxable(); if (!strategy.equals(LocatorUtils.property(thisLocator, "taxable", lhsTaxable), LocatorUtils.property(thatLocator, "taxable", rhsTaxable), lhsTaxable, rhsTaxable, (this.taxable!= null), (that.taxable!= 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; } } { List lhsOtherAddr; lhsOtherAddr = (((this.otherAddr!= null)&&(!this.otherAddr.isEmpty()))?this.getOtherAddr():null); List rhsOtherAddr; rhsOtherAddr = (((that.otherAddr!= null)&&(!that.otherAddr.isEmpty()))?that.getOtherAddr():null); if (!strategy.equals(LocatorUtils.property(thisLocator, "otherAddr", lhsOtherAddr), LocatorUtils.property(thatLocator, "otherAddr", rhsOtherAddr), lhsOtherAddr, rhsOtherAddr, ((this.otherAddr!= null)&&(!this.otherAddr.isEmpty())), ((that.otherAddr!= null)&&(!that.otherAddr.isEmpty())))) { return false; } } { String lhsContactName; lhsContactName = this.getContactName(); String rhsContactName; rhsContactName = that.getContactName(); if (!strategy.equals(LocatorUtils.property(thisLocator, "contactName", lhsContactName), LocatorUtils.property(thatLocator, "contactName", rhsContactName), lhsContactName, rhsContactName, (this.contactName!= null), (that.contactName!= null))) { return false; } } { String lhsAltContactName; lhsAltContactName = this.getAltContactName(); String rhsAltContactName; rhsAltContactName = that.getAltContactName(); if (!strategy.equals(LocatorUtils.property(thisLocator, "altContactName", lhsAltContactName), LocatorUtils.property(thatLocator, "altContactName", rhsAltContactName), lhsAltContactName, rhsAltContactName, (this.altContactName!= null), (that.altContactName!= null))) { return false; } } { String lhsNotes; lhsNotes = this.getNotes(); String rhsNotes; rhsNotes = that.getNotes(); if (!strategy.equals(LocatorUtils.property(thisLocator, "notes", lhsNotes), LocatorUtils.property(thatLocator, "notes", rhsNotes), lhsNotes, rhsNotes, (this.notes!= null), (that.notes!= null))) { return false; } } { Boolean lhsJob; lhsJob = this.isJob(); Boolean rhsJob; rhsJob = that.isJob(); if (!strategy.equals(LocatorUtils.property(thisLocator, "job", lhsJob), LocatorUtils.property(thatLocator, "job", rhsJob), lhsJob, rhsJob, (this.job!= null), (that.job!= null))) { return false; } } { Boolean lhsBillWithParent; lhsBillWithParent = this.isBillWithParent(); Boolean rhsBillWithParent; rhsBillWithParent = that.isBillWithParent(); if (!strategy.equals(LocatorUtils.property(thisLocator, "billWithParent", lhsBillWithParent), LocatorUtils.property(thatLocator, "billWithParent", rhsBillWithParent), lhsBillWithParent, rhsBillWithParent, (this.billWithParent!= null), (that.billWithParent!= null))) { return false; } } { ReferenceType lhsRootCustomerRef; lhsRootCustomerRef = this.getRootCustomerRef(); ReferenceType rhsRootCustomerRef; rhsRootCustomerRef = that.getRootCustomerRef(); if (!strategy.equals(LocatorUtils.property(thisLocator, "rootCustomerRef", lhsRootCustomerRef), LocatorUtils.property(thatLocator, "rootCustomerRef", rhsRootCustomerRef), lhsRootCustomerRef, rhsRootCustomerRef, (this.rootCustomerRef!= null), (that.rootCustomerRef!= null))) { return false; } } { ReferenceType lhsParentRef; lhsParentRef = this.getParentRef(); ReferenceType rhsParentRef; rhsParentRef = that.getParentRef(); if (!strategy.equals(LocatorUtils.property(thisLocator, "parentRef", lhsParentRef), LocatorUtils.property(thatLocator, "parentRef", rhsParentRef), lhsParentRef, rhsParentRef, (this.parentRef!= null), (that.parentRef!= null))) { return false; } } { Integer lhsLevel; lhsLevel = this.getLevel(); Integer rhsLevel; rhsLevel = that.getLevel(); if (!strategy.equals(LocatorUtils.property(thisLocator, "level", lhsLevel), LocatorUtils.property(thatLocator, "level", rhsLevel), lhsLevel, rhsLevel, (this.level!= null), (that.level!= null))) { return false; } } { ReferenceType lhsCustomerTypeRef; lhsCustomerTypeRef = this.getCustomerTypeRef(); ReferenceType rhsCustomerTypeRef; rhsCustomerTypeRef = that.getCustomerTypeRef(); if (!strategy.equals(LocatorUtils.property(thisLocator, "customerTypeRef", lhsCustomerTypeRef), LocatorUtils.property(thatLocator, "customerTypeRef", rhsCustomerTypeRef), lhsCustomerTypeRef, rhsCustomerTypeRef, (this.customerTypeRef!= null), (that.customerTypeRef!= 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; } } { 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; } } { ReferenceType lhsTaxGroupCodeRef; lhsTaxGroupCodeRef = this.getTaxGroupCodeRef(); ReferenceType rhsTaxGroupCodeRef; rhsTaxGroupCodeRef = that.getTaxGroupCodeRef(); if (!strategy.equals(LocatorUtils.property(thisLocator, "taxGroupCodeRef", lhsTaxGroupCodeRef), LocatorUtils.property(thatLocator, "taxGroupCodeRef", rhsTaxGroupCodeRef), lhsTaxGroupCodeRef, rhsTaxGroupCodeRef, (this.taxGroupCodeRef!= null), (that.taxGroupCodeRef!= null))) { return false; } } { ReferenceType lhsTaxRateRef; lhsTaxRateRef = this.getTaxRateRef(); ReferenceType rhsTaxRateRef; rhsTaxRateRef = that.getTaxRateRef(); if (!strategy.equals(LocatorUtils.property(thisLocator, "taxRateRef", lhsTaxRateRef), LocatorUtils.property(thatLocator, "taxRateRef", rhsTaxRateRef), lhsTaxRateRef, rhsTaxRateRef, (this.taxRateRef!= null), (that.taxRateRef!= 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; } } { CreditChargeInfo lhsCCDetail; lhsCCDetail = this.getCCDetail(); CreditChargeInfo rhsCCDetail; rhsCCDetail = that.getCCDetail(); if (!strategy.equals(LocatorUtils.property(thisLocator, "ccDetail", lhsCCDetail), LocatorUtils.property(thatLocator, "ccDetail", rhsCCDetail), lhsCCDetail, rhsCCDetail, (this.ccDetail!= null), (that.ccDetail!= null))) { return false; } } { ReferenceType lhsPriceLevelRef; lhsPriceLevelRef = this.getPriceLevelRef(); ReferenceType rhsPriceLevelRef; rhsPriceLevelRef = that.getPriceLevelRef(); if (!strategy.equals(LocatorUtils.property(thisLocator, "priceLevelRef", lhsPriceLevelRef), LocatorUtils.property(thatLocator, "priceLevelRef", rhsPriceLevelRef), lhsPriceLevelRef, rhsPriceLevelRef, (this.priceLevelRef!= null), (that.priceLevelRef!= 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; } } { Date lhsOpenBalanceDate; lhsOpenBalanceDate = this.getOpenBalanceDate(); Date rhsOpenBalanceDate; rhsOpenBalanceDate = that.getOpenBalanceDate(); if (!strategy.equals(LocatorUtils.property(thisLocator, "openBalanceDate", lhsOpenBalanceDate), LocatorUtils.property(thatLocator, "openBalanceDate", rhsOpenBalanceDate), lhsOpenBalanceDate, rhsOpenBalanceDate, (this.openBalanceDate!= null), (that.openBalanceDate!= null))) { return false; } } { BigDecimal lhsBalanceWithJobs; lhsBalanceWithJobs = this.getBalanceWithJobs(); BigDecimal rhsBalanceWithJobs; rhsBalanceWithJobs = that.getBalanceWithJobs(); if (!strategy.equals(LocatorUtils.property(thisLocator, "balanceWithJobs", lhsBalanceWithJobs), LocatorUtils.property(thatLocator, "balanceWithJobs", rhsBalanceWithJobs), lhsBalanceWithJobs, rhsBalanceWithJobs, (this.balanceWithJobs!= null), (that.balanceWithJobs!= null))) { return false; } } { BigDecimal lhsCreditLimit; lhsCreditLimit = this.getCreditLimit(); BigDecimal rhsCreditLimit; rhsCreditLimit = that.getCreditLimit(); if (!strategy.equals(LocatorUtils.property(thisLocator, "creditLimit", lhsCreditLimit), LocatorUtils.property(thatLocator, "creditLimit", rhsCreditLimit), lhsCreditLimit, rhsCreditLimit, (this.creditLimit!= null), (that.creditLimit!= null))) { return false; } } { String lhsAcctNum; lhsAcctNum = this.getAcctNum(); String rhsAcctNum; rhsAcctNum = that.getAcctNum(); if (!strategy.equals(LocatorUtils.property(thisLocator, "acctNum", lhsAcctNum), LocatorUtils.property(thatLocator, "acctNum", rhsAcctNum), lhsAcctNum, rhsAcctNum, (this.acctNum!= null), (that.acctNum!= null))) { return false; } } { ReferenceType lhsCurrencyRef; lhsCurrencyRef = this.getCurrencyRef(); ReferenceType rhsCurrencyRef; rhsCurrencyRef = that.getCurrencyRef(); if (!strategy.equals(LocatorUtils.property(thisLocator, "currencyRef", lhsCurrencyRef), LocatorUtils.property(thatLocator, "currencyRef", rhsCurrencyRef), lhsCurrencyRef, rhsCurrencyRef, (this.currencyRef!= null), (that.currencyRef!= null))) { return false; } } { BigDecimal lhsOverDueBalance; lhsOverDueBalance = this.getOverDueBalance(); BigDecimal rhsOverDueBalance; rhsOverDueBalance = that.getOverDueBalance(); if (!strategy.equals(LocatorUtils.property(thisLocator, "overDueBalance", lhsOverDueBalance), LocatorUtils.property(thatLocator, "overDueBalance", rhsOverDueBalance), lhsOverDueBalance, rhsOverDueBalance, (this.overDueBalance!= null), (that.overDueBalance!= null))) { return false; } } { BigDecimal lhsTotalRevenue; lhsTotalRevenue = this.getTotalRevenue(); BigDecimal rhsTotalRevenue; rhsTotalRevenue = that.getTotalRevenue(); if (!strategy.equals(LocatorUtils.property(thisLocator, "totalRevenue", lhsTotalRevenue), LocatorUtils.property(thatLocator, "totalRevenue", rhsTotalRevenue), lhsTotalRevenue, rhsTotalRevenue, (this.totalRevenue!= null), (that.totalRevenue!= null))) { return false; } } { BigDecimal lhsTotalExpense; lhsTotalExpense = this.getTotalExpense(); BigDecimal rhsTotalExpense; rhsTotalExpense = that.getTotalExpense(); if (!strategy.equals(LocatorUtils.property(thisLocator, "totalExpense", lhsTotalExpense), LocatorUtils.property(thatLocator, "totalExpense", rhsTotalExpense), lhsTotalExpense, rhsTotalExpense, (this.totalExpense!= null), (that.totalExpense!= null))) { return false; } } { String lhsPreferredDeliveryMethod; lhsPreferredDeliveryMethod = this.getPreferredDeliveryMethod(); String rhsPreferredDeliveryMethod; rhsPreferredDeliveryMethod = that.getPreferredDeliveryMethod(); if (!strategy.equals(LocatorUtils.property(thisLocator, "preferredDeliveryMethod", lhsPreferredDeliveryMethod), LocatorUtils.property(thatLocator, "preferredDeliveryMethod", rhsPreferredDeliveryMethod), lhsPreferredDeliveryMethod, rhsPreferredDeliveryMethod, (this.preferredDeliveryMethod!= null), (that.preferredDeliveryMethod!= null))) { return false; } } { String lhsResaleNum; lhsResaleNum = this.getResaleNum(); String rhsResaleNum; rhsResaleNum = that.getResaleNum(); if (!strategy.equals(LocatorUtils.property(thisLocator, "resaleNum", lhsResaleNum), LocatorUtils.property(thatLocator, "resaleNum", rhsResaleNum), lhsResaleNum, rhsResaleNum, (this.resaleNum!= null), (that.resaleNum!= null))) { return false; } } { JobInfo lhsJobInfo; lhsJobInfo = this.getJobInfo(); JobInfo rhsJobInfo; rhsJobInfo = that.getJobInfo(); if (!strategy.equals(LocatorUtils.property(thisLocator, "jobInfo", lhsJobInfo), LocatorUtils.property(thatLocator, "jobInfo", rhsJobInfo), lhsJobInfo, rhsJobInfo, (this.jobInfo!= null), (that.jobInfo!= null))) { return false; } } { Boolean lhsTDSEnabled; lhsTDSEnabled = this.isTDSEnabled(); Boolean rhsTDSEnabled; rhsTDSEnabled = that.isTDSEnabled(); if (!strategy.equals(LocatorUtils.property(thisLocator, "tdsEnabled", lhsTDSEnabled), LocatorUtils.property(thatLocator, "tdsEnabled", rhsTDSEnabled), lhsTDSEnabled, rhsTDSEnabled, (this.tdsEnabled!= null), (that.tdsEnabled!= null))) { return false; } } { IntuitAnyType lhsCustomerEx; lhsCustomerEx = this.getCustomerEx(); IntuitAnyType rhsCustomerEx; rhsCustomerEx = that.getCustomerEx(); if (!strategy.equals(LocatorUtils.property(thisLocator, "customerEx", lhsCustomerEx), LocatorUtils.property(thatLocator, "customerEx", rhsCustomerEx), lhsCustomerEx, rhsCustomerEx, (this.customerEx!= null), (that.customerEx!= null))) { return false; } } { String lhsSecondaryTaxIdentifier; lhsSecondaryTaxIdentifier = this.getSecondaryTaxIdentifier(); String rhsSecondaryTaxIdentifier; rhsSecondaryTaxIdentifier = that.getSecondaryTaxIdentifier(); if (!strategy.equals(LocatorUtils.property(thisLocator, "secondaryTaxIdentifier", lhsSecondaryTaxIdentifier), LocatorUtils.property(thatLocator, "secondaryTaxIdentifier", rhsSecondaryTaxIdentifier), lhsSecondaryTaxIdentifier, rhsSecondaryTaxIdentifier, (this.secondaryTaxIdentifier!= null), (that.secondaryTaxIdentifier!= 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; } } { String lhsPrimaryTaxIdentifier; lhsPrimaryTaxIdentifier = this.getPrimaryTaxIdentifier(); String rhsPrimaryTaxIdentifier; rhsPrimaryTaxIdentifier = that.getPrimaryTaxIdentifier(); if (!strategy.equals(LocatorUtils.property(thisLocator, "primaryTaxIdentifier", lhsPrimaryTaxIdentifier), LocatorUtils.property(thatLocator, "primaryTaxIdentifier", rhsPrimaryTaxIdentifier), lhsPrimaryTaxIdentifier, rhsPrimaryTaxIdentifier, (this.primaryTaxIdentifier!= null), (that.primaryTaxIdentifier!= null))) { return false; } } { String lhsTaxExemptionReasonId; lhsTaxExemptionReasonId = this.getTaxExemptionReasonId(); String rhsTaxExemptionReasonId; rhsTaxExemptionReasonId = that.getTaxExemptionReasonId(); if (!strategy.equals(LocatorUtils.property(thisLocator, "taxExemptionReasonId", lhsTaxExemptionReasonId), LocatorUtils.property(thatLocator, "taxExemptionReasonId", rhsTaxExemptionReasonId), lhsTaxExemptionReasonId, rhsTaxExemptionReasonId, (this.taxExemptionReasonId!= null), (that.taxExemptionReasonId!= null))) { return false; } } { Boolean lhsIsProject; lhsIsProject = this.isIsProject(); Boolean rhsIsProject; rhsIsProject = that.isIsProject(); if (!strategy.equals(LocatorUtils.property(thisLocator, "isProject", lhsIsProject), LocatorUtils.property(thatLocator, "isProject", rhsIsProject), lhsIsProject, rhsIsProject, (this.isProject!= null), (that.isProject!= null))) { return false; } } { String lhsBusinessNumber; lhsBusinessNumber = this.getBusinessNumber(); String rhsBusinessNumber; rhsBusinessNumber = that.getBusinessNumber(); if (!strategy.equals(LocatorUtils.property(thisLocator, "businessNumber", lhsBusinessNumber), LocatorUtils.property(thatLocator, "businessNumber", rhsBusinessNumber), lhsBusinessNumber, rhsBusinessNumber, (this.businessNumber!= null), (that.businessNumber!= null))) { return false; } } { String lhsGSTIN; lhsGSTIN = this.getGSTIN(); String rhsGSTIN; rhsGSTIN = that.getGSTIN(); if (!strategy.equals(LocatorUtils.property(thisLocator, "gstin", lhsGSTIN), LocatorUtils.property(thatLocator, "gstin", rhsGSTIN), lhsGSTIN, rhsGSTIN, (this.gstin!= null), (that.gstin!= null))) { return false; } } { String lhsGSTRegistrationType; lhsGSTRegistrationType = this.getGSTRegistrationType(); String rhsGSTRegistrationType; rhsGSTRegistrationType = that.getGSTRegistrationType(); if (!strategy.equals(LocatorUtils.property(thisLocator, "gstRegistrationType", lhsGSTRegistrationType), LocatorUtils.property(thatLocator, "gstRegistrationType", rhsGSTRegistrationType), lhsGSTRegistrationType, rhsGSTRegistrationType, (this.gstRegistrationType!= null), (that.gstRegistrationType!= null))) { return false; } } { Boolean lhsIsCISContractor; lhsIsCISContractor = this.isIsCISContractor(); Boolean rhsIsCISContractor; rhsIsCISContractor = that.isIsCISContractor(); if (!strategy.equals(LocatorUtils.property(thisLocator, "isCISContractor", lhsIsCISContractor), LocatorUtils.property(thatLocator, "isCISContractor", rhsIsCISContractor), lhsIsCISContractor, rhsIsCISContractor, (this.isCISContractor!= null), (that.isCISContractor!= null))) { return false; } } { String lhsClientCompanyId; lhsClientCompanyId = this.getClientCompanyId(); String rhsClientCompanyId; rhsClientCompanyId = that.getClientCompanyId(); if (!strategy.equals(LocatorUtils.property(thisLocator, "clientCompanyId", lhsClientCompanyId), LocatorUtils.property(thatLocator, "clientCompanyId", rhsClientCompanyId), lhsClientCompanyId, rhsClientCompanyId, (this.clientCompanyId!= null), (that.clientCompanyId!= null))) { return false; } } { String lhsClientEntityId; lhsClientEntityId = this.getClientEntityId(); String rhsClientEntityId; rhsClientEntityId = that.getClientEntityId(); if (!strategy.equals(LocatorUtils.property(thisLocator, "clientEntityId", lhsClientEntityId), LocatorUtils.property(thatLocator, "clientEntityId", rhsClientEntityId), lhsClientEntityId, rhsClientEntityId, (this.clientEntityId!= null), (that.clientEntityId!= null))) { return false; } } { String lhsSource; lhsSource = this.getSource(); String rhsSource; rhsSource = that.getSource(); if (!strategy.equals(LocatorUtils.property(thisLocator, "source", lhsSource), LocatorUtils.property(thatLocator, "source", rhsSource), lhsSource, rhsSource, (this.source!= null), (that.source!= null))) { return false; } } { String lhsTaxRegime; lhsTaxRegime = this.getTaxRegime(); String rhsTaxRegime; rhsTaxRegime = that.getTaxRegime(); if (!strategy.equals(LocatorUtils.property(thisLocator, "taxRegime", lhsTaxRegime), LocatorUtils.property(thatLocator, "taxRegime", rhsTaxRegime), lhsTaxRegime, rhsTaxRegime, (this.taxRegime!= null), (that.taxRegime!= 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 theTaxable; theTaxable = this.isTaxable(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "taxable", theTaxable), currentHashCode, theTaxable, (this.taxable!= 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)); } { List theOtherAddr; theOtherAddr = (((this.otherAddr!= null)&&(!this.otherAddr.isEmpty()))?this.getOtherAddr():null); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "otherAddr", theOtherAddr), currentHashCode, theOtherAddr, ((this.otherAddr!= null)&&(!this.otherAddr.isEmpty()))); } { String theContactName; theContactName = this.getContactName(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "contactName", theContactName), currentHashCode, theContactName, (this.contactName!= null)); } { String theAltContactName; theAltContactName = this.getAltContactName(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "altContactName", theAltContactName), currentHashCode, theAltContactName, (this.altContactName!= null)); } { String theNotes; theNotes = this.getNotes(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "notes", theNotes), currentHashCode, theNotes, (this.notes!= null)); } { Boolean theJob; theJob = this.isJob(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "job", theJob), currentHashCode, theJob, (this.job!= null)); } { Boolean theBillWithParent; theBillWithParent = this.isBillWithParent(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "billWithParent", theBillWithParent), currentHashCode, theBillWithParent, (this.billWithParent!= null)); } { ReferenceType theRootCustomerRef; theRootCustomerRef = this.getRootCustomerRef(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "rootCustomerRef", theRootCustomerRef), currentHashCode, theRootCustomerRef, (this.rootCustomerRef!= null)); } { ReferenceType theParentRef; theParentRef = this.getParentRef(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "parentRef", theParentRef), currentHashCode, theParentRef, (this.parentRef!= null)); } { Integer theLevel; theLevel = this.getLevel(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "level", theLevel), currentHashCode, theLevel, (this.level!= null)); } { ReferenceType theCustomerTypeRef; theCustomerTypeRef = this.getCustomerTypeRef(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "customerTypeRef", theCustomerTypeRef), currentHashCode, theCustomerTypeRef, (this.customerTypeRef!= null)); } { ReferenceType theSalesTermRef; theSalesTermRef = this.getSalesTermRef(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "salesTermRef", theSalesTermRef), currentHashCode, theSalesTermRef, (this.salesTermRef!= null)); } { ReferenceType theSalesRepRef; theSalesRepRef = this.getSalesRepRef(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "salesRepRef", theSalesRepRef), currentHashCode, theSalesRepRef, (this.salesRepRef!= null)); } { ReferenceType theTaxGroupCodeRef; theTaxGroupCodeRef = this.getTaxGroupCodeRef(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "taxGroupCodeRef", theTaxGroupCodeRef), currentHashCode, theTaxGroupCodeRef, (this.taxGroupCodeRef!= null)); } { ReferenceType theTaxRateRef; theTaxRateRef = this.getTaxRateRef(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "taxRateRef", theTaxRateRef), currentHashCode, theTaxRateRef, (this.taxRateRef!= null)); } { ReferenceType thePaymentMethodRef; thePaymentMethodRef = this.getPaymentMethodRef(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "paymentMethodRef", thePaymentMethodRef), currentHashCode, thePaymentMethodRef, (this.paymentMethodRef!= null)); } { CreditChargeInfo theCCDetail; theCCDetail = this.getCCDetail(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "ccDetail", theCCDetail), currentHashCode, theCCDetail, (this.ccDetail!= null)); } { ReferenceType thePriceLevelRef; thePriceLevelRef = this.getPriceLevelRef(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "priceLevelRef", thePriceLevelRef), currentHashCode, thePriceLevelRef, (this.priceLevelRef!= null)); } { BigDecimal theBalance; theBalance = this.getBalance(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "balance", theBalance), currentHashCode, theBalance, (this.balance!= null)); } { Date theOpenBalanceDate; theOpenBalanceDate = this.getOpenBalanceDate(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "openBalanceDate", theOpenBalanceDate), currentHashCode, theOpenBalanceDate, (this.openBalanceDate!= null)); } { BigDecimal theBalanceWithJobs; theBalanceWithJobs = this.getBalanceWithJobs(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "balanceWithJobs", theBalanceWithJobs), currentHashCode, theBalanceWithJobs, (this.balanceWithJobs!= null)); } { BigDecimal theCreditLimit; theCreditLimit = this.getCreditLimit(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "creditLimit", theCreditLimit), currentHashCode, theCreditLimit, (this.creditLimit!= null)); } { String theAcctNum; theAcctNum = this.getAcctNum(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "acctNum", theAcctNum), currentHashCode, theAcctNum, (this.acctNum!= null)); } { ReferenceType theCurrencyRef; theCurrencyRef = this.getCurrencyRef(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "currencyRef", theCurrencyRef), currentHashCode, theCurrencyRef, (this.currencyRef!= null)); } { BigDecimal theOverDueBalance; theOverDueBalance = this.getOverDueBalance(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "overDueBalance", theOverDueBalance), currentHashCode, theOverDueBalance, (this.overDueBalance!= null)); } { BigDecimal theTotalRevenue; theTotalRevenue = this.getTotalRevenue(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "totalRevenue", theTotalRevenue), currentHashCode, theTotalRevenue, (this.totalRevenue!= null)); } { BigDecimal theTotalExpense; theTotalExpense = this.getTotalExpense(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "totalExpense", theTotalExpense), currentHashCode, theTotalExpense, (this.totalExpense!= null)); } { String thePreferredDeliveryMethod; thePreferredDeliveryMethod = this.getPreferredDeliveryMethod(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "preferredDeliveryMethod", thePreferredDeliveryMethod), currentHashCode, thePreferredDeliveryMethod, (this.preferredDeliveryMethod!= null)); } { String theResaleNum; theResaleNum = this.getResaleNum(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "resaleNum", theResaleNum), currentHashCode, theResaleNum, (this.resaleNum!= null)); } { JobInfo theJobInfo; theJobInfo = this.getJobInfo(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "jobInfo", theJobInfo), currentHashCode, theJobInfo, (this.jobInfo!= null)); } { Boolean theTDSEnabled; theTDSEnabled = this.isTDSEnabled(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "tdsEnabled", theTDSEnabled), currentHashCode, theTDSEnabled, (this.tdsEnabled!= null)); } { IntuitAnyType theCustomerEx; theCustomerEx = this.getCustomerEx(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "customerEx", theCustomerEx), currentHashCode, theCustomerEx, (this.customerEx!= null)); } { String theSecondaryTaxIdentifier; theSecondaryTaxIdentifier = this.getSecondaryTaxIdentifier(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "secondaryTaxIdentifier", theSecondaryTaxIdentifier), currentHashCode, theSecondaryTaxIdentifier, (this.secondaryTaxIdentifier!= null)); } { ReferenceType theARAccountRef; theARAccountRef = this.getARAccountRef(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "arAccountRef", theARAccountRef), currentHashCode, theARAccountRef, (this.arAccountRef!= null)); } { String thePrimaryTaxIdentifier; thePrimaryTaxIdentifier = this.getPrimaryTaxIdentifier(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "primaryTaxIdentifier", thePrimaryTaxIdentifier), currentHashCode, thePrimaryTaxIdentifier, (this.primaryTaxIdentifier!= null)); } { String theTaxExemptionReasonId; theTaxExemptionReasonId = this.getTaxExemptionReasonId(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "taxExemptionReasonId", theTaxExemptionReasonId), currentHashCode, theTaxExemptionReasonId, (this.taxExemptionReasonId!= null)); } { Boolean theIsProject; theIsProject = this.isIsProject(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "isProject", theIsProject), currentHashCode, theIsProject, (this.isProject!= null)); } { String theBusinessNumber; theBusinessNumber = this.getBusinessNumber(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "businessNumber", theBusinessNumber), currentHashCode, theBusinessNumber, (this.businessNumber!= null)); } { String theGSTIN; theGSTIN = this.getGSTIN(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "gstin", theGSTIN), currentHashCode, theGSTIN, (this.gstin!= null)); } { String theGSTRegistrationType; theGSTRegistrationType = this.getGSTRegistrationType(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "gstRegistrationType", theGSTRegistrationType), currentHashCode, theGSTRegistrationType, (this.gstRegistrationType!= null)); } { Boolean theIsCISContractor; theIsCISContractor = this.isIsCISContractor(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "isCISContractor", theIsCISContractor), currentHashCode, theIsCISContractor, (this.isCISContractor!= null)); } { String theClientCompanyId; theClientCompanyId = this.getClientCompanyId(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "clientCompanyId", theClientCompanyId), currentHashCode, theClientCompanyId, (this.clientCompanyId!= null)); } { String theClientEntityId; theClientEntityId = this.getClientEntityId(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "clientEntityId", theClientEntityId), currentHashCode, theClientEntityId, (this.clientEntityId!= null)); } { String theSource; theSource = this.getSource(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "source", theSource), currentHashCode, theSource, (this.source!= null)); } { String theTaxRegime; theTaxRegime = this.getTaxRegime(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "taxRegime", theTaxRegime), currentHashCode, theTaxRegime, (this.taxRegime!= null)); } return currentHashCode; } public int hashCode() { final HashCodeStrategy2 strategy = JAXBHashCodeStrategy.INSTANCE; return this.hashCode(null, strategy); } }





© 2015 - 2025 Weber Informatics LLC | Privacy Policy