Struct plaid_openapi::OverrideAccounts
source · [−]pub struct OverrideAccounts {Show 14 fields
pub type_: OverrideAccountType,
pub subtype: AccountSubtype,
pub starting_balance: f64,
pub force_available_balance: f64,
pub currency: String,
pub meta: Meta,
pub numbers: Numbers,
pub transactions: Vec<TransactionOverride>,
pub holdings: Option<HoldingsOverride>,
pub investment_transactions: Option<Investments_TransactionsOverride>,
pub identity: OwnerOverride,
pub liability: LiabilityOverride,
pub inflow_model: InflowModel,
pub income: Option<IncomeOverride>,
}Fields
type_: OverrideAccountTypeinvestment: Investment account.
credit: Credit card
depository: Depository account
loan: Loan account
payroll: Payroll account
other: Non-specified account type
See the Account type schema for a full listing of account types and corresponding subtypes.
subtype: AccountSubtypeSee the Account type schema for a full listing of account types and corresponding subtypes.
starting_balance: f64If provided, the account will start with this amount as the current balance.
force_available_balance: f64If provided, the account will always have this amount as its available balance, regardless of current balance or changes in transactions over time.
currency: StringISO-4217 currency code. If provided, the account will be denominated in the given currency. Transactions will also be in this currency by default.
meta: MetaAllows specifying the metadata of the test account
numbers: NumbersAccount and bank identifier number data used to configure the test account. All values are optional.
transactions: Vec<TransactionOverride>Specify the list of transactions on the account.
holdings: Option<HoldingsOverride>Specify the holdings on the account.
investment_transactions: Option<Investments_TransactionsOverride>Specify the list of investments transactions on the account.
identity: OwnerOverrideData about the owner or owners of an account. Any fields not specified will be filled in with default Sandbox information.
liability: LiabilityOverrideUsed to configure Sandbox test data for the Liabilities product
inflow_model: InflowModelThe inflow_model allows you to foo a test account that receives regular income or make regular payments on a loan. Any transactions generated by the inflow_model will appear in addition to randomly generated test data or transactions specified by override_accounts.
income: Option<IncomeOverride>Specify payroll data on the account.
Trait Implementations
sourceimpl Debug for OverrideAccounts
impl Debug for OverrideAccounts
sourceimpl<'de> Deserialize<'de> for OverrideAccounts
impl<'de> Deserialize<'de> for OverrideAccounts
sourcefn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
sourceimpl Serialize for OverrideAccounts
impl Serialize for OverrideAccounts
Auto Trait Implementations
impl RefUnwindSafe for OverrideAccounts
impl Send for OverrideAccounts
impl Sync for OverrideAccounts
impl Unpin for OverrideAccounts
impl UnwindSafe for OverrideAccounts
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more