Class CreateOrAdjustTransactionModel
- java.lang.Object
-
- net.avalara.avatax.rest.client.models.CreateOrAdjustTransactionModel
-
public class CreateOrAdjustTransactionModel extends java.lang.Object
Create or adjust transaction model
-
-
Constructor Summary
Constructors Constructor Description CreateOrAdjustTransactionModel()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getAdjustmentDescription()
Getter for adjustmentDescription If the AdjustmentReason is "Other", specify the reason here.AdjustmentReason
getAdjustmentReason()
Getter for adjustmentReason A reason code indicating why this adjustment was madeCreateTransactionModel
getCreateTransactionModel()
Getter for createTransactionModel The create transaction model to be created or updated.void
setAdjustmentDescription(java.lang.String value)
Setter for adjustmentDescription If the AdjustmentReason is "Other", specify the reason here.void
setAdjustmentReason(AdjustmentReason value)
Setter for adjustmentReason A reason code indicating why this adjustment was madevoid
setCreateTransactionModel(CreateTransactionModel value)
Setter for createTransactionModel The create transaction model to be created or updated.java.lang.String
toString()
Returns a JSON string representation of CreateOrAdjustTransactionModel
-
-
-
Method Detail
-
getAdjustmentReason
public AdjustmentReason getAdjustmentReason()
Getter for adjustmentReason A reason code indicating why this adjustment was made
-
setAdjustmentReason
public void setAdjustmentReason(AdjustmentReason value)
Setter for adjustmentReason A reason code indicating why this adjustment was made
-
getAdjustmentDescription
public java.lang.String getAdjustmentDescription()
Getter for adjustmentDescription If the AdjustmentReason is "Other", specify the reason here. This is required when the AdjustmentReason is 8 (Other).
-
setAdjustmentDescription
public void setAdjustmentDescription(java.lang.String value)
Setter for adjustmentDescription If the AdjustmentReason is "Other", specify the reason here. This is required when the AdjustmentReason is 8 (Other).
-
getCreateTransactionModel
public CreateTransactionModel getCreateTransactionModel()
Getter for createTransactionModel The create transaction model to be created or updated. If the transaction does not exist, create transaction. If the transaction exists, adjust the existing transaction.
-
setCreateTransactionModel
public void setCreateTransactionModel(CreateTransactionModel value)
Setter for createTransactionModel The create transaction model to be created or updated. If the transaction does not exist, create transaction. If the transaction exists, adjust the existing transaction.
-
toString
public java.lang.String toString()
Returns a JSON string representation of CreateOrAdjustTransactionModel- Overrides:
toString
in classjava.lang.Object
-
-