[][src]Struct libstripe::resources::core::paymentintents::PaymentIntentParam

pub struct PaymentIntentParam<'a> {
    pub allowed_source_type: Option<Vec<&'a str>>,
    pub amount: Option<i64>,
    pub currency: Option<Currency>,
    pub application_fee_amount: Option<i64>,
    pub capture_method: Option<CaptureMethod>,
    pub confirm: Option<bool>,
    pub customer: Option<&'a str>,
    pub description: Option<&'a str>,
    pub metadata: Option<HashMap<&'a str, &'a str>>,
    pub amount_to_capture: Option<i64>,
    pub cancellation_reason: Option<CancellationReason>,
    pub on_behalf_of: Option<&'a str>,
    pub receipt_email: Option<&'a str>,
    pub return_url: Option<&'a str>,
    pub save_source_to_customer: Option<bool>,
    pub shipping: Option<IssuingShipping>,
    pub source: Option<&'a str>,
    pub statement_descriptor: Option<&'a str>,
    pub transfer_data: Option<TransferData>,
    pub transfer_group: Option<&'a str>,
    pub expand: Option<Vec<&'a str>>,
}

Fields

allowed_source_type: Option<Vec<&'a str>>amount: Option<i64>currency: Option<Currency>application_fee_amount: Option<i64>capture_method: Option<CaptureMethod>confirm: Option<bool>customer: Option<&'a str>description: Option<&'a str>metadata: Option<HashMap<&'a str, &'a str>>amount_to_capture: Option<i64>cancellation_reason: Option<CancellationReason>on_behalf_of: Option<&'a str>receipt_email: Option<&'a str>return_url: Option<&'a str>save_source_to_customer: Option<bool>shipping: Option<IssuingShipping>source: Option<&'a str>statement_descriptor: Option<&'a str>transfer_data: Option<TransferData>transfer_group: Option<&'a str>expand: Option<Vec<&'a str>>

Trait Implementations

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

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

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

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

Auto Trait Implementations

impl<'a> Send for PaymentIntentParam<'a>

impl<'a> Sync for PaymentIntentParam<'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