Struct stripe::UpdateAccount [−][src]
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>
Business information about the account.
business_type: Option<BusinessType>
The business type.
capabilities: Option<UpdateAccountCapabilities>
Each key of the dictionary represents a capability, and each capability maps to its settings (e.g.
whether it has been requested or not). 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.
company: Option<CompanyParams>
Information about the company or business.
This field is available for any business_type
.
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.
documents: Option<UpdateAccountDocuments>
Documents that may be submitted to satisfy various informational requests.
email: Option<&'a str>
The email address of the account holder.
This is only to make the account easier to identify to you. Stripe will never directly email Custom accounts.
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 for receiving payouts (you won’t be able to use it for top-ups).
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>
Set of key-value pairs that you can attach to an object.
This can be useful for storing additional information about the object in a structured format.
Individual keys can be unset by posting an empty value to them.
All keys can be unset by posting an empty value to metadata
.
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]
Trait Implementations
impl<'a> Clone for UpdateAccount<'a>
[src]
fn clone(&self) -> UpdateAccount<'a>
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl<'a> Debug for UpdateAccount<'a>
[src]
impl<'a> Default for UpdateAccount<'a>
[src]
fn default() -> UpdateAccount<'a>
[src]
impl<'a> Serialize for UpdateAccount<'a>
[src]
Auto Trait Implementations
impl<'a> RefUnwindSafe for UpdateAccount<'a>
[src]
impl<'a> Send for UpdateAccount<'a>
[src]
impl<'a> Sync for UpdateAccount<'a>
[src]
impl<'a> Unpin for UpdateAccount<'a>
[src]
impl<'a> UnwindSafe for UpdateAccount<'a>
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T> Instrument for T
[src]
pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T> Instrument for T
[src]
pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,
pub fn vzip(self) -> V
impl<T> WithSubscriber for T
[src]
pub fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
[src]
S: Into<Dispatch>,