Class SettleTransactionModel
- java.lang.Object
-
- net.avalara.avatax.rest.client.models.SettleTransactionModel
-
public class SettleTransactionModel extends java.lang.Object
Settle this transaction with your ledger by executing one or many actions against that transaction. You may use this endpoint to verify the transaction, change the transaction's code, and commit the transaction for reporting purposes. This endpoint may be used to execute any or all of these actions at once.
-
-
Constructor Summary
Constructors Constructor Description SettleTransactionModel()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ChangeTransactionCodeModel
getChangeCode()
Getter for changeCode To change the code for this transaction, you may provide information in this field.CommitTransactionModel
getCommit()
Getter for commit To commit this transaction so that it can be reported on a tax filing, you may provide information in this field.VerifyTransactionModel
getVerify()
Getter for verify To verify this transaction, you may provide information in this field.void
setChangeCode(ChangeTransactionCodeModel value)
Setter for changeCode To change the code for this transaction, you may provide information in this field.void
setCommit(CommitTransactionModel value)
Setter for commit To commit this transaction so that it can be reported on a tax filing, you may provide information in this field.void
setVerify(VerifyTransactionModel value)
Setter for verify To verify this transaction, you may provide information in this field.java.lang.String
toString()
Returns a JSON string representation of SettleTransactionModel
-
-
-
Method Detail
-
getVerify
public VerifyTransactionModel getVerify()
Getter for verify To verify this transaction, you may provide information in this field. If you leave this field null, the transaction will not be verified.
-
setVerify
public void setVerify(VerifyTransactionModel value)
Setter for verify To verify this transaction, you may provide information in this field. If you leave this field null, the transaction will not be verified.
-
getChangeCode
public ChangeTransactionCodeModel getChangeCode()
Getter for changeCode To change the code for this transaction, you may provide information in this field. If you leave this field null, the transaction's code will not be changed.
-
setChangeCode
public void setChangeCode(ChangeTransactionCodeModel value)
Setter for changeCode To change the code for this transaction, you may provide information in this field. If you leave this field null, the transaction's code will not be changed.
-
getCommit
public CommitTransactionModel getCommit()
Getter for commit To commit this transaction so that it can be reported on a tax filing, you may provide information in this field. If you leave this field null, the transaction's commit status will not be changed. If you use Avalara's Managed Returns Service, committing a transaction will allow that transaction to be filed.
-
setCommit
public void setCommit(CommitTransactionModel value)
Setter for commit To commit this transaction so that it can be reported on a tax filing, you may provide information in this field. If you leave this field null, the transaction's commit status will not be changed. If you use Avalara's Managed Returns Service, committing a transaction will allow that transaction to be filed.
-
toString
public java.lang.String toString()
Returns a JSON string representation of SettleTransactionModel- Overrides:
toString
in classjava.lang.Object
-
-