Class AdjustTransactionModel
java.lang.Object
net.avalara.avatax.rest.client.models.AdjustTransactionModel
public class AdjustTransactionModel
extends java.lang.Object
Replace an existing transaction recorded in AvaTax with a new one.
-
Constructor Summary
Constructors Constructor Description AdjustTransactionModel()
-
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 madeCreateTransactionModel
getNewTransaction()
Getter for newTransaction Replace the current transaction with tax data calculated for this new transactionvoid
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
setNewTransaction(CreateTransactionModel value)
Setter for newTransaction Replace the current transaction with tax data calculated for this new transactionjava.lang.String
toString()
Returns a JSON string representation of AdjustTransactionModel
-
Constructor Details
-
AdjustTransactionModel
public AdjustTransactionModel()
-
-
Method Details
-
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 Replace the current transaction with tax data calculated for this new transaction -
setNewTransaction
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 AdjustTransactionModel- Overrides:
toString
in classjava.lang.Object
-