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.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 made
    CreateMultiDocumentModel getNewTransaction()
    Getter for newTransaction Replace the current MultiDocument transaction with tax data calculated for this new MultiDocument transaction
    void 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 made
    void setNewTransaction​(CreateMultiDocumentModel value)
    Setter for newTransaction Replace the current MultiDocument transaction with tax data calculated for this new MultiDocument transaction
    java.lang.String toString()
    Returns a JSON string representation of AdjustMultiDocumentModel

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Constructor Details

  • Method Details

    • 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 class java.lang.Object