Class BatchAdjustTransactionModel
- java.lang.Object
-
- net.avalara.avatax.rest.client.models.BatchAdjustTransactionModel
-
public class BatchAdjustTransactionModel extends java.lang.ObjectReplace an existing transaction recorded in AvaTax with a new one.
-
-
Constructor Summary
Constructors Constructor Description BatchAdjustTransactionModel()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetAdjustmentDescription()Getter for adjustmentDescription If the AdjustmentReason is "Other", specify the reason here.AdjustmentReasongetAdjustmentReason()Getter for adjustmentReason A reason code indicating why this adjustment was madejava.lang.StringgetCompanyCode()Getter for companyCode Specifies the code of the company for this transaction.java.lang.StringgetDocumentType()Getter for documentType Specifies the type of document to void.CreateTransactionModelgetNewTransaction()Getter for newTransaction Replace the current transaction with tax data calculated for this new transactionjava.lang.StringgetTransactionCode()Getter for transactionCode Please specify the transaction code of the transacion to void.voidsetAdjustmentDescription(java.lang.String value)Setter for adjustmentDescription If the AdjustmentReason is "Other", specify the reason here.voidsetAdjustmentReason(AdjustmentReason value)Setter for adjustmentReason A reason code indicating why this adjustment was madevoidsetCompanyCode(java.lang.String value)Setter for companyCode Specifies the code of the company for this transaction.voidsetDocumentType(java.lang.String value)Setter for documentType Specifies the type of document to void.voidsetNewTransaction(CreateTransactionModel value)Setter for newTransaction Replace the current transaction with tax data calculated for this new transactionvoidsetTransactionCode(java.lang.String value)Setter for transactionCode Please specify the transaction code of the transacion to void.java.lang.StringtoString()Returns a JSON string representation of BatchAdjustTransactionModel
-
-
-
Method Detail
-
getCompanyCode
public java.lang.String getCompanyCode()
Getter for companyCode Specifies the code of the company for this transaction.
-
setCompanyCode
public void setCompanyCode(java.lang.String value)
Setter for companyCode Specifies the code of the company for this transaction.
-
getTransactionCode
public java.lang.String getTransactionCode()
Getter for transactionCode Please specify the transaction code of the transacion to void.
-
setTransactionCode
public void setTransactionCode(java.lang.String value)
Setter for transactionCode Please specify the transaction code of the transacion to void.
-
getDocumentType
public java.lang.String getDocumentType()
Getter for documentType Specifies the type of document to void.
-
setDocumentType
public void setDocumentType(java.lang.String value)
Setter for documentType Specifies the type of document to void.
-
getAdjustmentReason
public AdjustmentReason getAdjustmentReason()
Getter for adjustmentReason A reason code indicating why this adjustment was made
-
setAdjustmentReason
public void setAdjustmentReason(AdjustmentReason value)
Setter for adjustmentReason A reason code indicating why this adjustment was made
-
getAdjustmentDescription
public java.lang.String getAdjustmentDescription()
Getter for adjustmentDescription If the AdjustmentReason is "Other", specify the reason here. This is required when the AdjustmentReason is 8 (Other).
-
setAdjustmentDescription
public void setAdjustmentDescription(java.lang.String value)
Setter for adjustmentDescription If the AdjustmentReason is "Other", specify the reason here. This is required when the AdjustmentReason is 8 (Other).
-
getNewTransaction
public CreateTransactionModel getNewTransaction()
Getter for newTransaction Replace the current transaction with tax data calculated for this new transaction
-
setNewTransaction
public void setNewTransaction(CreateTransactionModel value)
Setter for newTransaction Replace the current transaction with tax data calculated for this new transaction
-
toString
public java.lang.String toString()
Returns a JSON string representation of BatchAdjustTransactionModel- Overrides:
toStringin classjava.lang.Object
-
-