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
account_balance: Option<i64>
business_vat_id: Option<&'a str>
coupon: Option<&'a str>
description: Option<&'a str>
email: Option<&'a str>
metadata: Option<Metadata>
shipping: Option<CustomerShippingDetails>
source: Option<CustomerSource<'a>>
Trait Implementations
impl<'a> Default for CustomerParams<'a>[src]
fn default() -> CustomerParams<'a>
Returns the "default value" for a type. Read more