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, setSyncToken
protected 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()
String
public void setDocNumber(String value)
value
- allowed object is
String
public Date getTxnDate()
String
public void setTxnDate(Date value)
value
- allowed object is
String
public ReferenceType getDepartmentRef()
ReferenceType
public void setDepartmentRef(ReferenceType value)
value
- allowed object is
ReferenceType
public ReferenceType getCurrencyRef()
ReferenceType
public void setCurrencyRef(ReferenceType value)
value
- allowed object is
ReferenceType
public BigDecimal getExchangeRate()
BigDecimal
public void setExchangeRate(BigDecimal value)
value
- allowed object is
BigDecimal
public String getPrivateNote()
String
public void setPrivateNote(String value)
value
- allowed object is
String
public String getTxnStatus()
String
public void setTxnStatus(String value)
value
- allowed object is
String
public 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()
TxnTaxDetail
public void setTxnTaxDetail(TxnTaxDetail value)
value
- allowed object is
TxnTaxDetail
public String getTxnSource()
String
public void setTxnSource(String value)
value
- allowed object is
String
public String getTaxFormType()
String
public void setTaxFormType(String value)
value
- allowed object is
String
public String getTaxFormNum()
String
public void setTaxFormNum(String value)
value
- allowed object is
String
public String getTransactionLocationType()
String
public void setTransactionLocationType(String value)
value
- allowed object is
String
public void setLinkedTxn(List<LinkedTxn> linkedTxn)
linkedTxn
- allowed object is
LinkedTxn
public void setLine(List<Line> line)
line
- allowed object is
Line
public 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.Equals2
equals
in class IntuitEntity
public boolean equals(Object object)
equals
in class IntuitEntity
public int hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy2 strategy)
hashCode
in interface org.jvnet.jaxb2_commons.lang.HashCode2
hashCode
in class IntuitEntity
public int hashCode()
hashCode
in class IntuitEntity
Copyright © 2017. All rights reserved.