Class TransactionOverride

java.lang.Object
com.plaid.client.model.TransactionOverride

@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
           date="2021-10-15T19:47:39.714Z[GMT]")
public class TransactionOverride
extends java.lang.Object
Data to populate as test transaction data. If not specified, random transactions will be generated instead.
  • Field Details

  • Constructor Details

  • Method Details

    • dateTransacted

      public TransactionOverride dateTransacted​(java.time.LocalDate dateTransacted)
    • getDateTransacted

      public java.time.LocalDate getDateTransacted()
      The date of the transaction, in [ISO 8601](https://wikipedia.org/wiki/ISO_8601) (YYYY-MM-DD) format. Transaction dates in the past or present will result in posted transactions; transaction dates in the future will result in pending transactions. Transactions in Sandbox will move from pending to posted once their transaction date has been reached.
      Returns:
      dateTransacted
    • setDateTransacted

      public void setDateTransacted​(java.time.LocalDate dateTransacted)
    • datePosted

      public TransactionOverride datePosted​(java.time.LocalDate datePosted)
    • getDatePosted

      public java.time.LocalDate getDatePosted()
      The date the transaction posted, in [ISO 8601](https://wikipedia.org/wiki/ISO_8601) (YYYY-MM-DD) format
      Returns:
      datePosted
    • setDatePosted

      public void setDatePosted​(java.time.LocalDate datePosted)
    • amount

      public TransactionOverride amount​(java.lang.Double amount)
    • getAmount

      public java.lang.Double getAmount()
      The transaction amount. Can be negative.
      Returns:
      amount
    • setAmount

      public void setAmount​(java.lang.Double amount)
    • description

      public TransactionOverride description​(java.lang.String description)
    • getDescription

      public java.lang.String getDescription()
      The transaction description.
      Returns:
      description
    • setDescription

      public void setDescription​(java.lang.String description)
    • currency

      public TransactionOverride currency​(java.lang.String currency)
    • getCurrency

      @Nullable public java.lang.String getCurrency()
      The ISO-4217 format currency code for the transaction.
      Returns:
      currency
    • setCurrency

      public void setCurrency​(java.lang.String currency)
    • equals

      public boolean equals​(java.lang.Object o)
      Overrides:
      equals in class java.lang.Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class java.lang.Object
    • toString

      public java.lang.String toString()
      Overrides:
      toString in class java.lang.Object