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 VoidReasonCodegetCode()Getter for code Please specify the reason for voiding or cancelling this transaction.voidsetCode(VoidReasonCode value)Setter for code Please specify the reason for voiding or cancelling this transaction.java.lang.StringtoString()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:
toStringin classjava.lang.Object
-