Class AdjustMultiDocumentModel
- java.lang.Object
-
- net.avalara.avatax.rest.client.models.AdjustMultiDocumentModel
-
public class AdjustMultiDocumentModel extends java.lang.Object
Replace an existing MultiDocument transaction recorded in AvaTax with a new one.
-
-
Constructor Summary
Constructors Constructor Description AdjustMultiDocumentModel()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getAdjustDescription()
Getter for adjustDescription If the AdjustmentReason is "Other", specify the reason here.AdjustmentReason
getAdjustmentReason()
Getter for adjustmentReason A reason code indicating why this adjustment was madeCreateMultiDocumentModel
getNewTransaction()
Getter for newTransaction Replace the current MultiDocument transaction with tax data calculated for this new MultiDocument transactionvoid
setAdjustDescription(java.lang.String value)
Setter for adjustDescription 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(CreateMultiDocumentModel value)
Setter for newTransaction Replace the current MultiDocument transaction with tax data calculated for this new MultiDocument transactionjava.lang.String
toString()
Returns a JSON string representation of AdjustMultiDocumentModel
-
-
-
Method Detail
-
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
-
getAdjustDescription
public java.lang.String getAdjustDescription()
Getter for adjustDescription If the AdjustmentReason is "Other", specify the reason here. This is required when the AdjustmentReason is 8 (Other).
-
setAdjustDescription
public void setAdjustDescription(java.lang.String value)
Setter for adjustDescription If the AdjustmentReason is "Other", specify the reason here. This is required when the AdjustmentReason is 8 (Other).
-
getNewTransaction
public CreateMultiDocumentModel getNewTransaction()
Getter for newTransaction Replace the current MultiDocument transaction with tax data calculated for this new MultiDocument transaction
-
setNewTransaction
public void setNewTransaction(CreateMultiDocumentModel value)
Setter for newTransaction Replace the current MultiDocument transaction with tax data calculated for this new MultiDocument transaction
-
toString
public java.lang.String toString()
Returns a JSON string representation of AdjustMultiDocumentModel- Overrides:
toString
in classjava.lang.Object
-
-