Class ChangeTransactionCodeModel

java.lang.Object
net.avalara.avatax.rest.client.models.ChangeTransactionCodeModel

public class ChangeTransactionCodeModel extends 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 Details

    • ChangeTransactionCodeModel

      public ChangeTransactionCodeModel()
  • Method Details

    • getNewCode

      public String getNewCode()
      Getter for newCode To change the transaction code for this transaction, specify the new transaction code here.
    • setNewCode

      public void setNewCode(String value)
      Setter for newCode To change the transaction code for this transaction, specify the new transaction code here.
    • toString

      public String toString()
      Returns a JSON string representation of ChangeTransactionCodeModel
      Overrides:
      toString in class Object