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
Modifier and Type Method Description java.lang.StringgetAdjustDescription()Getter for adjustDescription If the AdjustmentReason is "Other", specify the reason here.AdjustmentReasongetAdjustmentReason()Getter for adjustmentReason A reason code indicating why this adjustment was madeCreateMultiDocumentModelgetNewTransaction()Getter for newTransaction Replace the current MultiDocument transaction with tax data calculated for this new MultiDocument transactionvoidsetAdjustDescription(java.lang.String value)Setter for adjustDescription If the AdjustmentReason is "Other", specify the reason here.voidsetAdjustmentReason(AdjustmentReason value)Setter for adjustmentReason A reason code indicating why this adjustment was madevoidsetNewTransaction(CreateMultiDocumentModel value)Setter for newTransaction Replace the current MultiDocument transaction with tax data calculated for this new MultiDocument transactionjava.lang.StringtoString()Returns a JSON string representation of AdjustMultiDocumentModel
-
Constructor Details
-
AdjustMultiDocumentModel
public AdjustMultiDocumentModel()
-
-
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 -
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
Getter for newTransaction Replace the current MultiDocument transaction with tax data calculated for this new MultiDocument transaction -
setNewTransaction
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:
toStringin classjava.lang.Object
-