[][src]Struct stripe::UpdateAccount

pub struct UpdateAccount<'a> {
    pub account_token: Option<&'a str>,
    pub business_profile: Option<BusinessProfile>,
    pub business_type: Option<&'a str>,
    pub company: Option<CompanyParams>,
    pub default_currency: Option<Currency>,
    pub email: Option<&'a str>,
    pub expand: &'a [&'a str],
    pub external_account: Option<&'a str>,
    pub individual: Option<PersonParams>,
    pub metadata: Option<Metadata>,
    pub requested_capabilities: Option<Vec<RequestedCapability>>,
    pub settings: Option<AccountSettingsParams>,
    pub tos_acceptance: Option<AcceptTos>,
}

The parameters for Account::update.

Fields

account_token: Option<&'a str>

An account token, used to securely provide details to the account.

business_profile: Option<BusinessProfile>

Non-essential business information about the account.

business_type: Option<&'a str>

The business type.

Can be individual or company.

company: Option<CompanyParams>

Information about the company or business.

This field is null unless business_type is set to company.

default_currency: Option<Currency>

Three-letter ISO currency code representing the default currency for the account.

This must be a currency that Stripe supports in the account's country.

email: Option<&'a str>

Email address of the account representative.

For Standard accounts, this is used to ask them to claim their Stripe account. For Custom accounts, this only makes the account easier to identify to platforms; Stripe does not email the account representative.

expand: &'a [&'a str]

Specifies which fields in the response should be expanded.

external_account: Option<&'a str>

A card or bank account to attach to the account.

You can provide either a token, like the ones returned by Stripe.js, or a dictionary, as documented in the external_account parameter for bank account creation. By default, providing an external account sets it as the new default external account for its currency, and deletes the old default if one exists. To add additional external accounts without replacing the existing default for the currency, use the bank account or card creation API.

individual: Option<PersonParams>

Information about the person represented by the account.

This field is null unless business_type is set to individual.

metadata: Option<Metadata>

A set of key-value pairs that you can attach to an Account object.

This can be useful for storing additional information about the account in a structured format.

requested_capabilities: Option<Vec<RequestedCapability>>

The set of capabilities you want to unlock for this account (US only).

Each capability will be inactive until you have provided its specific requirements and Stripe has verified them. An account may have some of its requested capabilities be active and some be inactive.

settings: Option<AccountSettingsParams>

Options for customizing how the account functions within Stripe.

tos_acceptance: Option<AcceptTos>

Details on the account's acceptance of the Stripe Services Agreement.

Implementations

impl<'a> UpdateAccount<'a>[src]

pub fn new() -> Self[src]

Trait Implementations

impl<'a> Clone for UpdateAccount<'a>[src]

impl<'a> Debug for UpdateAccount<'a>[src]

impl<'a> Default for UpdateAccount<'a>[src]

impl<'a> Serialize for UpdateAccount<'a>[src]

Auto Trait Implementations

impl<'a> RefUnwindSafe for UpdateAccount<'a>

impl<'a> Send for UpdateAccount<'a>

impl<'a> Sync for UpdateAccount<'a>

impl<'a> Unpin for UpdateAccount<'a>

impl<'a> UnwindSafe for UpdateAccount<'a>

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.