Class VoidTransactionModel

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

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

    Constructors 
    Constructor Description
    VoidTransactionModel()  
  • Method Summary

    Modifier and Type Method Description
    VoidReasonCode getCode()
    Getter for code Please specify the reason for voiding or cancelling this transaction.
    void setCode​(VoidReasonCode value)
    Setter for code Please specify the reason for voiding or cancelling this transaction.
    java.lang.String toString()
    Returns a JSON string representation of VoidTransactionModel

    Methods inherited from class java.lang.Object

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

  • Method Details

    • 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 VoidTransactionModel
      Overrides:
      toString in class java.lang.Object