Struct plaid_openapi::model::BankTransfer
source · [−]pub struct BankTransfer {Show 17 fields
pub id: BankTransferId,
pub ach_class: AchClass,
pub account_id: String,
pub type_: BankTransferType,
pub user: BankTransferUser,
pub amount: BankTransferAmount,
pub iso_currency_code: String,
pub description: String,
pub created: String,
pub status: BankTransferStatus,
pub network: BankTransferNetwork,
pub cancellable: bool,
pub failure_reason: Option<BankTransferFailure>,
pub custom_tag: Option<String>,
pub metadata: Option<BankTransferMetadata>,
pub origination_account_id: String,
pub direction: Option<BankTransferDirection>,
}Fields
id: BankTransferIdPlaid’s unique identifier for a bank transfer.
ach_class: AchClassSpecifies the use case of the transfer. Required for transfers on an ACH network.
"ccd" - Corporate Credit or Debit - fund transfer between two corporate bank accounts
"ppd" - Prearranged Payment or Deposit - the transfer is part of a pre-existing relationship with a consumer, eg. bill payment
"tel" - Telephone-Initiated Entry
"web" - Internet-Initiated Entry - debits from a consumer’s account where their authorization is obtained over the Internet
account_id: StringThe account ID that should be credited/debited for this bank transfer.
type_: BankTransferTypeThe type of bank transfer. This will be either debit or credit. A debit indicates a transfer of money into the origination account; a credit indicates a transfer of money out of the origination account.
user: BankTransferUserThe legal name and other information for the account holder.
amount: BankTransferAmountThe amount of the bank transfer (decimal string with two digits of precision e.g. “10.00”).
iso_currency_code: StringThe currency of the transfer amount, e.g. “USD”
description: StringThe description of the transfer.
created: StringThe datetime when this bank transfer was created. This will be of the form 2006-01-02T15:04:05Z
status: BankTransferStatusThe status of the transfer.
network: BankTransferNetworkThe network or rails used for the transfer. Valid options are ach, same-day-ach, or wire.
cancellable: boolWhen true, you can still cancel this bank transfer.
failure_reason: Option<BankTransferFailure>The failure reason if the type of this transfer is "failed" or "reversed". Null value otherwise.
custom_tag: Option<String>A string containing the custom tag provided by the client in the create request. Will be null if not provided.
metadata: Option<BankTransferMetadata>The Metadata object is a mapping of client-provided string fields to any string value. The following limitations apply:
- The JSON values must be Strings (no nested JSON objects allowed)
- Only ASCII characters may be used
- Maximum of 50 key/value pairs
- Maximum key length of 40 characters
- Maximum value length of 500 characters
origination_account_id: StringPlaid’s unique identifier for the origination account that was used for this transfer.
direction: Option<BankTransferDirection>Indicates the direction of the transfer: outbound for API-initiated transfers, or inbound for payments received by the FBO account.
Trait Implementations
sourceimpl Debug for BankTransfer
impl Debug for BankTransfer
sourceimpl<'de> Deserialize<'de> for BankTransfer
impl<'de> Deserialize<'de> for BankTransfer
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 BankTransfer
impl Serialize for BankTransfer
Auto Trait Implementations
impl RefUnwindSafe for BankTransfer
impl Send for BankTransfer
impl Sync for BankTransfer
impl Unpin for BankTransfer
impl UnwindSafe for BankTransfer
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