[][src]Struct stripe_api::resources::core::customer::CustomerParam

pub struct CustomerParam<'a> {
    pub account_balance: Option<i64>,
    pub address: Option<Address>,
    pub coupon: Option<&'a str>,
    pub default_source: Option<&'a str>,
    pub description: Option<&'a str>,
    pub email: Option<&'a str>,
    pub name: Option<&'a str>,
    pub phone: Option<&'a str>,
    pub payment_method: Option<&'a str>,
    pub preferred_locales: Option<Vec<&'a str>>,
    pub invoice_prefix: Option<&'a str>,
    pub invoice_settings: Option<InvoiceSettings>,
    pub metadata: Option<HashMap<String, String>>,
    pub shipping: Option<CustomerShipping>,
    pub source: Option<PaymentSourceParam<'a>>,
    pub tax_info: Option<TaxInfo>,
    pub tax_exempt: Option<TaxExempt>,
    pub tax_id_data: Option<Vec<CustomerTaxIDParam<'a>>>,
    pub expand: Option<Vec<&'a str>>,
}

Fields

account_balance: Option<i64>address: Option<Address>coupon: Option<&'a str>default_source: Option<&'a str>description: Option<&'a str>email: Option<&'a str>name: Option<&'a str>phone: Option<&'a str>payment_method: Option<&'a str>preferred_locales: Option<Vec<&'a str>>invoice_prefix: Option<&'a str>invoice_settings: Option<InvoiceSettings>metadata: Option<HashMap<String, String>>shipping: Option<CustomerShipping>source: Option<PaymentSourceParam<'a>>tax_info: Option<TaxInfo>tax_exempt: Option<TaxExempt>tax_id_data: Option<Vec<CustomerTaxIDParam<'a>>>expand: Option<Vec<&'a str>>

Trait Implementations

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

impl<'a> PartialEq<CustomerParam<'a>> for CustomerParam<'a>[src]

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

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

Auto Trait Implementations

impl<'a> Unpin for CustomerParam<'a>

impl<'a> Sync for CustomerParam<'a>

impl<'a> Send for CustomerParam<'a>

impl<'a> UnwindSafe for CustomerParam<'a>

impl<'a> RefUnwindSafe for CustomerParam<'a>

Blanket Implementations

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

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

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.

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

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

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

impl<T> Erased for T

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 

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