com.intuit.ipp.data.SyncObject Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of ipp-v3-java-data Show documentation
Show all versions of ipp-v3-java-data Show documentation
IPP Java V3 DevKit Data project - FMS Entities generation
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.3.0
// See https://javaee.github.io/jaxb-v2/
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2022.06.28 at 02:49:33 PM PDT
//
package com.intuit.ipp.data;
import java.io.Serializable;
import javax.xml.bind.JAXBElement;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlElementRef;
import javax.xml.bind.annotation.XmlType;
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: QBW
* Description: SyncObject that has an error
*
*
* Java class for SyncObject complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="SyncObject">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <choice>
* <element ref="{http://schema.intuit.com/finance/v3}IntuitObject" minOccurs="0"/>
* <element name="Fault" type="{http://schema.intuit.com/finance/v3}Fault" minOccurs="0"/>
* </choice>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "SyncObject", propOrder = {
"intuitObject",
"fault"
})
public class SyncObject implements Serializable, Equals2, HashCode2
{
private final static long serialVersionUID = 1L;
@XmlElementRef(name = "IntuitObject", namespace = "http://schema.intuit.com/finance/v3", type = JAXBElement.class, required = false)
protected JAXBElement extends IntuitEntity> intuitObject;
@XmlElement(name = "Fault")
protected Fault fault;
/**
* Any IntuitEntity derived object like Customer, Invoice can be part of response
*
* @return
* possible object is
* {@link JAXBElement }{@code <}{@link Status }{@code >}
* {@link JAXBElement }{@code <}{@link SyncActivity }{@code >}
* {@link JAXBElement }{@code <}{@link SalesReceipt }{@code >}
* {@link JAXBElement }{@code <}{@link InventoryAdjustment }{@code >}
* {@link JAXBElement }{@code <}{@link PurchaseOrder }{@code >}
* {@link JAXBElement }{@code <}{@link PaymentMethod }{@code >}
* {@link JAXBElement }{@code <}{@link Account }{@code >}
* {@link JAXBElement }{@code <}{@link ExchangeRate }{@code >}
* {@link JAXBElement }{@code <}{@link Purchase }{@code >}
* {@link JAXBElement }{@code <}{@link TaxCode }{@code >}
* {@link JAXBElement }{@code <}{@link VendorCredit }{@code >}
* {@link JAXBElement }{@code <}{@link VendorType }{@code >}
* {@link JAXBElement }{@code <}{@link JournalCode }{@code >}
* {@link JAXBElement }{@code <}{@link Deposit }{@code >}
* {@link JAXBElement }{@code <}{@link TaxService }{@code >}
* {@link JAXBElement }{@code <}{@link Estimate }{@code >}
* {@link JAXBElement }{@code <}{@link CreditCardPaymentTxn }{@code >}
* {@link JAXBElement }{@code <}{@link Payment }{@code >}
* {@link JAXBElement }{@code <}{@link InventorySite }{@code >}
* {@link JAXBElement }{@code <}{@link Tag }{@code >}
* {@link JAXBElement }{@code <}{@link MasterAccount }{@code >}
* {@link JAXBElement }{@code <}{@link UserAlert }{@code >}
* {@link JAXBElement }{@code <}{@link DateTypeCustomFieldDefinition }{@code >}
* {@link JAXBElement }{@code <}{@link StringTypeCustomFieldDefinition }{@code >}
* {@link JAXBElement }{@code <}{@link Bill }{@code >}
* {@link JAXBElement }{@code <}{@link TaxPayment }{@code >}
* {@link JAXBElement }{@code <}{@link ReimburseCharge }{@code >}
* {@link JAXBElement }{@code <}{@link Class }{@code >}
* {@link JAXBElement }{@code <}{@link NumberTypeCustomFieldDefinition }{@code >}
* {@link JAXBElement }{@code <}{@link SalesOrder }{@code >}
* {@link JAXBElement }{@code <}{@link Company }{@code >}
* {@link JAXBElement }{@code <}{@link TaxReturn }{@code >}
* {@link JAXBElement }{@code <}{@link Employee }{@code >}
* {@link JAXBElement }{@code <}{@link Task }{@code >}
* {@link JAXBElement }{@code <}{@link Vendor }{@code >}
* {@link JAXBElement }{@code <}{@link CustomFieldDefinition }{@code >}
* {@link JAXBElement }{@code <}{@link QbdtEntityIdMapping }{@code >}
* {@link JAXBElement }{@code <}{@link TaxRate }{@code >}
* {@link JAXBElement }{@code <}{@link Preferences }{@code >}
* {@link JAXBElement }{@code <}{@link BooleanTypeCustomFieldDefinition }{@code >}
* {@link JAXBElement }{@code <}{@link CompanyInfo }{@code >}
* {@link JAXBElement }{@code <}{@link StatementCharge }{@code >}
* {@link JAXBElement }{@code <}{@link SalesRep }{@code >}
* {@link JAXBElement }{@code <}{@link Item }{@code >}
* {@link JAXBElement }{@code <}{@link EmailDeliveryInfo }{@code >}
* {@link JAXBElement }{@code <}{@link Department }{@code >}
* {@link JAXBElement }{@code <}{@link Customer }{@code >}
* {@link JAXBElement }{@code <}{@link OtherName }{@code >}
* {@link JAXBElement }{@code <}{@link JournalEntry }{@code >}
* {@link JAXBElement }{@code <}{@link Budget }{@code >}
* {@link JAXBElement }{@code <}{@link Transfer }{@code >}
* {@link JAXBElement }{@code <}{@link TDSMetadata }{@code >}
* {@link JAXBElement }{@code <}{@link TaxClassification }{@code >}
* {@link JAXBElement }{@code <}{@link FixedAsset }{@code >}
* {@link JAXBElement }{@code <}{@link TaxAgency }{@code >}
* {@link JAXBElement }{@code <}{@link CompanyCurrency }{@code >}
* {@link JAXBElement }{@code <}{@link ChargeCredit }{@code >}
* {@link JAXBElement }{@code <}{@link Attachable }{@code >}
* {@link JAXBElement }{@code <}{@link RefundReceipt }{@code >}
* {@link JAXBElement }{@code <}{@link BillPayment }{@code >}
* {@link JAXBElement }{@code <}{@link Term }{@code >}
* {@link JAXBElement }{@code <}{@link PriceLevel }{@code >}
* {@link JAXBElement }{@code <}{@link CustomerType }{@code >}
* {@link JAXBElement }{@code <}{@link Invoice }{@code >}
* {@link JAXBElement }{@code <}{@link TimeActivity }{@code >}
* {@link JAXBElement }{@code <}{@link RecurringTransaction }{@code >}
* {@link JAXBElement }{@code <}{@link CreditMemo }{@code >}
* {@link JAXBElement }{@code <}{@link IntuitEntity }{@code >}
*
*/
public JAXBElement extends IntuitEntity> getIntuitObject() {
return intuitObject;
}
/**
* Sets the value of the intuitObject property.
*
* @param value
* allowed object is
* {@link JAXBElement }{@code <}{@link Status }{@code >}
* {@link JAXBElement }{@code <}{@link SyncActivity }{@code >}
* {@link JAXBElement }{@code <}{@link SalesReceipt }{@code >}
* {@link JAXBElement }{@code <}{@link InventoryAdjustment }{@code >}
* {@link JAXBElement }{@code <}{@link PurchaseOrder }{@code >}
* {@link JAXBElement }{@code <}{@link PaymentMethod }{@code >}
* {@link JAXBElement }{@code <}{@link Account }{@code >}
* {@link JAXBElement }{@code <}{@link ExchangeRate }{@code >}
* {@link JAXBElement }{@code <}{@link Purchase }{@code >}
* {@link JAXBElement }{@code <}{@link TaxCode }{@code >}
* {@link JAXBElement }{@code <}{@link VendorCredit }{@code >}
* {@link JAXBElement }{@code <}{@link VendorType }{@code >}
* {@link JAXBElement }{@code <}{@link JournalCode }{@code >}
* {@link JAXBElement }{@code <}{@link Deposit }{@code >}
* {@link JAXBElement }{@code <}{@link TaxService }{@code >}
* {@link JAXBElement }{@code <}{@link Estimate }{@code >}
* {@link JAXBElement }{@code <}{@link CreditCardPaymentTxn }{@code >}
* {@link JAXBElement }{@code <}{@link Payment }{@code >}
* {@link JAXBElement }{@code <}{@link InventorySite }{@code >}
* {@link JAXBElement }{@code <}{@link Tag }{@code >}
* {@link JAXBElement }{@code <}{@link MasterAccount }{@code >}
* {@link JAXBElement }{@code <}{@link UserAlert }{@code >}
* {@link JAXBElement }{@code <}{@link DateTypeCustomFieldDefinition }{@code >}
* {@link JAXBElement }{@code <}{@link StringTypeCustomFieldDefinition }{@code >}
* {@link JAXBElement }{@code <}{@link Bill }{@code >}
* {@link JAXBElement }{@code <}{@link TaxPayment }{@code >}
* {@link JAXBElement }{@code <}{@link ReimburseCharge }{@code >}
* {@link JAXBElement }{@code <}{@link Class }{@code >}
* {@link JAXBElement }{@code <}{@link NumberTypeCustomFieldDefinition }{@code >}
* {@link JAXBElement }{@code <}{@link SalesOrder }{@code >}
* {@link JAXBElement }{@code <}{@link Company }{@code >}
* {@link JAXBElement }{@code <}{@link TaxReturn }{@code >}
* {@link JAXBElement }{@code <}{@link Employee }{@code >}
* {@link JAXBElement }{@code <}{@link Task }{@code >}
* {@link JAXBElement }{@code <}{@link Vendor }{@code >}
* {@link JAXBElement }{@code <}{@link CustomFieldDefinition }{@code >}
* {@link JAXBElement }{@code <}{@link QbdtEntityIdMapping }{@code >}
* {@link JAXBElement }{@code <}{@link TaxRate }{@code >}
* {@link JAXBElement }{@code <}{@link Preferences }{@code >}
* {@link JAXBElement }{@code <}{@link BooleanTypeCustomFieldDefinition }{@code >}
* {@link JAXBElement }{@code <}{@link CompanyInfo }{@code >}
* {@link JAXBElement }{@code <}{@link StatementCharge }{@code >}
* {@link JAXBElement }{@code <}{@link SalesRep }{@code >}
* {@link JAXBElement }{@code <}{@link Item }{@code >}
* {@link JAXBElement }{@code <}{@link EmailDeliveryInfo }{@code >}
* {@link JAXBElement }{@code <}{@link Department }{@code >}
* {@link JAXBElement }{@code <}{@link Customer }{@code >}
* {@link JAXBElement }{@code <}{@link OtherName }{@code >}
* {@link JAXBElement }{@code <}{@link JournalEntry }{@code >}
* {@link JAXBElement }{@code <}{@link Budget }{@code >}
* {@link JAXBElement }{@code <}{@link Transfer }{@code >}
* {@link JAXBElement }{@code <}{@link TDSMetadata }{@code >}
* {@link JAXBElement }{@code <}{@link TaxClassification }{@code >}
* {@link JAXBElement }{@code <}{@link FixedAsset }{@code >}
* {@link JAXBElement }{@code <}{@link TaxAgency }{@code >}
* {@link JAXBElement }{@code <}{@link CompanyCurrency }{@code >}
* {@link JAXBElement }{@code <}{@link ChargeCredit }{@code >}
* {@link JAXBElement }{@code <}{@link Attachable }{@code >}
* {@link JAXBElement }{@code <}{@link RefundReceipt }{@code >}
* {@link JAXBElement }{@code <}{@link BillPayment }{@code >}
* {@link JAXBElement }{@code <}{@link Term }{@code >}
* {@link JAXBElement }{@code <}{@link PriceLevel }{@code >}
* {@link JAXBElement }{@code <}{@link CustomerType }{@code >}
* {@link JAXBElement }{@code <}{@link Invoice }{@code >}
* {@link JAXBElement }{@code <}{@link TimeActivity }{@code >}
* {@link JAXBElement }{@code <}{@link RecurringTransaction }{@code >}
* {@link JAXBElement }{@code <}{@link CreditMemo }{@code >}
* {@link JAXBElement }{@code <}{@link IntuitEntity }{@code >}
*
*/
public void setIntuitObject(JAXBElement extends IntuitEntity> value) {
this.intuitObject = value;
}
/**
* Gets the value of the fault property.
*
* @return
* possible object is
* {@link Fault }
*
*/
public Fault getFault() {
return fault;
}
/**
* Sets the value of the fault property.
*
* @param value
* allowed object is
* {@link Fault }
*
*/
public void setFault(Fault value) {
this.fault = 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;
}
final SyncObject that = ((SyncObject) object);
{
JAXBElement extends IntuitEntity> lhsIntuitObject;
lhsIntuitObject = this.getIntuitObject();
JAXBElement extends IntuitEntity> rhsIntuitObject;
rhsIntuitObject = that.getIntuitObject();
if (!strategy.equals(LocatorUtils.property(thisLocator, "intuitObject", lhsIntuitObject), LocatorUtils.property(thatLocator, "intuitObject", rhsIntuitObject), lhsIntuitObject, rhsIntuitObject, (this.intuitObject!= null), (that.intuitObject!= null))) {
return false;
}
}
{
Fault lhsFault;
lhsFault = this.getFault();
Fault rhsFault;
rhsFault = that.getFault();
if (!strategy.equals(LocatorUtils.property(thisLocator, "fault", lhsFault), LocatorUtils.property(thatLocator, "fault", rhsFault), lhsFault, rhsFault, (this.fault!= null), (that.fault!= 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 = 1;
{
JAXBElement extends IntuitEntity> theIntuitObject;
theIntuitObject = this.getIntuitObject();
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "intuitObject", theIntuitObject), currentHashCode, theIntuitObject, (this.intuitObject!= null));
}
{
Fault theFault;
theFault = this.getFault();
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "fault", theFault), currentHashCode, theFault, (this.fault!= null));
}
return currentHashCode;
}
public int hashCode() {
final HashCodeStrategy2 strategy = JAXBHashCodeStrategy.INSTANCE;
return this.hashCode(null, strategy);
}
}