Class ErrorTransactionOutputModel

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

public class ErrorTransactionOutputModel
extends java.lang.Object
Error Transaction Model
  • Constructor Summary

    Constructors 
    Constructor Description
    ErrorTransactionOutputModel()  
  • Method Summary

    Modifier and Type Method Description
    java.math.BigDecimal getAmount()
    Getter for amount The amount of the transaction.
    java.lang.String getAvataxCreateTransactionJson()
    Getter for avataxCreateTransactionJson The full JSON of the transaction creation request
    java.lang.String getAvataxErrorJson()
    Getter for avataxErrorJson The full JSON of the error result from transaction creation
    java.lang.String getDatasource()
    Getter for datasource The datasource instance that made the transaction creation call
    java.lang.String getDatasourceSource()
    Getter for datasourceSource The Datasource source of the transaction creation call.
    java.lang.String getDocumentCode()
    Getter for documentCode The internal reference code (used by the client application) of the error transaction
    java.util.Date getDocumentDate()
    Getter for documentDate The date of the document
    DocumentType getDocumentType()
    Getter for documentType Type of transaction of the error transaction
    java.lang.String getErrorCode()
    Getter for errorCode Error code of the error result from transaction creation
    java.lang.String getErrorMessage()
    Getter for errorMessage Error message of the error result from transaction creation
    java.util.Date getExpiresAt()
    Getter for expiresAt The date that this ErrorTransaction will be automatically purged from the detabase.
    java.lang.String getShipToCountry()
    Getter for shipToCountry The country of the ship to address for the transaction creation call.
    java.lang.String getShipToRegion()
    Getter for shipToRegion The region of the ship to address for the transaction creation call.
    void setAmount​(java.math.BigDecimal value)
    Setter for amount The amount of the transaction.
    void setAvataxCreateTransactionJson​(java.lang.String value)
    Setter for avataxCreateTransactionJson The full JSON of the transaction creation request
    void setAvataxErrorJson​(java.lang.String value)
    Setter for avataxErrorJson The full JSON of the error result from transaction creation
    void setDatasource​(java.lang.String value)
    Setter for datasource The datasource instance that made the transaction creation call
    void setDatasourceSource​(java.lang.String value)
    Setter for datasourceSource The Datasource source of the transaction creation call.
    void setDocumentCode​(java.lang.String value)
    Setter for documentCode The internal reference code (used by the client application) of the error transaction
    void setDocumentDate​(java.util.Date value)
    Setter for documentDate The date of the document
    void setDocumentType​(DocumentType value)
    Setter for documentType Type of transaction of the error transaction
    void setErrorCode​(java.lang.String value)
    Setter for errorCode Error code of the error result from transaction creation
    void setErrorMessage​(java.lang.String value)
    Setter for errorMessage Error message of the error result from transaction creation
    void setExpiresAt​(java.util.Date value)
    Setter for expiresAt The date that this ErrorTransaction will be automatically purged from the detabase.
    void setShipToCountry​(java.lang.String value)
    Setter for shipToCountry The country of the ship to address for the transaction creation call.
    void setShipToRegion​(java.lang.String value)
    Setter for shipToRegion The region of the ship to address for the transaction creation call.
    java.lang.String toString()
    Returns a JSON string representation of ErrorTransactionOutputModel

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Constructor Details

  • Method Details

    • 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:
      toString in class java.lang.Object