Class ErrorTransactionOutputModel
- java.lang.Object
-
- net.avalara.avatax.rest.client.models.ErrorTransactionOutputModel
-
public class ErrorTransactionOutputModel extends java.lang.ObjectError Transaction Model
-
-
Constructor Summary
Constructors Constructor Description ErrorTransactionOutputModel()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.math.BigDecimalgetAmount()Getter for amount The amount of the transaction.java.lang.StringgetAvataxCreateTransactionJson()Getter for avataxCreateTransactionJson The full JSON of the transaction creation requestjava.lang.StringgetAvataxErrorJson()Getter for avataxErrorJson The full JSON of the error result from transaction creationjava.lang.StringgetDatasource()Getter for datasource The datasource instance that made the transaction creation calljava.lang.StringgetDatasourceSource()Getter for datasourceSource The Datasource source of the transaction creation call.java.lang.StringgetDocumentCode()Getter for documentCode The internal reference code (used by the client application) of the error transactionjava.util.DategetDocumentDate()Getter for documentDate The date of the documentDocumentTypegetDocumentType()Getter for documentType Type of transaction of the error transactionjava.lang.StringgetErrorCode()Getter for errorCode Error code of the error result from transaction creationjava.lang.StringgetErrorMessage()Getter for errorMessage Error message of the error result from transaction creationjava.util.DategetExpiresAt()Getter for expiresAt The date that this ErrorTransaction will be automatically purged from the detabase.java.lang.StringgetShipToCountry()Getter for shipToCountry The country of the ship to address for the transaction creation call.java.lang.StringgetShipToRegion()Getter for shipToRegion The region of the ship to address for the transaction creation call.voidsetAmount(java.math.BigDecimal value)Setter for amount The amount of the transaction.voidsetAvataxCreateTransactionJson(java.lang.String value)Setter for avataxCreateTransactionJson The full JSON of the transaction creation requestvoidsetAvataxErrorJson(java.lang.String value)Setter for avataxErrorJson The full JSON of the error result from transaction creationvoidsetDatasource(java.lang.String value)Setter for datasource The datasource instance that made the transaction creation callvoidsetDatasourceSource(java.lang.String value)Setter for datasourceSource The Datasource source of the transaction creation call.voidsetDocumentCode(java.lang.String value)Setter for documentCode The internal reference code (used by the client application) of the error transactionvoidsetDocumentDate(java.util.Date value)Setter for documentDate The date of the documentvoidsetDocumentType(DocumentType value)Setter for documentType Type of transaction of the error transactionvoidsetErrorCode(java.lang.String value)Setter for errorCode Error code of the error result from transaction creationvoidsetErrorMessage(java.lang.String value)Setter for errorMessage Error message of the error result from transaction creationvoidsetExpiresAt(java.util.Date value)Setter for expiresAt The date that this ErrorTransaction will be automatically purged from the detabase.voidsetShipToCountry(java.lang.String value)Setter for shipToCountry The country of the ship to address for the transaction creation call.voidsetShipToRegion(java.lang.String value)Setter for shipToRegion The region of the ship to address for the transaction creation call.java.lang.StringtoString()Returns a JSON string representation of ErrorTransactionOutputModel
-
-
-
Method Detail
-
getErrorCode
public java.lang.String getErrorCode()
Getter for errorCode Error code of the error result from transaction creation
-
setErrorCode
public void setErrorCode(java.lang.String value)
Setter for errorCode Error code of the error result from transaction creation
-
getErrorMessage
public java.lang.String getErrorMessage()
Getter for errorMessage Error message of the error result from transaction creation
-
setErrorMessage
public void setErrorMessage(java.lang.String value)
Setter for errorMessage Error message of the error result from transaction creation
-
getAvataxErrorJson
public java.lang.String getAvataxErrorJson()
Getter for avataxErrorJson The full JSON of the error result from transaction creation
-
setAvataxErrorJson
public void setAvataxErrorJson(java.lang.String value)
Setter for avataxErrorJson The full JSON of the error result from transaction creation
-
getAvataxCreateTransactionJson
public java.lang.String getAvataxCreateTransactionJson()
Getter for avataxCreateTransactionJson The full JSON of the transaction creation request
-
setAvataxCreateTransactionJson
public void setAvataxCreateTransactionJson(java.lang.String value)
Setter for avataxCreateTransactionJson The full JSON of the transaction creation request
-
getDatasource
public java.lang.String getDatasource()
Getter for datasource The datasource instance that made the transaction creation call
-
setDatasource
public void setDatasource(java.lang.String value)
Setter for datasource The datasource instance that made the transaction creation call
-
getDocumentDate
public java.util.Date getDocumentDate()
Getter for documentDate The date of the document
-
setDocumentDate
public void setDocumentDate(java.util.Date value)
Setter for documentDate The date of the document
-
getExpiresAt
public java.util.Date getExpiresAt()
Getter for expiresAt The date that this ErrorTransaction will be automatically purged from the detabase.
-
setExpiresAt
public void setExpiresAt(java.util.Date value)
Setter for expiresAt The date that this ErrorTransaction will be automatically purged from the detabase.
-
getAmount
public java.math.BigDecimal getAmount()
Getter for amount The amount of the transaction.
-
setAmount
public void setAmount(java.math.BigDecimal value)
Setter for amount The amount of the transaction.
-
getDatasourceSource
public java.lang.String getDatasourceSource()
Getter for datasourceSource The Datasource source of the transaction creation call.
-
setDatasourceSource
public void setDatasourceSource(java.lang.String value)
Setter for datasourceSource The Datasource source of the transaction creation call.
-
getShipToCountry
public java.lang.String getShipToCountry()
Getter for shipToCountry The country of the ship to address for the transaction creation call.
-
setShipToCountry
public void setShipToCountry(java.lang.String value)
Setter for shipToCountry The country of the ship to address for the transaction creation call.
-
getShipToRegion
public java.lang.String getShipToRegion()
Getter for shipToRegion The region of the ship to address for the transaction creation call.
-
setShipToRegion
public void setShipToRegion(java.lang.String value)
Setter for shipToRegion The region of the ship to address for the transaction creation call.
-
getDocumentType
public DocumentType getDocumentType()
Getter for documentType Type of transaction of the error transaction
-
setDocumentType
public void setDocumentType(DocumentType value)
Setter for documentType Type of transaction of the error transaction
-
getDocumentCode
public java.lang.String getDocumentCode()
Getter for documentCode The internal reference code (used by the client application) of the error transaction
-
setDocumentCode
public void setDocumentCode(java.lang.String value)
Setter for documentCode The internal reference code (used by the client application) of the error transaction
-
toString
public java.lang.String toString()
Returns a JSON string representation of ErrorTransactionOutputModel- Overrides:
toStringin classjava.lang.Object
-
-