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 VoidReasonCodegetCode()Getter for code Please specify the reason for voiding or cancelling this transaction.java.lang.StringgetCompanyCode()Getter for companyCode Company Code - Specify the code of the company for this transaction.java.lang.StringgetDocumentType()Getter for documentType Specifies the type of document to void.java.lang.StringgetTransactionCode()Getter for transactionCode Please specify the transaction code of the transacion to void.voidsetCode(VoidReasonCode value)Setter for code Please specify the reason for voiding or cancelling this transaction.voidsetCompanyCode(java.lang.String value)Setter for companyCode Company Code - Specify the code of the company for this transaction.voidsetDocumentType(java.lang.String value)Setter for documentType Specifies the type of document to void.voidsetTransactionCode(java.lang.String value)Setter for transactionCode Please specify the transaction code of the transacion to void.java.lang.StringtoString()Returns a JSON string representation of BatchVoidTransactionModel
-
Constructor Details
-
BatchVoidTransactionModel
public BatchVoidTransactionModel()
-
-
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
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 BatchVoidTransactionModel- Overrides:
toStringin classjava.lang.Object
-