Class BatchAdjustTransactionModel
java.lang.Object
net.avalara.avatax.rest.client.models.BatchAdjustTransactionModel
public class BatchAdjustTransactionModel
extends java.lang.Object
Replace an existing transaction recorded in AvaTax with a new one.
-
Constructor Summary
Constructors Constructor Description BatchAdjustTransactionModel()
-
Method Summary
Modifier and Type Method Description java.lang.String
getAdjustmentDescription()
Getter for adjustmentDescription If the AdjustmentReason is "Other", specify the reason here.AdjustmentReason
getAdjustmentReason()
Getter for adjustmentReason A reason code indicating why this adjustment was madejava.lang.String
getCompanyCode()
Getter for companyCode Specifies the code of the company for this transaction.java.lang.String
getDocumentType()
Getter for documentType Specifies the type of document to void.CreateTransactionModel
getNewTransaction()
Getter for newTransactionjava.lang.String
getTransactionCode()
Getter for transactionCode Please specify the transaction code of the transacion to void.void
setAdjustmentDescription(java.lang.String value)
Setter for adjustmentDescription If the AdjustmentReason is "Other", specify the reason here.void
setAdjustmentReason(AdjustmentReason value)
Setter for adjustmentReason A reason code indicating why this adjustment was madevoid
setCompanyCode(java.lang.String value)
Setter for companyCode Specifies the code of the company for this transaction.void
setDocumentType(java.lang.String value)
Setter for documentType Specifies the type of document to void.void
setNewTransaction(CreateTransactionModel value)
Setter for newTransactionvoid
setTransactionCode(java.lang.String value)
Setter for transactionCode Please specify the transaction code of the transacion to void.java.lang.String
toString()
Returns a JSON string representation of BatchAdjustTransactionModel
-
Constructor Details
-
BatchAdjustTransactionModel
public BatchAdjustTransactionModel()
-
-
Method Details
-
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
Getter for adjustmentReason A reason code indicating why this adjustment was made -
setAdjustmentReason
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
Getter for newTransaction -
setNewTransaction
Setter for newTransaction -
toString
public java.lang.String toString()Returns a JSON string representation of BatchAdjustTransactionModel- Overrides:
toString
in classjava.lang.Object
-