Class BatchVoidTransactionModel

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

public class BatchVoidTransactionModel extends Object
A request to void a previously created transaction.
  • Constructor Details

    • BatchVoidTransactionModel

      public BatchVoidTransactionModel()
  • Method Details

    • getCompanyCode

      public String getCompanyCode()
      Getter for companyCode Company Code - Specify the code of the company for this transaction.
    • setCompanyCode

      public void setCompanyCode(String value)
      Setter for companyCode Company Code - Specify 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.
    • getCode

      public VoidReasonCode getCode()
      Getter for code Please specify the reason for voiding or cancelling this transaction. To void the transaction, please specify the reason 'DocVoided'. If you do not provide a reason, the void command will fail.
    • setCode

      public void setCode(VoidReasonCode value)
      Setter for code Please specify the reason for voiding or cancelling this transaction. To void the transaction, please specify the reason 'DocVoided'. If you do not provide a reason, the void command will fail.
    • toString

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