Class BatchAdjustTransactionModel

java.lang.Object
net.avalara.avatax.rest.client.models.BatchAdjustTransactionModel

public class BatchAdjustTransactionModel extends Object
Replace an existing transaction recorded in AvaTax with a new one.
  • Constructor Details

    • BatchAdjustTransactionModel

      public BatchAdjustTransactionModel()
  • Method Details

    • getCompanyCode

      public String getCompanyCode()
      Getter for companyCode Specifies the code of the company for this transaction.
    • setCompanyCode

      public void setCompanyCode(String value)
      Setter for companyCode Specifies the code of the company for this transaction.
    • getTransactionCode

      public String getTransactionCode()
      Getter for transactionCode Please specify the transaction code of the transacion to void.
    • setTransactionCode

      public void setTransactionCode(String value)
      Setter for transactionCode Please specify the transaction code of the transacion to void.
    • getDocumentType

      public String getDocumentType()
      Getter for documentType Specifies the type of document to void.
    • setDocumentType

      public void setDocumentType(String value)
      Setter for documentType Specifies the type of document to void.
    • 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
    • getAdjustmentDescription

      public 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(String value)
      Setter for adjustmentDescription If the AdjustmentReason is "Other", specify the reason here. This is required when the AdjustmentReason is 8 (Other).
    • getNewTransaction

      public CreateTransactionModel getNewTransaction()
      Getter for newTransaction
    • setNewTransaction

      public void setNewTransaction(CreateTransactionModel value)
      Setter for newTransaction
    • toString

      public String toString()
      Returns a JSON string representation of BatchAdjustTransactionModel
      Overrides:
      toString in class Object