public class TransactionModel
extends java.lang.Object
Constructor and Description |
---|
TransactionModel() |
Modifier and Type | Method and Description |
---|---|
java.util.ArrayList<TransactionAddressModel> |
getAddresses()
Getter for addresses - A single transaction - for example, a sales invoice or purchase order.
|
java.lang.String |
getAdjustmentDescription()
Getter for adjustmentDescription - A single transaction - for example, a sales invoice or purchase order.
|
AdjustmentReason |
getAdjustmentReason()
Getter for adjustmentReason - A single transaction - for example, a sales invoice or purchase order.
|
java.lang.String |
getBatchCode()
Getter for batchCode - A single transaction - for example, a sales invoice or purchase order.
|
java.lang.String |
getBusinessIdentificationNo()
Getter for businessIdentificationNo - A single transaction - for example, a sales invoice or purchase order.
|
java.lang.String |
getCode()
Getter for code - A single transaction - for example, a sales invoice or purchase order.
|
java.lang.Integer |
getCompanyId()
Getter for companyId - A single transaction - for example, a sales invoice or purchase order.
|
java.lang.String |
getCountry()
Getter for country - A single transaction - for example, a sales invoice or purchase order.
|
java.lang.String |
getCurrencyCode()
Getter for currencyCode - A single transaction - for example, a sales invoice or purchase order.
|
java.lang.String |
getCustomerUsageType()
Getter for customerUsageType - A single transaction - for example, a sales invoice or purchase order.
|
java.lang.String |
getCustomerVendorCode()
Getter for customerVendorCode - A single transaction - for example, a sales invoice or purchase order.
|
java.util.Date |
getDate()
Getter for date - A single transaction - for example, a sales invoice or purchase order.
|
java.lang.String |
getDescription()
Getter for description - A single transaction - for example, a sales invoice or purchase order.
|
java.lang.Long |
getDestinationAddressId()
Getter for destinationAddressId - A single transaction - for example, a sales invoice or purchase order.
|
java.lang.String |
getEmail()
Getter for email - A single transaction - for example, a sales invoice or purchase order.
|
java.math.BigDecimal |
getExchangeRate()
Getter for exchangeRate - A single transaction - for example, a sales invoice or purchase order.
|
java.util.Date |
getExchangeRateEffectiveDate()
Getter for exchangeRateEffectiveDate - A single transaction - for example, a sales invoice or purchase order.
|
java.lang.String |
getExemptNo()
Getter for exemptNo - A single transaction - for example, a sales invoice or purchase order.
|
java.util.ArrayList<TransactionModel> |
getHistory()
Getter for history - A single transaction - for example, a sales invoice or purchase order.
|
java.lang.Long |
getId()
Getter for id - A single transaction - for example, a sales invoice or purchase order.
|
java.lang.Boolean |
getIsSellerImporterOfRecord()
Getter for isSellerImporterOfRecord - A single transaction - for example, a sales invoice or purchase order.
|
java.util.ArrayList<TransactionLineModel> |
getLines()
Getter for lines - A single transaction - for example, a sales invoice or purchase order.
|
java.lang.String |
getLocationCode()
Getter for locationCode - A single transaction - for example, a sales invoice or purchase order.
|
java.util.ArrayList<TransactionLocationTypeModel> |
getLocationTypes()
Getter for locationTypes - A single transaction - for example, a sales invoice or purchase order.
|
java.lang.Boolean |
getLocked()
Getter for locked - A single transaction - for example, a sales invoice or purchase order.
|
java.util.ArrayList<AvaTaxMessage> |
getMessages()
Getter for messages - A single transaction - for example, a sales invoice or purchase order.
|
java.util.Date |
getModifiedDate()
Getter for modifiedDate - A single transaction - for example, a sales invoice or purchase order.
|
java.lang.Integer |
getModifiedUserId()
Getter for modifiedUserId - A single transaction - for example, a sales invoice or purchase order.
|
java.lang.Long |
getOriginAddressId()
Getter for originAddressId - A single transaction - for example, a sales invoice or purchase order.
|
java.util.HashMap<java.lang.String,java.lang.String> |
getParameters()
Getter for parameters - A single transaction - for example, a sales invoice or purchase order.
|
java.util.Date |
getPaymentDate()
Getter for paymentDate - A single transaction - for example, a sales invoice or purchase order.
|
java.lang.String |
getPurchaseOrderNo()
Getter for purchaseOrderNo - A single transaction - for example, a sales invoice or purchase order.
|
java.lang.Boolean |
getReconciled()
Getter for reconciled - A single transaction - for example, a sales invoice or purchase order.
|
java.lang.String |
getReferenceCode()
Getter for referenceCode - A single transaction - for example, a sales invoice or purchase order.
|
java.lang.String |
getRegion()
Getter for region - A single transaction - for example, a sales invoice or purchase order.
|
java.lang.String |
getSalespersonCode()
Getter for salespersonCode - A single transaction - for example, a sales invoice or purchase order.
|
java.lang.String |
getSoftwareVersion()
Getter for softwareVersion - A single transaction - for example, a sales invoice or purchase order.
|
DocumentStatus |
getStatus()
Getter for status - A single transaction - for example, a sales invoice or purchase order.
|
java.util.ArrayList<TransactionSummary> |
getSummary()
Getter for summary - A single transaction - for example, a sales invoice or purchase order.
|
java.util.Date |
getTaxDate()
Getter for taxDate - A single transaction - for example, a sales invoice or purchase order.
|
java.math.BigDecimal |
getTaxOverrideAmount()
Getter for taxOverrideAmount - A single transaction - for example, a sales invoice or purchase order.
|
java.lang.String |
getTaxOverrideReason()
Getter for taxOverrideReason - A single transaction - for example, a sales invoice or purchase order.
|
TaxOverrideTypeId |
getTaxOverrideType()
Getter for taxOverrideType - A single transaction - for example, a sales invoice or purchase order.
|
java.math.BigDecimal |
getTotalAmount()
Getter for totalAmount - A single transaction - for example, a sales invoice or purchase order.
|
java.math.BigDecimal |
getTotalExempt()
Getter for totalExempt - A single transaction - for example, a sales invoice or purchase order.
|
java.math.BigDecimal |
getTotalTax()
Getter for totalTax - A single transaction - for example, a sales invoice or purchase order.
|
java.math.BigDecimal |
getTotalTaxable()
Getter for totalTaxable - A single transaction - for example, a sales invoice or purchase order.
|
java.math.BigDecimal |
getTotalTaxCalculated()
Getter for totalTaxCalculated - A single transaction - for example, a sales invoice or purchase order.
|
DocumentType |
getType()
Getter for type - A single transaction - for example, a sales invoice or purchase order.
|
java.lang.Integer |
getVersion()
Getter for version - A single transaction - for example, a sales invoice or purchase order.
|
void |
setAddresses(java.util.ArrayList<TransactionAddressModel> addresses)
Setter for addresses - A single transaction - for example, a sales invoice or purchase order.
|
void |
setAdjustmentDescription(java.lang.String adjustmentDescription)
Setter for adjustmentDescription - A single transaction - for example, a sales invoice or purchase order.
|
void |
setAdjustmentReason(AdjustmentReason adjustmentReason)
Setter for adjustmentReason - A single transaction - for example, a sales invoice or purchase order.
|
void |
setBatchCode(java.lang.String batchCode)
Setter for batchCode - A single transaction - for example, a sales invoice or purchase order.
|
void |
setBusinessIdentificationNo(java.lang.String businessIdentificationNo)
Setter for businessIdentificationNo - A single transaction - for example, a sales invoice or purchase order.
|
void |
setCode(java.lang.String code)
Setter for code - A single transaction - for example, a sales invoice or purchase order.
|
void |
setCompanyId(java.lang.Integer companyId)
Setter for companyId - A single transaction - for example, a sales invoice or purchase order.
|
void |
setCountry(java.lang.String country)
Setter for country - A single transaction - for example, a sales invoice or purchase order.
|
void |
setCurrencyCode(java.lang.String currencyCode)
Setter for currencyCode - A single transaction - for example, a sales invoice or purchase order.
|
void |
setCustomerUsageType(java.lang.String customerUsageType)
Setter for customerUsageType - A single transaction - for example, a sales invoice or purchase order.
|
void |
setCustomerVendorCode(java.lang.String customerVendorCode)
Setter for customerVendorCode - A single transaction - for example, a sales invoice or purchase order.
|
void |
setDate(java.util.Date date)
Setter for date - A single transaction - for example, a sales invoice or purchase order.
|
void |
setDescription(java.lang.String description)
Setter for description - A single transaction - for example, a sales invoice or purchase order.
|
void |
setDestinationAddressId(java.lang.Long destinationAddressId)
Setter for destinationAddressId - A single transaction - for example, a sales invoice or purchase order.
|
void |
setEmail(java.lang.String email)
Setter for email - A single transaction - for example, a sales invoice or purchase order.
|
void |
setExchangeRate(java.math.BigDecimal exchangeRate)
Setter for exchangeRate - A single transaction - for example, a sales invoice or purchase order.
|
void |
setExchangeRateEffectiveDate(java.util.Date exchangeRateEffectiveDate)
Setter for exchangeRateEffectiveDate - A single transaction - for example, a sales invoice or purchase order.
|
void |
setExemptNo(java.lang.String exemptNo)
Setter for exemptNo - A single transaction - for example, a sales invoice or purchase order.
|
void |
setHistory(java.util.ArrayList<TransactionModel> history)
Setter for history - A single transaction - for example, a sales invoice or purchase order.
|
void |
setId(java.lang.Long id)
Setter for id - A single transaction - for example, a sales invoice or purchase order.
|
void |
setIsSellerImporterOfRecord(java.lang.Boolean isSellerImporterOfRecord)
Setter for isSellerImporterOfRecord - A single transaction - for example, a sales invoice or purchase order.
|
void |
setLines(java.util.ArrayList<TransactionLineModel> lines)
Setter for lines - A single transaction - for example, a sales invoice or purchase order.
|
void |
setLocationCode(java.lang.String locationCode)
Setter for locationCode - A single transaction - for example, a sales invoice or purchase order.
|
void |
setLocationTypes(java.util.ArrayList<TransactionLocationTypeModel> locationTypes)
Setter for locationTypes - A single transaction - for example, a sales invoice or purchase order.
|
void |
setLocked(java.lang.Boolean locked)
Setter for locked - A single transaction - for example, a sales invoice or purchase order.
|
void |
setMessages(java.util.ArrayList<AvaTaxMessage> messages)
Setter for messages - A single transaction - for example, a sales invoice or purchase order.
|
void |
setModifiedDate(java.util.Date modifiedDate)
Setter for modifiedDate - A single transaction - for example, a sales invoice or purchase order.
|
void |
setModifiedUserId(java.lang.Integer modifiedUserId)
Setter for modifiedUserId - A single transaction - for example, a sales invoice or purchase order.
|
void |
setOriginAddressId(java.lang.Long originAddressId)
Setter for originAddressId - A single transaction - for example, a sales invoice or purchase order.
|
void |
setParameters(java.util.HashMap<java.lang.String,java.lang.String> parameters)
Setter for parameters - A single transaction - for example, a sales invoice or purchase order.
|
void |
setPaymentDate(java.util.Date paymentDate)
Setter for paymentDate - A single transaction - for example, a sales invoice or purchase order.
|
void |
setPurchaseOrderNo(java.lang.String purchaseOrderNo)
Setter for purchaseOrderNo - A single transaction - for example, a sales invoice or purchase order.
|
void |
setReconciled(java.lang.Boolean reconciled)
Setter for reconciled - A single transaction - for example, a sales invoice or purchase order.
|
void |
setReferenceCode(java.lang.String referenceCode)
Setter for referenceCode - A single transaction - for example, a sales invoice or purchase order.
|
void |
setRegion(java.lang.String region)
Setter for region - A single transaction - for example, a sales invoice or purchase order.
|
void |
setSalespersonCode(java.lang.String salespersonCode)
Setter for salespersonCode - A single transaction - for example, a sales invoice or purchase order.
|
void |
setSoftwareVersion(java.lang.String softwareVersion)
Setter for softwareVersion - A single transaction - for example, a sales invoice or purchase order.
|
void |
setStatus(DocumentStatus status)
Setter for status - A single transaction - for example, a sales invoice or purchase order.
|
void |
setSummary(java.util.ArrayList<TransactionSummary> summary)
Setter for summary - A single transaction - for example, a sales invoice or purchase order.
|
void |
setTaxDate(java.util.Date taxDate)
Setter for taxDate - A single transaction - for example, a sales invoice or purchase order.
|
void |
setTaxOverrideAmount(java.math.BigDecimal taxOverrideAmount)
Setter for taxOverrideAmount - A single transaction - for example, a sales invoice or purchase order.
|
void |
setTaxOverrideReason(java.lang.String taxOverrideReason)
Setter for taxOverrideReason - A single transaction - for example, a sales invoice or purchase order.
|
void |
setTaxOverrideType(TaxOverrideTypeId taxOverrideType)
Setter for taxOverrideType - A single transaction - for example, a sales invoice or purchase order.
|
void |
setTotalAmount(java.math.BigDecimal totalAmount)
Setter for totalAmount - A single transaction - for example, a sales invoice or purchase order.
|
void |
setTotalExempt(java.math.BigDecimal totalExempt)
Setter for totalExempt - A single transaction - for example, a sales invoice or purchase order.
|
void |
setTotalTax(java.math.BigDecimal totalTax)
Setter for totalTax - A single transaction - for example, a sales invoice or purchase order.
|
void |
setTotalTaxable(java.math.BigDecimal totalTaxable)
Setter for totalTaxable - A single transaction - for example, a sales invoice or purchase order.
|
void |
setTotalTaxCalculated(java.math.BigDecimal totalTaxCalculated)
Setter for totalTaxCalculated - A single transaction - for example, a sales invoice or purchase order.
|
void |
setType(DocumentType type)
Setter for type - A single transaction - for example, a sales invoice or purchase order.
|
void |
setVersion(java.lang.Integer version)
Setter for version - A single transaction - for example, a sales invoice or purchase order.
|
java.lang.String |
toString()
Returns a JSON string representation of TransactionModel.
|
public java.util.ArrayList<AvaTaxMessage> getMessages()
public void setMessages(java.util.ArrayList<AvaTaxMessage> messages)
public java.lang.String getBatchCode()
public void setBatchCode(java.lang.String batchCode)
public java.lang.String getCustomerUsageType()
public void setCustomerUsageType(java.lang.String customerUsageType)
public java.util.ArrayList<TransactionModel> getHistory()
public void setHistory(java.util.ArrayList<TransactionModel> history)
public java.lang.String getEmail()
public void setEmail(java.lang.String email)
public TaxOverrideTypeId getTaxOverrideType()
public void setTaxOverrideType(TaxOverrideTypeId taxOverrideType)
public java.lang.Long getOriginAddressId()
public void setOriginAddressId(java.lang.Long originAddressId)
public java.lang.String getDescription()
public void setDescription(java.lang.String description)
public java.lang.String getSoftwareVersion()
public void setSoftwareVersion(java.lang.String softwareVersion)
public java.lang.String getExemptNo()
public void setExemptNo(java.lang.String exemptNo)
public java.util.Date getModifiedDate()
public void setModifiedDate(java.util.Date modifiedDate)
public java.lang.String getLocationCode()
public void setLocationCode(java.lang.String locationCode)
public java.lang.String getBusinessIdentificationNo()
public void setBusinessIdentificationNo(java.lang.String businessIdentificationNo)
public java.lang.String getPurchaseOrderNo()
public void setPurchaseOrderNo(java.lang.String purchaseOrderNo)
public java.lang.Boolean getLocked()
public void setLocked(java.lang.Boolean locked)
public java.lang.String getCountry()
public void setCountry(java.lang.String country)
public java.math.BigDecimal getTotalTaxable()
public void setTotalTaxable(java.math.BigDecimal totalTaxable)
public java.math.BigDecimal getExchangeRate()
public void setExchangeRate(java.math.BigDecimal exchangeRate)
public java.lang.String getCode()
public void setCode(java.lang.String code)
public java.lang.String getReferenceCode()
public void setReferenceCode(java.lang.String referenceCode)
public java.math.BigDecimal getTotalAmount()
public void setTotalAmount(java.math.BigDecimal totalAmount)
public java.lang.Integer getVersion()
public void setVersion(java.lang.Integer version)
public java.lang.Long getId()
public void setId(java.lang.Long id)
public java.util.Date getExchangeRateEffectiveDate()
public void setExchangeRateEffectiveDate(java.util.Date exchangeRateEffectiveDate)
public java.util.Date getDate()
public void setDate(java.util.Date date)
public java.lang.Long getDestinationAddressId()
public void setDestinationAddressId(java.lang.Long destinationAddressId)
public DocumentStatus getStatus()
public void setStatus(DocumentStatus status)
public java.util.ArrayList<TransactionLocationTypeModel> getLocationTypes()
public void setLocationTypes(java.util.ArrayList<TransactionLocationTypeModel> locationTypes)
public java.lang.String getTaxOverrideReason()
public void setTaxOverrideReason(java.lang.String taxOverrideReason)
public java.lang.Boolean getIsSellerImporterOfRecord()
public void setIsSellerImporterOfRecord(java.lang.Boolean isSellerImporterOfRecord)
public java.lang.Integer getModifiedUserId()
public void setModifiedUserId(java.lang.Integer modifiedUserId)
public java.lang.String getCurrencyCode()
public void setCurrencyCode(java.lang.String currencyCode)
public java.lang.String getRegion()
public void setRegion(java.lang.String region)
public java.math.BigDecimal getTaxOverrideAmount()
public void setTaxOverrideAmount(java.math.BigDecimal taxOverrideAmount)
public java.math.BigDecimal getTotalTax()
public void setTotalTax(java.math.BigDecimal totalTax)
public java.util.Date getPaymentDate()
public void setPaymentDate(java.util.Date paymentDate)
public java.math.BigDecimal getTotalTaxCalculated()
public void setTotalTaxCalculated(java.math.BigDecimal totalTaxCalculated)
public java.lang.String getCustomerVendorCode()
public void setCustomerVendorCode(java.lang.String customerVendorCode)
public java.lang.String getSalespersonCode()
public void setSalespersonCode(java.lang.String salespersonCode)
public DocumentType getType()
public void setType(DocumentType type)
public java.math.BigDecimal getTotalExempt()
public void setTotalExempt(java.math.BigDecimal totalExempt)
public java.util.ArrayList<TransactionLineModel> getLines()
public void setLines(java.util.ArrayList<TransactionLineModel> lines)
public java.util.HashMap<java.lang.String,java.lang.String> getParameters()
public void setParameters(java.util.HashMap<java.lang.String,java.lang.String> parameters)
public java.util.Date getTaxDate()
public void setTaxDate(java.util.Date taxDate)
public java.lang.String getAdjustmentDescription()
public void setAdjustmentDescription(java.lang.String adjustmentDescription)
public java.util.ArrayList<TransactionSummary> getSummary()
public void setSummary(java.util.ArrayList<TransactionSummary> summary)
public AdjustmentReason getAdjustmentReason()
public void setAdjustmentReason(AdjustmentReason adjustmentReason)
public java.lang.Integer getCompanyId()
public void setCompanyId(java.lang.Integer companyId)
public java.lang.Boolean getReconciled()
public void setReconciled(java.lang.Boolean reconciled)
public java.util.ArrayList<TransactionAddressModel> getAddresses()
public void setAddresses(java.util.ArrayList<TransactionAddressModel> addresses)
public java.lang.String toString()
toString
in class java.lang.Object