Struct plaid::model::CreditBankIncomeSummary
source · pub struct CreditBankIncomeSummary {
pub end_date: Option<NaiveDate>,
pub historical_summary: Option<Vec<CreditBankIncomeHistoricalSummary>>,
pub income_categories_count: Option<i64>,
pub income_sources_count: Option<i64>,
pub income_transactions_count: Option<i64>,
pub iso_currency_code: Option<String>,
pub start_date: Option<NaiveDate>,
pub total_amount: Option<f64>,
pub total_amounts: Option<Vec<CreditAmountWithCurrency>>,
pub unofficial_currency_code: Option<String>,
}
Expand description
Summary for bank income across all income sources and items (max history of 730 days).
Fields§
§end_date: Option<NaiveDate>
The latest date in which all income sources identified by Plaid appear in the user’s account. The date will be returned in an ISO 8601 format (YYYY-MM-DD).
historical_summary: Option<Vec<CreditBankIncomeHistoricalSummary>>
§income_categories_count: Option<i64>
Number of income categories per end user.
income_sources_count: Option<i64>
Number of income sources per end user.
income_transactions_count: Option<i64>
Number of income transactions per end user.
iso_currency_code: Option<String>
The ISO 4217 currency code of the amount or balance.
Please use total_amounts
instead.
start_date: Option<NaiveDate>
The earliest date within the days requested in which all income sources identified by Plaid appear in a user’s account. The date will be returned in an ISO 8601 format (YYYY-MM-DD).
total_amount: Option<f64>
Total amount of earnings across all the income sources in the end user’s Items for the days requested by the client.
This may return an incorrect value if the summary includes income sources in multiple currencies.
Please use total_amounts
instead.
total_amounts: Option<Vec<CreditAmountWithCurrency>>
Total amount of earnings across all the income sources in the end user’s Items for the days requested by the client. This can contain multiple amounts, with each amount denominated in one unique currency.
unofficial_currency_code: Option<String>
The unofficial currency code associated with the amount or balance. 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.
Please use total_amounts
instead.
Trait Implementations§
source§impl Clone for CreditBankIncomeSummary
impl Clone for CreditBankIncomeSummary
source§fn clone(&self) -> CreditBankIncomeSummary
fn clone(&self) -> CreditBankIncomeSummary
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more