Class AdjustMultiDocumentModel
- java.lang.Object
-
- net.avalara.avatax.rest.client.models.AdjustMultiDocumentModel
-
public class AdjustMultiDocumentModel extends java.lang.ObjectReplace 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.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
-
-
-
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:
toStringin classjava.lang.Object
-
-