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.StringgetCompanyCode()Getter for companyCode company codeDocumentTypegetDocumentType()Getter for documentType document typejava.util.ArrayList<LineItemModel>getLines()Getter for lines List of lines to be addedjava.lang.BooleangetRenumber()Getter for renumber Option to renumber lines after add.java.lang.StringgetTransactionCode()Getter for transactionCode document code for the transaction to add linesvoidsetCompanyCode(java.lang.String value)Setter for companyCode company codevoidsetDocumentType(DocumentType value)Setter for documentType document typevoidsetLines(java.util.ArrayList<LineItemModel> value)Setter for lines List of lines to be addedvoidsetRenumber(java.lang.Boolean value)Setter for renumber Option to renumber lines after add.voidsetTransactionCode(java.lang.String value)Setter for transactionCode document code for the transaction to add linesjava.lang.StringtoString()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:
toStringin classjava.lang.Object
-