Class AddTransactionLineModel
java.lang.Object
net.avalara.avatax.rest.client.models.AddTransactionLineModel
public class AddTransactionLineModel
extends java.lang.Object
Model to add specific lines to exising transaction
-
Constructor Summary
Constructors Constructor Description AddTransactionLineModel()
-
Method Summary
Modifier and Type Method Description java.lang.String
getCompanyCode()
Getter for companyCode company codeDocumentType
getDocumentType()
Getter for documentType document typejava.util.ArrayList<LineItemModel>
getLines()
Getter for lines List of lines to be addedjava.lang.Boolean
getRenumber()
Getter for renumber Option to renumber lines after add.java.lang.String
getTransactionCode()
Getter for transactionCode document code for the transaction to add linesvoid
setCompanyCode(java.lang.String value)
Setter for companyCode company codevoid
setDocumentType(DocumentType value)
Setter for documentType document typevoid
setLines(java.util.ArrayList<LineItemModel> value)
Setter for lines List of lines to be addedvoid
setRenumber(java.lang.Boolean value)
Setter for renumber Option to renumber lines after add.void
setTransactionCode(java.lang.String value)
Setter for transactionCode document code for the transaction to add linesjava.lang.String
toString()
Returns a JSON string representation of AddTransactionLineModel
-
Constructor Details
-
AddTransactionLineModel
public AddTransactionLineModel()
-
-
Method Details
-
getCompanyCode
public java.lang.String getCompanyCode()Getter for companyCode company code -
setCompanyCode
public void setCompanyCode(java.lang.String value)Setter for companyCode company code -
getTransactionCode
public java.lang.String getTransactionCode()Getter for transactionCode document code for the transaction to add lines -
setTransactionCode
public void setTransactionCode(java.lang.String value)Setter for transactionCode document code for the transaction to add lines -
getDocumentType
Getter for documentType document type -
setDocumentType
Setter for documentType document type -
getLines
Getter for lines List of lines to be added -
setLines
Setter for lines List of lines to be added -
getRenumber
public java.lang.Boolean getRenumber()Getter for renumber Option to renumber lines after add. After renumber, the line number becomes: "1", "2", "3", ... -
setRenumber
public void setRenumber(java.lang.Boolean value)Setter for renumber Option to renumber lines after add. After renumber, the line number becomes: "1", "2", "3", ... -
toString
public java.lang.String toString()Returns a JSON string representation of AddTransactionLineModel- Overrides:
toString
in classjava.lang.Object
-