public class Transaction extends IntuitEntity implements Serializable, org.jvnet.jaxb2_commons.lang.Equals2, org.jvnet.jaxb2_commons.lang.HashCode2
Java class for Transaction complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="Transaction">
<complexContent>
<extension base="{http://schema.intuit.com/finance/v3}IntuitEntity">
<sequence>
<element name="DocNumber" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element name="TxnDate" type="{http://www.w3.org/2001/XMLSchema}date" minOccurs="0"/>
<element name="DepartmentRef" type="{http://schema.intuit.com/finance/v3}ReferenceType" minOccurs="0"/>
<element name="CurrencyRef" type="{http://schema.intuit.com/finance/v3}ReferenceType" minOccurs="0"/>
<element name="ExchangeRate" type="{http://www.w3.org/2001/XMLSchema}decimal" minOccurs="0"/>
<element name="PrivateNote" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element name="TxnStatus" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element name="LinkedTxn" type="{http://schema.intuit.com/finance/v3}LinkedTxn" maxOccurs="unbounded" minOccurs="0"/>
<element name="Line" type="{http://schema.intuit.com/finance/v3}Line" maxOccurs="unbounded" minOccurs="0"/>
<element name="TxnTaxDetail" type="{http://schema.intuit.com/finance/v3}TxnTaxDetail" minOccurs="0"/>
<element name="TxnSource" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element name="TaxFormType" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element name="TaxFormNum" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element name="TransactionLocationType" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
</sequence>
</extension>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected ReferenceType |
currencyRef |
protected ReferenceType |
departmentRef |
protected String |
docNumber |
protected BigDecimal |
exchangeRate |
protected List<Line> |
line |
protected List<LinkedTxn> |
linkedTxn |
protected String |
privateNote |
protected String |
taxFormNum |
protected String |
taxFormType |
protected String |
transactionLocationType |
protected Date |
txnDate |
protected String |
txnSource |
protected String |
txnStatus |
protected TxnTaxDetail |
txnTaxDetail |
attachableRef, customField, domain, id, metaData, sparse, status, syncToken| Constructor and Description |
|---|
Transaction() |
| 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 |
getCurrencyRef()
Gets the value of the currencyRef property.
|
ReferenceType |
getDepartmentRef()
Gets the value of the departmentRef property.
|
String |
getDocNumber()
Gets the value of the docNumber property.
|
BigDecimal |
getExchangeRate()
Gets the value of the exchangeRate property.
|
List<Line> |
getLine()
Gets the value of the line property.
|
List<LinkedTxn> |
getLinkedTxn()
Gets the value of the linkedTxn property.
|
String |
getPrivateNote()
Gets the value of the privateNote property.
|
String |
getTaxFormNum()
Gets the value of the taxFormNum property.
|
String |
getTaxFormType()
Gets the value of the taxFormType property.
|
String |
getTransactionLocationType()
Gets the value of the transactionLocationType property.
|
Date |
getTxnDate()
Gets the value of the txnDate property.
|
String |
getTxnSource()
Gets the value of the txnSource property.
|
String |
getTxnStatus()
Gets the value of the txnStatus property.
|
TxnTaxDetail |
getTxnTaxDetail()
Gets the value of the txnTaxDetail property.
|
int |
hashCode() |
int |
hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
org.jvnet.jaxb2_commons.lang.HashCodeStrategy2 strategy) |
void |
setCurrencyRef(ReferenceType value)
Sets the value of the currencyRef property.
|
void |
setDepartmentRef(ReferenceType value)
Sets the value of the departmentRef property.
|
void |
setDocNumber(String value)
Sets the value of the docNumber property.
|
void |
setExchangeRate(BigDecimal value)
Sets the value of the exchangeRate property.
|
void |
setLine(List<Line> line)
Sets the value of the line property.
|
void |
setLinkedTxn(List<LinkedTxn> linkedTxn)
Sets the value of the linkedTxn property.
|
void |
setPrivateNote(String value)
Sets the value of the privateNote property.
|
void |
setTaxFormNum(String value)
Sets the value of the taxFormNum property.
|
void |
setTaxFormType(String value)
Sets the value of the taxFormType property.
|
void |
setTransactionLocationType(String value)
Sets the value of the transactionLocationType property.
|
void |
setTxnDate(Date value)
Sets the value of the txnDate property.
|
void |
setTxnSource(String value)
Sets the value of the txnSource property.
|
void |
setTxnStatus(String value)
Sets the value of the txnStatus property.
|
void |
setTxnTaxDetail(TxnTaxDetail value)
Sets the value of the txnTaxDetail property.
|
getAttachableRef, getCustomField, getDomain, getId, getMetaData, getStatus, getSyncToken, isSparse, setAttachableRef, setCustomField, setDomain, setId, setMetaData, setSparse, setStatus, setSyncTokenprotected String docNumber
protected Date txnDate
protected ReferenceType departmentRef
protected ReferenceType currencyRef
protected BigDecimal exchangeRate
protected String privateNote
protected String txnStatus
protected TxnTaxDetail txnTaxDetail
protected String txnSource
protected String taxFormType
protected String taxFormNum
protected String transactionLocationType
public String getDocNumber()
Stringpublic void setDocNumber(String value)
value - allowed object is
Stringpublic Date getTxnDate()
Stringpublic void setTxnDate(Date value)
value - allowed object is
Stringpublic ReferenceType getDepartmentRef()
ReferenceTypepublic void setDepartmentRef(ReferenceType value)
value - allowed object is
ReferenceTypepublic ReferenceType getCurrencyRef()
ReferenceTypepublic void setCurrencyRef(ReferenceType value)
value - allowed object is
ReferenceTypepublic BigDecimal getExchangeRate()
BigDecimalpublic void setExchangeRate(BigDecimal value)
value - allowed object is
BigDecimalpublic String getPrivateNote()
Stringpublic void setPrivateNote(String value)
value - allowed object is
Stringpublic String getTxnStatus()
Stringpublic void setTxnStatus(String value)
value - allowed object is
Stringpublic List<LinkedTxn> getLinkedTxn()
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 linkedTxn property.
For example, to add a new item, do as follows:
getLinkedTxn().add(newItem);
Objects of the following type(s) are allowed in the list
LinkedTxn
public List<Line> getLine()
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 line property.
For example, to add a new item, do as follows:
getLine().add(newItem);
Objects of the following type(s) are allowed in the list
Line
public TxnTaxDetail getTxnTaxDetail()
TxnTaxDetailpublic void setTxnTaxDetail(TxnTaxDetail value)
value - allowed object is
TxnTaxDetailpublic String getTxnSource()
Stringpublic void setTxnSource(String value)
value - allowed object is
Stringpublic String getTaxFormType()
Stringpublic void setTaxFormType(String value)
value - allowed object is
Stringpublic String getTaxFormNum()
Stringpublic void setTaxFormNum(String value)
value - allowed object is
Stringpublic String getTransactionLocationType()
Stringpublic void setTransactionLocationType(String value)
value - allowed object is
Stringpublic void setLinkedTxn(List<LinkedTxn> linkedTxn)
linkedTxn - allowed object is
LinkedTxnpublic void setLine(List<Line> line)
line - allowed object is
Linepublic 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 IntuitEntitypublic boolean equals(Object object)
equals in class IntuitEntitypublic 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 IntuitEntitypublic int hashCode()
hashCode in class IntuitEntityCopyright © 2017. All rights reserved.