public class CreateTransactionModel
extends java.lang.Object
Constructor and Description |
---|
CreateTransactionModel() |
Modifier and Type | Method and Description |
---|---|
java.util.HashMap<TransactionAddressType,AddressInfo> |
getAddresses()
Getter for addresses - Default addresses for all lines in this document
|
java.lang.String |
getBatchCode()
Getter for batchCode - BatchCode for batch operations.
|
java.lang.String |
getBusinessIdentificationNo()
Getter for businessIdentificationNo - BusinessIdentificationNo
|
java.lang.String |
getCode()
Getter for code - Transaction Code - the internal reference code used by the client application.
|
java.lang.Boolean |
getCommit()
Getter for commit - Causes the document to be committed if true.
|
java.lang.String |
getCompanyCode()
Getter for companyCode - Company Code - Specify the code of the company creating this transaction here.
|
java.lang.String |
getCurrencyCode()
Getter for currencyCode - 3 character ISO 4217 currency code.
|
java.lang.String |
getCustomerCode()
Getter for customerCode - Customer Code - The client application customer reference code.
|
java.lang.String |
getCustomerUsageType()
Getter for customerUsageType - Customer Usage Type - The client application customer or usage type.
|
java.util.Date |
getDate()
Getter for date - Transaction Date - The date on the invoice, purchase order, etc.
|
TaxDebugLevel |
getDebugLevel()
Getter for debugLevel - If the user wishes to request additional debug information from this transaction, specify a level higher than 'normal'
|
java.lang.String |
getDescription()
Getter for description - Description
|
java.math.BigDecimal |
getDiscount()
Getter for discount - Discount - The discount amount to apply to the document.
|
java.lang.String |
getEmail()
Getter for email - Email
|
java.math.BigDecimal |
getExchangeRate()
Getter for exchangeRate - Currency exchange rate from this transaction to the company base currency.
|
java.util.Date |
getExchangeRateEffectiveDate()
Getter for exchangeRateEffectiveDate - Effective date of the exchange rate.
|
java.lang.String |
getExemptionNo()
Getter for exemptionNo - Exemption Number for this document
|
java.lang.Boolean |
getIsSellerImporterOfRecord()
Getter for isSellerImporterOfRecord - Specifies if the Transaction has the seller as IsSellerImporterOfRecord
|
java.util.ArrayList<LineItemModel> |
getLines()
Getter for lines - Document line items list
|
java.util.HashMap<java.lang.String,java.lang.String> |
getParameters()
Getter for parameters - Special parameters for this transaction.
|
java.lang.String |
getPosLaneCode()
Getter for posLaneCode - Sets the POS Lane Code sent by the User for this document.
|
java.lang.String |
getPurchaseOrderNo()
Getter for purchaseOrderNo - Purchase Order Number for this document
|
java.lang.String |
getReferenceCode()
Getter for referenceCode - Reference Code used to reference the original document for a return invoice
|
java.lang.String |
getReportingLocationCode()
Getter for reportingLocationCode - Sets the sale location code (Outlet ID) for reporting this document to the tax authority.
|
java.lang.String |
getSalespersonCode()
Getter for salespersonCode - Salesperson Code - The client application salesperson reference code.
|
ServiceMode |
getServiceMode()
Getter for serviceMode - Specifies whether the tax calculation is handled Local, Remote, or Automatic (default)
|
java.util.Date |
getTaxDate()
Getter for taxDate - Indicates the tax effectivity override date for the entire document.
|
TaxOverrideModel |
getTaxOverride()
Getter for taxOverride - Specifies a tax override for the entire document
|
DocumentType |
getType()
Getter for type - Document Type
|
void |
setAddresses(java.util.HashMap<TransactionAddressType,AddressInfo> addresses)
Setter for addresses - Default addresses for all lines in this document
|
void |
setBatchCode(java.lang.String batchCode)
Setter for batchCode - BatchCode for batch operations.
|
void |
setBusinessIdentificationNo(java.lang.String businessIdentificationNo)
Setter for businessIdentificationNo - BusinessIdentificationNo
|
void |
setCode(java.lang.String code)
Setter for code - Transaction Code - the internal reference code used by the client application.
|
void |
setCommit(java.lang.Boolean commit)
Setter for commit - Causes the document to be committed if true.
|
void |
setCompanyCode(java.lang.String companyCode)
Setter for companyCode - Company Code - Specify the code of the company creating this transaction here.
|
void |
setCurrencyCode(java.lang.String currencyCode)
Setter for currencyCode - 3 character ISO 4217 currency code.
|
void |
setCustomerCode(java.lang.String customerCode)
Setter for customerCode - Customer Code - The client application customer reference code.
|
void |
setCustomerUsageType(java.lang.String customerUsageType)
Setter for customerUsageType - Customer Usage Type - The client application customer or usage type.
|
void |
setDate(java.util.Date date)
Setter for date - Transaction Date - The date on the invoice, purchase order, etc.
|
void |
setDebugLevel(TaxDebugLevel debugLevel)
Setter for debugLevel - If the user wishes to request additional debug information from this transaction, specify a level higher than 'normal'
|
void |
setDescription(java.lang.String description)
Setter for description - Description
|
void |
setDiscount(java.math.BigDecimal discount)
Setter for discount - Discount - The discount amount to apply to the document.
|
void |
setEmail(java.lang.String email)
Setter for email - Email
|
void |
setExchangeRate(java.math.BigDecimal exchangeRate)
Setter for exchangeRate - Currency exchange rate from this transaction to the company base currency.
|
void |
setExchangeRateEffectiveDate(java.util.Date exchangeRateEffectiveDate)
Setter for exchangeRateEffectiveDate - Effective date of the exchange rate.
|
void |
setExemptionNo(java.lang.String exemptionNo)
Setter for exemptionNo - Exemption Number for this document
|
void |
setIsSellerImporterOfRecord(java.lang.Boolean isSellerImporterOfRecord)
Setter for isSellerImporterOfRecord - Specifies if the Transaction has the seller as IsSellerImporterOfRecord
|
void |
setLines(java.util.ArrayList<LineItemModel> lines)
Setter for lines - Document line items list
|
void |
setParameters(java.util.HashMap<java.lang.String,java.lang.String> parameters)
Setter for parameters - Special parameters for this transaction.
|
void |
setPosLaneCode(java.lang.String posLaneCode)
Setter for posLaneCode - Sets the POS Lane Code sent by the User for this document.
|
void |
setPurchaseOrderNo(java.lang.String purchaseOrderNo)
Setter for purchaseOrderNo - Purchase Order Number for this document
|
void |
setReferenceCode(java.lang.String referenceCode)
Setter for referenceCode - Reference Code used to reference the original document for a return invoice
|
void |
setReportingLocationCode(java.lang.String reportingLocationCode)
Setter for reportingLocationCode - Sets the sale location code (Outlet ID) for reporting this document to the tax authority.
|
void |
setSalespersonCode(java.lang.String salespersonCode)
Setter for salespersonCode - Salesperson Code - The client application salesperson reference code.
|
void |
setServiceMode(ServiceMode serviceMode)
Setter for serviceMode - Specifies whether the tax calculation is handled Local, Remote, or Automatic (default)
|
void |
setTaxDate(java.util.Date taxDate)
Setter for taxDate - Indicates the tax effectivity override date for the entire document.
|
void |
setTaxOverride(TaxOverrideModel taxOverride)
Setter for taxOverride - Specifies a tax override for the entire document
|
void |
setType(DocumentType type)
Setter for type - Document Type
|
java.lang.String |
toString()
Returns a JSON string representation of CreateTransactionModel.
|
public ServiceMode getServiceMode()
public void setServiceMode(ServiceMode serviceMode)
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.lang.Boolean getCommit()
public void setCommit(java.lang.Boolean commit)
public java.lang.String getReportingLocationCode()
public void setReportingLocationCode(java.lang.String reportingLocationCode)
public java.lang.String getEmail()
public void setEmail(java.lang.String email)
public TaxOverrideModel getTaxOverride()
public void setTaxOverride(TaxOverrideModel taxOverride)
public java.lang.String getDescription()
public void setDescription(java.lang.String description)
public java.lang.String getPosLaneCode()
public void setPosLaneCode(java.lang.String posLaneCode)
public TaxDebugLevel getDebugLevel()
public void setDebugLevel(TaxDebugLevel debugLevel)
public java.lang.String getCompanyCode()
public void setCompanyCode(java.lang.String companyCode)
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.math.BigDecimal getExchangeRate()
public void setExchangeRate(java.math.BigDecimal exchangeRate)
public java.lang.String getCustomerCode()
public void setCustomerCode(java.lang.String customerCode)
public java.lang.String getCode()
public void setCode(java.lang.String code)
public java.lang.String getExemptionNo()
public void setExemptionNo(java.lang.String exemptionNo)
public java.lang.String getReferenceCode()
public void setReferenceCode(java.lang.String referenceCode)
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.Boolean getIsSellerImporterOfRecord()
public void setIsSellerImporterOfRecord(java.lang.Boolean isSellerImporterOfRecord)
public java.lang.String getCurrencyCode()
public void setCurrencyCode(java.lang.String currencyCode)
public java.lang.String getSalespersonCode()
public void setSalespersonCode(java.lang.String salespersonCode)
public DocumentType getType()
public void setType(DocumentType type)
public java.math.BigDecimal getDiscount()
public void setDiscount(java.math.BigDecimal discount)
public java.util.ArrayList<LineItemModel> getLines()
public void setLines(java.util.ArrayList<LineItemModel> 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.util.HashMap<TransactionAddressType,AddressInfo> getAddresses()
public void setAddresses(java.util.HashMap<TransactionAddressType,AddressInfo> addresses)
public java.lang.String toString()
toString
in class java.lang.Object