Class BatchVoidTransactionModel

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

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

    Constructors 
    Constructor Description
    BatchVoidTransactionModel()  
  • Method Summary

    Modifier and Type Method Description
    VoidReasonCode getCode()
    Getter for code Please specify the reason for voiding or cancelling this transaction.
    java.lang.String getCompanyCode()
    Getter for companyCode Company Code - Specify the code of the company for this transaction.
    java.lang.String getDocumentType()
    Getter for documentType Specifies the type of document to void.
    java.lang.String getTransactionCode()
    Getter for transactionCode Please specify the transaction code of the transacion to void.
    void setCode​(VoidReasonCode value)
    Setter for code Please specify the reason for voiding or cancelling this transaction.
    void setCompanyCode​(java.lang.String value)
    Setter for companyCode Company Code - Specify the code of the company for this transaction.
    void setDocumentType​(java.lang.String value)
    Setter for documentType Specifies the type of document to void.
    void setTransactionCode​(java.lang.String value)
    Setter for transactionCode Please specify the transaction code of the transacion to void.
    java.lang.String toString()
    Returns a JSON string representation of BatchVoidTransactionModel

    Methods inherited from class java.lang.Object

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

  • Method Details

    • getCompanyCode

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

      public void setCompanyCode​(java.lang.String value)
      Setter for companyCode Company Code - Specify the code of the company for this transaction.
    • getTransactionCode

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

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

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

      public void setDocumentType​(java.lang.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 java.lang.String toString()
      Returns a JSON string representation of BatchVoidTransactionModel
      Overrides:
      toString in class java.lang.Object