Package com.plaid.client.model
Class AssetReportTransaction
java.lang.Object
com.plaid.client.model.AssetReportTransaction
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2021-08-13T23:02:46.991Z[GMT]")
public class AssetReportTransaction
extends java.lang.Object
AssetReportTransaction
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
AssetReportTransaction.TransactionTypeEnum
Please use the `payment_channel` field, `transaction_type` will be deprecated in the future. -
Field Summary
Fields Modifier and Type Field Description static java.lang.String
SERIALIZED_NAME_ACCOUNT_ID
static java.lang.String
SERIALIZED_NAME_ACCOUNT_OWNER
static java.lang.String
SERIALIZED_NAME_AMOUNT
static java.lang.String
SERIALIZED_NAME_CATEGORY
static java.lang.String
SERIALIZED_NAME_CATEGORY_ID
static java.lang.String
SERIALIZED_NAME_DATE
static java.lang.String
SERIALIZED_NAME_DATE_TRANSACTED
static java.lang.String
SERIALIZED_NAME_ISO_CURRENCY_CODE
static java.lang.String
SERIALIZED_NAME_LOCATION
static java.lang.String
SERIALIZED_NAME_NAME
static java.lang.String
SERIALIZED_NAME_ORIGINAL_DESCRIPTION
static java.lang.String
SERIALIZED_NAME_PAYMENT_META
static java.lang.String
SERIALIZED_NAME_PENDING
static java.lang.String
SERIALIZED_NAME_PENDING_TRANSACTION_ID
static java.lang.String
SERIALIZED_NAME_TRANSACTION_ID
static java.lang.String
SERIALIZED_NAME_TRANSACTION_TYPE
static java.lang.String
SERIALIZED_NAME_UNOFFICIAL_CURRENCY_CODE
-
Constructor Summary
Constructors Constructor Description AssetReportTransaction()
-
Method Summary
Modifier and Type Method Description AssetReportTransaction
accountId(java.lang.String accountId)
AssetReportTransaction
accountOwner(java.lang.String accountOwner)
AssetReportTransaction
addCategoryItem(java.lang.String categoryItem)
AssetReportTransaction
amount(java.lang.Double amount)
AssetReportTransaction
category(java.util.List<java.lang.String> category)
AssetReportTransaction
categoryId(java.lang.String categoryId)
AssetReportTransaction
date(java.time.LocalDate date)
AssetReportTransaction
dateTransacted(java.lang.String dateTransacted)
boolean
equals(java.lang.Object o)
java.lang.String
getAccountId()
The ID of the account in which this transaction occurred.java.lang.String
getAccountOwner()
The name of the account owner.java.lang.Double
getAmount()
The settled value of the transaction, denominated in the account's currency, as stated in `iso_currency_code` or `unofficial_currency_code`.java.util.List<java.lang.String>
getCategory()
A hierarchical array of the categories to which this transaction belongs.java.lang.String
getCategoryId()
The ID of the category to which this transaction belongs.java.time.LocalDate
getDate()
For pending transactions, the date that the transaction occurred; for posted transactions, the date that the transaction posted.java.lang.String
getDateTransacted()
The date on which the transaction took place, in IS0 8601 format.java.lang.String
getIsoCurrencyCode()
The ISO-4217 currency code of the transaction.Location
getLocation()
Get locationjava.lang.String
getName()
The merchant name or transaction description.java.lang.String
getOriginalDescription()
The string returned by the financial institution to describe the transaction.PaymentMeta
getPaymentMeta()
Get paymentMetajava.lang.Boolean
getPending()
When `true`, identifies the transaction as pending or unsettled.java.lang.String
getPendingTransactionId()
The ID of a posted transaction's associated pending transaction, where applicable.java.lang.String
getTransactionId()
The unique ID of the transaction.AssetReportTransaction.TransactionTypeEnum
getTransactionType()
Please use the `payment_channel` field, `transaction_type` will be deprecated in the future.java.lang.String
getUnofficialCurrencyCode()
The unofficial currency code associated with the transaction.int
hashCode()
AssetReportTransaction
isoCurrencyCode(java.lang.String isoCurrencyCode)
AssetReportTransaction
location(Location location)
AssetReportTransaction
name(java.lang.String name)
AssetReportTransaction
originalDescription(java.lang.String originalDescription)
AssetReportTransaction
paymentMeta(PaymentMeta paymentMeta)
AssetReportTransaction
pending(java.lang.Boolean pending)
AssetReportTransaction
pendingTransactionId(java.lang.String pendingTransactionId)
void
setAccountId(java.lang.String accountId)
void
setAccountOwner(java.lang.String accountOwner)
void
setAmount(java.lang.Double amount)
void
setCategory(java.util.List<java.lang.String> category)
void
setCategoryId(java.lang.String categoryId)
void
setDate(java.time.LocalDate date)
void
setDateTransacted(java.lang.String dateTransacted)
void
setIsoCurrencyCode(java.lang.String isoCurrencyCode)
void
setLocation(Location location)
void
setName(java.lang.String name)
void
setOriginalDescription(java.lang.String originalDescription)
void
setPaymentMeta(PaymentMeta paymentMeta)
void
setPending(java.lang.Boolean pending)
void
setPendingTransactionId(java.lang.String pendingTransactionId)
void
setTransactionId(java.lang.String transactionId)
void
setTransactionType(AssetReportTransaction.TransactionTypeEnum transactionType)
void
setUnofficialCurrencyCode(java.lang.String unofficialCurrencyCode)
java.lang.String
toString()
AssetReportTransaction
transactionId(java.lang.String transactionId)
AssetReportTransaction
transactionType(AssetReportTransaction.TransactionTypeEnum transactionType)
AssetReportTransaction
unofficialCurrencyCode(java.lang.String unofficialCurrencyCode)
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Field Details
-
SERIALIZED_NAME_TRANSACTION_TYPE
public static final java.lang.String SERIALIZED_NAME_TRANSACTION_TYPE- See Also:
- Constant Field Values
-
SERIALIZED_NAME_PENDING_TRANSACTION_ID
public static final java.lang.String SERIALIZED_NAME_PENDING_TRANSACTION_ID- See Also:
- Constant Field Values
-
SERIALIZED_NAME_CATEGORY_ID
public static final java.lang.String SERIALIZED_NAME_CATEGORY_ID- See Also:
- Constant Field Values
-
SERIALIZED_NAME_CATEGORY
public static final java.lang.String SERIALIZED_NAME_CATEGORY- See Also:
- Constant Field Values
-
SERIALIZED_NAME_LOCATION
public static final java.lang.String SERIALIZED_NAME_LOCATION- See Also:
- Constant Field Values
-
SERIALIZED_NAME_PAYMENT_META
public static final java.lang.String SERIALIZED_NAME_PAYMENT_META- See Also:
- Constant Field Values
-
SERIALIZED_NAME_ACCOUNT_OWNER
public static final java.lang.String SERIALIZED_NAME_ACCOUNT_OWNER- See Also:
- Constant Field Values
-
SERIALIZED_NAME_NAME
public static final java.lang.String SERIALIZED_NAME_NAME- See Also:
- Constant Field Values
-
SERIALIZED_NAME_ORIGINAL_DESCRIPTION
public static final java.lang.String SERIALIZED_NAME_ORIGINAL_DESCRIPTION- See Also:
- Constant Field Values
-
SERIALIZED_NAME_ACCOUNT_ID
public static final java.lang.String SERIALIZED_NAME_ACCOUNT_ID- See Also:
- Constant Field Values
-
SERIALIZED_NAME_AMOUNT
public static final java.lang.String SERIALIZED_NAME_AMOUNT- See Also:
- Constant Field Values
-
SERIALIZED_NAME_ISO_CURRENCY_CODE
public static final java.lang.String SERIALIZED_NAME_ISO_CURRENCY_CODE- See Also:
- Constant Field Values
-
SERIALIZED_NAME_UNOFFICIAL_CURRENCY_CODE
public static final java.lang.String SERIALIZED_NAME_UNOFFICIAL_CURRENCY_CODE- See Also:
- Constant Field Values
-
SERIALIZED_NAME_DATE
public static final java.lang.String SERIALIZED_NAME_DATE- See Also:
- Constant Field Values
-
SERIALIZED_NAME_PENDING
public static final java.lang.String SERIALIZED_NAME_PENDING- See Also:
- Constant Field Values
-
SERIALIZED_NAME_TRANSACTION_ID
public static final java.lang.String SERIALIZED_NAME_TRANSACTION_ID- See Also:
- Constant Field Values
-
SERIALIZED_NAME_DATE_TRANSACTED
public static final java.lang.String SERIALIZED_NAME_DATE_TRANSACTED- See Also:
- Constant Field Values
-
-
Constructor Details
-
AssetReportTransaction
public AssetReportTransaction()
-
-
Method Details
-
transactionType
public AssetReportTransaction transactionType(AssetReportTransaction.TransactionTypeEnum transactionType) -
getTransactionType
Please use the `payment_channel` field, `transaction_type` will be deprecated in the future. `digital:` transactions that took place online. `place:` transactions that were made at a physical location. `special:` transactions that relate to banks, e.g. fees or deposits. `unresolved:` transactions that do not fit into the other three types.- Returns:
- transactionType
-
setTransactionType
-
pendingTransactionId
-
getPendingTransactionId
@Nullable public java.lang.String getPendingTransactionId()The ID of a posted transaction's associated pending transaction, where applicable.- Returns:
- pendingTransactionId
-
setPendingTransactionId
public void setPendingTransactionId(java.lang.String pendingTransactionId) -
categoryId
-
getCategoryId
@Nullable public java.lang.String getCategoryId()The ID of the category to which this transaction belongs. See [Categories](https://plaid.com/docs/#category-overview). If the `transactions` object was returned by an Assets endpoint such as `/asset_report/get/` or `/asset_report/pdf/get`, this field will only appear in an Asset Report with Insights.- Returns:
- categoryId
-
setCategoryId
public void setCategoryId(java.lang.String categoryId) -
category
-
addCategoryItem
-
getCategory
@Nullable public java.util.List<java.lang.String> getCategory()A hierarchical array of the categories to which this transaction belongs. See [Categories](https://plaid.com/docs/#category-overview). If the `transactions` object was returned by an Assets endpoint such as `/asset_report/get/` or `/asset_report/pdf/get`, this field will only appear in an Asset Report with Insights.- Returns:
- category
-
setCategory
public void setCategory(java.util.List<java.lang.String> category) -
location
-
getLocation
Get location- Returns:
- location
-
setLocation
-
paymentMeta
-
getPaymentMeta
Get paymentMeta- Returns:
- paymentMeta
-
setPaymentMeta
-
accountOwner
-
getAccountOwner
@Nullable public java.lang.String getAccountOwner()The name of the account owner. This field is not typically populated and only relevant when dealing with sub-accounts.- Returns:
- accountOwner
-
setAccountOwner
public void setAccountOwner(java.lang.String accountOwner) -
name
-
getName
@Nullable public java.lang.String getName()The merchant name or transaction description. If the `transactions` object was returned by a Transactions endpoint such as `/transactions/get`, this field will always appear. If the `transactions` object was returned by an Assets endpoint such as `/asset_report/get/` or `/asset_report/pdf/get`, this field will only appear in an Asset Report with Insights.- Returns:
- name
-
setName
public void setName(java.lang.String name) -
originalDescription
-
getOriginalDescription
@Nullable public java.lang.String getOriginalDescription()The string returned by the financial institution to describe the transaction. For transactions returned by `/transactions/get`, this field is in beta and will be omitted unless the client is both enrolled in the closed beta program and has set `options.include_original_description` to `true`.- Returns:
- originalDescription
-
setOriginalDescription
public void setOriginalDescription(java.lang.String originalDescription) -
accountId
-
getAccountId
public java.lang.String getAccountId()The ID of the account in which this transaction occurred.- Returns:
- accountId
-
setAccountId
public void setAccountId(java.lang.String accountId) -
amount
-
getAmount
public java.lang.Double getAmount()The settled value of the transaction, denominated in the account's currency, as stated in `iso_currency_code` or `unofficial_currency_code`. Positive values when money moves out of the account; negative values when money moves in. For example, debit card purchases are positive; credit card payments, direct deposits, and refunds are negative.- Returns:
- amount
-
setAmount
public void setAmount(java.lang.Double amount) -
isoCurrencyCode
-
getIsoCurrencyCode
@Nullable public java.lang.String getIsoCurrencyCode()The ISO-4217 currency code of the transaction. Always `null` if `unofficial_currency_code` is non-null.- Returns:
- isoCurrencyCode
-
setIsoCurrencyCode
public void setIsoCurrencyCode(java.lang.String isoCurrencyCode) -
unofficialCurrencyCode
-
getUnofficialCurrencyCode
@Nullable public java.lang.String getUnofficialCurrencyCode()The unofficial currency code associated with the transaction. Always `null` if `iso_currency_code` is non-`null`. Unofficial currency codes are used for currencies that do not have official ISO currency codes, such as cryptocurrencies and the currencies of certain countries. See the [currency code schema](https://plaid.com/docs/api/accounts#currency-code-schema) for a full listing of supported `iso_currency_code`s.- Returns:
- unofficialCurrencyCode
-
setUnofficialCurrencyCode
public void setUnofficialCurrencyCode(java.lang.String unofficialCurrencyCode) -
date
-
getDate
public java.time.LocalDate getDate()For pending transactions, the date that the transaction occurred; for posted transactions, the date that the transaction posted. Both dates are returned in an ISO 8601 format ( `YYYY-MM-DD` ).- Returns:
- date
-
setDate
public void setDate(java.time.LocalDate date) -
pending
-
getPending
public java.lang.Boolean getPending()When `true`, identifies the transaction as pending or unsettled. Pending transaction details (name, type, amount, category ID) may change before they are settled.- Returns:
- pending
-
setPending
public void setPending(java.lang.Boolean pending) -
transactionId
-
getTransactionId
public java.lang.String getTransactionId()The unique ID of the transaction. Like all Plaid identifiers, the `transaction_id` is case sensitive.- Returns:
- transactionId
-
setTransactionId
public void setTransactionId(java.lang.String transactionId) -
dateTransacted
-
getDateTransacted
@Nullable public java.lang.String getDateTransacted()The date on which the transaction took place, in IS0 8601 format.- Returns:
- dateTransacted
-
setDateTransacted
public void setDateTransacted(java.lang.String dateTransacted) -
equals
public boolean equals(java.lang.Object o)- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()- Overrides:
hashCode
in classjava.lang.Object
-
toString
public java.lang.String toString()- Overrides:
toString
in classjava.lang.Object
-