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
-
Constructor Details
-
VoidTransactionModel
public VoidTransactionModel()
-
-
Method Details
-
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
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 classjava.lang.Object
-