
com.intuit.ipp.data.ReimburseCharge 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
The 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: 2025.01.16 at 03:08:03 PM IST
//
package com.intuit.ipp.data;
import java.io.Serializable;
import java.math.BigDecimal;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlType;
import 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: QBO Description: Reimburse charge object
* for QBO
*
*
* Java class for ReimburseCharge complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="ReimburseCharge">
* <complexContent>
* <extension base="{http://schema.intuit.com/finance/v3}Transaction">
* <sequence>
* <element name="CustomerRef" type="{http://schema.intuit.com/finance/v3}ReferenceType" minOccurs="0"/>
* <element name="HasBeenInvoiced" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
* <element name="Amount" type="{http://www.w3.org/2001/XMLSchema}decimal" minOccurs="0"/>
* <element name="HomeTotalAmt" type="{http://www.w3.org/2001/XMLSchema}decimal" minOccurs="0"/>
* </sequence>
* </extension>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "ReimburseCharge", propOrder = {
"customerRef",
"hasBeenInvoiced",
"amount",
"homeTotalAmt"
})
public class ReimburseCharge
extends Transaction
implements Serializable, Equals2, HashCode2
{
private final static long serialVersionUID = 1L;
@XmlElement(name = "CustomerRef")
protected ReferenceType customerRef;
@XmlElement(name = "HasBeenInvoiced")
protected Boolean hasBeenInvoiced;
@XmlElement(name = "Amount")
protected BigDecimal amount;
@XmlElement(name = "HomeTotalAmt")
protected BigDecimal homeTotalAmt;
/**
* 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 hasBeenInvoiced property.
*
* @return
* possible object is
* {@link Boolean }
*
*/
public Boolean isHasBeenInvoiced() {
return hasBeenInvoiced;
}
/**
* Sets the value of the hasBeenInvoiced property.
*
* @param value
* allowed object is
* {@link Boolean }
*
*/
public void setHasBeenInvoiced(Boolean value) {
this.hasBeenInvoiced = value;
}
/**
* Gets the value of the amount property.
*
* @return
* possible object is
* {@link BigDecimal }
*
*/
public BigDecimal getAmount() {
return amount;
}
/**
* Sets the value of the amount property.
*
* @param value
* allowed object is
* {@link BigDecimal }
*
*/
public void setAmount(BigDecimal value) {
this.amount = 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;
}
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 ReimburseCharge that = ((ReimburseCharge) object);
{
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;
}
}
{
Boolean lhsHasBeenInvoiced;
lhsHasBeenInvoiced = this.isHasBeenInvoiced();
Boolean rhsHasBeenInvoiced;
rhsHasBeenInvoiced = that.isHasBeenInvoiced();
if (!strategy.equals(LocatorUtils.property(thisLocator, "hasBeenInvoiced", lhsHasBeenInvoiced), LocatorUtils.property(thatLocator, "hasBeenInvoiced", rhsHasBeenInvoiced), lhsHasBeenInvoiced, rhsHasBeenInvoiced, (this.hasBeenInvoiced!= null), (that.hasBeenInvoiced!= null))) {
return false;
}
}
{
BigDecimal lhsAmount;
lhsAmount = this.getAmount();
BigDecimal rhsAmount;
rhsAmount = that.getAmount();
if (!strategy.equals(LocatorUtils.property(thisLocator, "amount", lhsAmount), LocatorUtils.property(thatLocator, "amount", rhsAmount), lhsAmount, rhsAmount, (this.amount!= null), (that.amount!= 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;
}
}
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);
{
ReferenceType theCustomerRef;
theCustomerRef = this.getCustomerRef();
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "customerRef", theCustomerRef), currentHashCode, theCustomerRef, (this.customerRef!= null));
}
{
Boolean theHasBeenInvoiced;
theHasBeenInvoiced = this.isHasBeenInvoiced();
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "hasBeenInvoiced", theHasBeenInvoiced), currentHashCode, theHasBeenInvoiced, (this.hasBeenInvoiced!= null));
}
{
BigDecimal theAmount;
theAmount = this.getAmount();
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "amount", theAmount), currentHashCode, theAmount, (this.amount!= null));
}
{
BigDecimal theHomeTotalAmt;
theHomeTotalAmt = this.getHomeTotalAmt();
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "homeTotalAmt", theHomeTotalAmt), currentHashCode, theHomeTotalAmt, (this.homeTotalAmt!= null));
}
return currentHashCode;
}
public int hashCode() {
final HashCodeStrategy2 strategy = JAXBHashCodeStrategy.INSTANCE;
return this.hashCode(null, strategy);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy