Class ChangeTransactionCodeModel
java.lang.Object
net.avalara.avatax.rest.client.models.ChangeTransactionCodeModel
public class ChangeTransactionCodeModel
extends java.lang.Object
Settle this transaction with your ledger by verifying its amounts.
If the transaction is not yet committed, you may specify the "commit" value to commit it to the ledger and allow it to be reported.
You may also optionally change the transaction's code by specifying the "newTransactionCode" value.
-
Constructor Summary
Constructors Constructor Description ChangeTransactionCodeModel()
-
Method Summary
Modifier and Type Method Description java.lang.String
getNewCode()
Getter for newCode To change the transaction code for this transaction, specify the new transaction code here.void
setNewCode(java.lang.String value)
Setter for newCode To change the transaction code for this transaction, specify the new transaction code here.java.lang.String
toString()
Returns a JSON string representation of ChangeTransactionCodeModel
-
Constructor Details
-
ChangeTransactionCodeModel
public ChangeTransactionCodeModel()
-
-
Method Details
-
getNewCode
public java.lang.String getNewCode()Getter for newCode To change the transaction code for this transaction, specify the new transaction code here. -
setNewCode
public void setNewCode(java.lang.String value)Setter for newCode To change the transaction code for this transaction, specify the new transaction code here. -
toString
public java.lang.String toString()Returns a JSON string representation of ChangeTransactionCodeModel- Overrides:
toString
in classjava.lang.Object
-