Struct stripe::CustomerParams[][src]

pub struct CustomerParams<'a> {
    pub account_balance: Option<i64>,
    pub business_vat_id: Option<&'a str>,
    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<CustomerSource<'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

Trait Implementations

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

Returns the "default value" for a type. Read more

Auto Trait Implementations

impl<'a> Send for CustomerParams<'a>

impl<'a> Sync for CustomerParams<'a>