Struct stripe::CustomerParams [−][src]
pub struct CustomerParams<'a> {
pub account_balance: Option<i64>,
pub business_vat_id: Option<&'a str>,
pub default_source: Option<SourceId>,
pub coupon: Option<&'a str>,
pub description: Option<&'a str>,
pub email: Option<&'a str>,
pub metadata: Option<Metadata>,
pub shipping: Option<CustomerShippingDetails>,
pub source: Option<PaymentSourceParams<'a>>,
}The set of parameters that can be used when creating or updating a customer.
For more details see https://stripe.com/docs/api#create_customer and https://stripe.com/docs/api#update_customer.
Fields
account_balance: Option<i64>
business_vat_id: Option<&'a str>
default_source: Option<SourceId>
coupon: Option<&'a str>
description: Option<&'a str>
email: Option<&'a str>
metadata: Option<Metadata>
shipping: Option<CustomerShippingDetails>
source: Option<PaymentSourceParams<'a>>
Trait Implementations
impl<'a> Debug for CustomerParams<'a>[src]
impl<'a> Debug for CustomerParams<'a>fn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl<'a> Default for CustomerParams<'a>[src]
impl<'a> Default for CustomerParams<'a>fn default() -> CustomerParams<'a>[src]
fn default() -> CustomerParams<'a>Returns the "default value" for a type. Read more
Auto Trait Implementations
impl<'a> Send for CustomerParams<'a>
impl<'a> Send for CustomerParams<'a>impl<'a> Sync for CustomerParams<'a>
impl<'a> Sync for CustomerParams<'a>