Struct plaid_openapi::DepositSwitchGetResponse
source · [−]pub struct DepositSwitchGetResponse {Show 16 fields
pub deposit_switch_id: String,
pub target_account_id: Option<String>,
pub target_item_id: Option<String>,
pub state: String,
pub switch_method: Option<String>,
pub account_has_multiple_allocations: Option<bool>,
pub is_allocated_remainder: Option<bool>,
pub percent_allocated: Option<f64>,
pub amount_allocated: Option<f64>,
pub employer_name: Option<String>,
pub employer_id: Option<String>,
pub institution_name: Option<String>,
pub institution_id: Option<String>,
pub date_created: String,
pub date_completed: Option<String>,
pub request_id: RequestID,
}Fields
deposit_switch_id: StringThe ID of the deposit switch.
target_account_id: Option<String>The ID of the bank account the direct deposit was switched to.
target_item_id: Option<String>The ID of the Item the direct deposit was switched to.
state: StringThe state, or status, of the deposit switch.
-
initialized– The deposit switch has been initialized with the user entering the information required to submit the deposit switch request. -
processing– The deposit switch request has been submitted and is being processed. -
completed– The user’s employer has fulfilled the deposit switch request. -
error– There was an error processing the deposit switch request.
switch_method: Option<String>The method used to make the deposit switch.
-
instant– User instantly switched their direct deposit to a new or existing bank account by connecting their payroll or employer account. -
mail– User requested that Plaid contact their employer by mail to make the direct deposit switch. -
pdf– User generated a PDF or email to be sent to their employer with the information necessary to make the deposit switch.’
account_has_multiple_allocations: Option<bool>When true, user’s direct deposit goes to multiple banks. When false, user’s direct deposit only goes to the target account. Always null if the deposit switch has not been completed.
is_allocated_remainder: Option<bool>When true, the target account is allocated the remainder of direct deposit after all other allocations have been deducted. When false, user’s direct deposit is allocated as a percent or amount. Always null if the deposit switch has not been completed.
percent_allocated: Option<f64>The percentage of direct deposit allocated to the target account. Always null if the target account is not allocated a percentage or if the deposit switch has not been completed or if is_allocated_remainder is true.
amount_allocated: Option<f64>The dollar amount of direct deposit allocated to the target account. Always null if the target account is not allocated an amount or if the deposit switch has not been completed.
employer_name: Option<String>The name of the employer selected by the user. If the user did not select an employer, the value returned is null.
employer_id: Option<String>The ID of the employer selected by the user. If the user did not select an employer, the value returned is null.
institution_name: Option<String>The name of the institution selected by the user. If the user did not select an institution, the value returned is null.
institution_id: Option<String>The ID of the institution selected by the user. If the user did not select an institution, the value returned is null.
date_created: StringISO 8601 date the deposit switch was created.
date_completed: Option<String>ISO 8601 date the deposit switch was completed. Always null if the deposit switch has not been completed.
request_id: RequestIDA unique identifier for the request, which can be used for troubleshooting. This identifier, like all Plaid identifiers, is case sensitive.
Trait Implementations
sourceimpl Debug for DepositSwitchGetResponse
impl Debug for DepositSwitchGetResponse
sourceimpl<'de> Deserialize<'de> for DepositSwitchGetResponse
impl<'de> Deserialize<'de> for DepositSwitchGetResponse
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 DepositSwitchGetResponse
impl Serialize for DepositSwitchGetResponse
Auto Trait Implementations
impl RefUnwindSafe for DepositSwitchGetResponse
impl Send for DepositSwitchGetResponse
impl Sync for DepositSwitchGetResponse
impl Unpin for DepositSwitchGetResponse
impl UnwindSafe for DepositSwitchGetResponse
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