Class VoidTransactionModel
- java.lang.Object
-
- net.avalara.avatax.rest.client.models.VoidTransactionModel
-
public class VoidTransactionModel extends java.lang.ObjectA request to void a previously created transaction
-
-
Constructor Summary
Constructors Constructor Description VoidTransactionModel()
-
Method Summary
All Methods Instance Methods Concrete Methods 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
-
-
-
Method Detail
-
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:
toStringin classjava.lang.Object
-
-