public class Purchase extends Transaction implements Serializable, org.jvnet.jaxb2_commons.lang.Equals2, org.jvnet.jaxb2_commons.lang.HashCode2
Java class for Purchase complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="Purchase">
<complexContent>
<extension base="{http://schema.intuit.com/finance/v3}Transaction">
<sequence>
<element name="AccountRef" type="{http://schema.intuit.com/finance/v3}ReferenceType" 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="EntityRef" type="{http://schema.intuit.com/finance/v3}ReferenceType" minOccurs="0"/>
<element name="Credit" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
<element name="RemitToAddr" type="{http://schema.intuit.com/finance/v3}PhysicalAddress" minOccurs="0"/>
<element name="TotalAmt" type="{http://www.w3.org/2001/XMLSchema}decimal" minOccurs="0"/>
<group ref="{http://schema.intuit.com/finance/v3}TxnReferenceGroup" minOccurs="0"/>
<element name="Memo" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element name="PrintStatus" type="{http://schema.intuit.com/finance/v3}PrintStatusEnum" minOccurs="0"/>
<element name="GlobalTaxCalculation" type="{http://schema.intuit.com/finance/v3}GlobalTaxCalculationEnum" minOccurs="0"/>
<element name="PurchaseEx" type="{http://schema.intuit.com/finance/v3}IntuitAnyType" minOccurs="0"/>
</sequence>
</extension>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected ReferenceType |
accountRef |
protected CheckPayment |
checkPayment |
protected Boolean |
credit |
protected CreditCardPayment |
creditCardPayment |
protected ReferenceType |
entityRef |
protected GlobalTaxCalculationEnum |
globalTaxCalculation |
protected String |
memo |
protected ReferenceType |
paymentMethodRef |
protected String |
paymentRefNum |
protected PaymentTypeEnum |
paymentType |
protected PrintStatusEnum |
printStatus |
protected IntuitAnyType |
purchaseEx |
protected PhysicalAddress |
remitToAddr |
protected BigDecimal |
totalAmt |
protected String |
txnId |
protected String |
txnNum |
currencyRef, departmentRef, docNumber, exchangeRate, line, linkedTxn, privateNote, taxFormNum, taxFormType, transactionLocationType, txnDate, txnSource, txnStatus, txnTaxDetailattachableRef, customField, domain, id, metaData, sparse, status, syncToken| Constructor and Description |
|---|
Purchase() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object object) |
boolean |
equals(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator,
org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator,
Object object,
org.jvnet.jaxb2_commons.lang.EqualsStrategy2 strategy) |
ReferenceType |
getAccountRef()
Gets the value of the accountRef property.
|
CheckPayment |
getCheckPayment()
Gets the value of the checkPayment property.
|
CreditCardPayment |
getCreditCardPayment()
Gets the value of the creditCardPayment property.
|
ReferenceType |
getEntityRef()
Gets the value of the entityRef property.
|
GlobalTaxCalculationEnum |
getGlobalTaxCalculation()
Gets the value of the globalTaxCalculation property.
|
String |
getMemo()
Gets the value of the memo property.
|
ReferenceType |
getPaymentMethodRef()
Gets the value of the paymentMethodRef property.
|
String |
getPaymentRefNum()
Gets the value of the paymentRefNum property.
|
PaymentTypeEnum |
getPaymentType()
Gets the value of the paymentType property.
|
PrintStatusEnum |
getPrintStatus()
Gets the value of the printStatus property.
|
IntuitAnyType |
getPurchaseEx()
Gets the value of the purchaseEx property.
|
PhysicalAddress |
getRemitToAddr()
Gets the value of the remitToAddr property.
|
BigDecimal |
getTotalAmt()
Gets the value of the totalAmt property.
|
String |
getTxnId()
Gets the value of the txnId property.
|
String |
getTxnNum()
Gets the value of the txnNum property.
|
int |
hashCode() |
int |
hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
org.jvnet.jaxb2_commons.lang.HashCodeStrategy2 strategy) |
Boolean |
isCredit()
Gets the value of the credit property.
|
void |
setAccountRef(ReferenceType value)
Sets the value of the accountRef property.
|
void |
setCheckPayment(CheckPayment value)
Sets the value of the checkPayment property.
|
void |
setCredit(Boolean value)
Sets the value of the credit property.
|
void |
setCreditCardPayment(CreditCardPayment value)
Sets the value of the creditCardPayment property.
|
void |
setEntityRef(ReferenceType value)
Sets the value of the entityRef property.
|
void |
setGlobalTaxCalculation(GlobalTaxCalculationEnum value)
Sets the value of the globalTaxCalculation property.
|
void |
setMemo(String value)
Sets the value of the memo property.
|
void |
setPaymentMethodRef(ReferenceType value)
Sets the value of the paymentMethodRef property.
|
void |
setPaymentRefNum(String value)
Sets the value of the paymentRefNum property.
|
void |
setPaymentType(PaymentTypeEnum value)
Sets the value of the paymentType property.
|
void |
setPrintStatus(PrintStatusEnum value)
Sets the value of the printStatus property.
|
void |
setPurchaseEx(IntuitAnyType value)
Sets the value of the purchaseEx property.
|
void |
setRemitToAddr(PhysicalAddress value)
Sets the value of the remitToAddr property.
|
void |
setTotalAmt(BigDecimal value)
Sets the value of the totalAmt property.
|
void |
setTxnId(String value)
Sets the value of the txnId property.
|
void |
setTxnNum(String value)
Sets the value of the txnNum property.
|
getCurrencyRef, getDepartmentRef, getDocNumber, getExchangeRate, getLine, getLinkedTxn, getPrivateNote, getTaxFormNum, getTaxFormType, getTransactionLocationType, getTxnDate, getTxnSource, getTxnStatus, getTxnTaxDetail, setCurrencyRef, setDepartmentRef, setDocNumber, setExchangeRate, setLine, setLinkedTxn, setPrivateNote, setTaxFormNum, setTaxFormType, setTransactionLocationType, setTxnDate, setTxnSource, setTxnStatus, setTxnTaxDetailgetAttachableRef, getCustomField, getDomain, getId, getMetaData, getStatus, getSyncToken, isSparse, setAttachableRef, setCustomField, setDomain, setId, setMetaData, setSparse, setStatus, setSyncTokenprotected ReferenceType accountRef
protected ReferenceType paymentMethodRef
protected String paymentRefNum
protected PaymentTypeEnum paymentType
protected CheckPayment checkPayment
protected CreditCardPayment creditCardPayment
protected ReferenceType entityRef
protected Boolean credit
protected PhysicalAddress remitToAddr
protected BigDecimal totalAmt
protected String txnId
protected String txnNum
protected String memo
protected PrintStatusEnum printStatus
protected GlobalTaxCalculationEnum globalTaxCalculation
protected IntuitAnyType purchaseEx
public ReferenceType getAccountRef()
ReferenceTypepublic void setAccountRef(ReferenceType value)
value - allowed object is
ReferenceTypepublic ReferenceType getPaymentMethodRef()
ReferenceTypepublic void setPaymentMethodRef(ReferenceType value)
value - allowed object is
ReferenceTypepublic String getPaymentRefNum()
Stringpublic void setPaymentRefNum(String value)
value - allowed object is
Stringpublic PaymentTypeEnum getPaymentType()
PaymentTypeEnumpublic void setPaymentType(PaymentTypeEnum value)
value - allowed object is
PaymentTypeEnumpublic CheckPayment getCheckPayment()
CheckPaymentpublic void setCheckPayment(CheckPayment value)
value - allowed object is
CheckPaymentpublic CreditCardPayment getCreditCardPayment()
CreditCardPaymentpublic void setCreditCardPayment(CreditCardPayment value)
value - allowed object is
CreditCardPaymentpublic ReferenceType getEntityRef()
ReferenceTypepublic void setEntityRef(ReferenceType value)
value - allowed object is
ReferenceTypepublic Boolean isCredit()
Booleanpublic void setCredit(Boolean value)
value - allowed object is
Booleanpublic PhysicalAddress getRemitToAddr()
PhysicalAddresspublic void setRemitToAddr(PhysicalAddress value)
value - allowed object is
PhysicalAddresspublic BigDecimal getTotalAmt()
BigDecimalpublic void setTotalAmt(BigDecimal value)
value - allowed object is
BigDecimalpublic String getTxnId()
Stringpublic void setTxnId(String value)
value - allowed object is
Stringpublic String getTxnNum()
Stringpublic void setTxnNum(String value)
value - allowed object is
Stringpublic String getMemo()
Stringpublic void setMemo(String value)
value - allowed object is
Stringpublic PrintStatusEnum getPrintStatus()
PrintStatusEnumpublic void setPrintStatus(PrintStatusEnum value)
value - allowed object is
PrintStatusEnumpublic GlobalTaxCalculationEnum getGlobalTaxCalculation()
GlobalTaxCalculationEnumpublic void setGlobalTaxCalculation(GlobalTaxCalculationEnum value)
value - allowed object is
GlobalTaxCalculationEnumpublic IntuitAnyType getPurchaseEx()
IntuitAnyTypepublic void setPurchaseEx(IntuitAnyType value)
value - allowed object is
IntuitAnyTypepublic boolean equals(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator,
org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator,
Object object,
org.jvnet.jaxb2_commons.lang.EqualsStrategy2 strategy)
equals in interface org.jvnet.jaxb2_commons.lang.Equals2equals in class Transactionpublic boolean equals(Object object)
equals in class Transactionpublic int hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
org.jvnet.jaxb2_commons.lang.HashCodeStrategy2 strategy)
hashCode in interface org.jvnet.jaxb2_commons.lang.HashCode2hashCode in class Transactionpublic int hashCode()
hashCode in class TransactionCopyright © 2017. All rights reserved.