Struct stripe::CreatePaymentMethod [−][src]
The parameters for PaymentMethod::create
.
Fields
alipay: Option<CreatePaymentMethodAlipay>
If this is an Alipay
PaymentMethod, this hash contains details about the Alipay payment method.
au_becs_debit: Option<CreatePaymentMethodAuBecsDebit>
If this is an au_becs_debit
PaymentMethod, this hash contains details about the bank account.
bacs_debit: Option<CreatePaymentMethodBacsDebit>
If this is a bacs_debit
PaymentMethod, this hash contains details about the Bacs Direct Debit bank account.
bancontact: Option<CreatePaymentMethodBancontact>
If this is a bancontact
PaymentMethod, this hash contains details about the Bancontact payment method.
billing_details: Option<BillingDetails>
Billing information associated with the PaymentMethod that may be used or required by particular types of payment methods.
customer: Option<CustomerId>
The Customer
to whom the original PaymentMethod is attached.
eps: Option<CreatePaymentMethodEps>
If this is an eps
PaymentMethod, this hash contains details about the EPS payment method.
expand: &'a [&'a str]
Specifies which fields in the response should be expanded.
fpx: Option<CreatePaymentMethodFpx>
If this is an fpx
PaymentMethod, this hash contains details about the FPX payment method.
giropay: Option<CreatePaymentMethodGiropay>
If this is a giropay
PaymentMethod, this hash contains details about the Giropay payment method.
grabpay: Option<CreatePaymentMethodGrabpay>
If this is a grabpay
PaymentMethod, this hash contains details about the GrabPay payment method.
ideal: Option<CreatePaymentMethodIdeal>
If this is an ideal
PaymentMethod, this hash contains details about the iDEAL payment method.
interac_present: Option<CreatePaymentMethodInteracPresent>
If this is an interac_present
PaymentMethod, this hash contains details about the Interac Present payment method.
metadata: Option<Metadata>
Set of key-value pairs that you can attach to an object.
This can be useful for storing additional information about the object in a structured format.
Individual keys can be unset by posting an empty value to them.
All keys can be unset by posting an empty value to metadata
.
oxxo: Option<CreatePaymentMethodOxxo>
If this is an oxxo
PaymentMethod, this hash contains details about the OXXO payment method.
p24: Option<CreatePaymentMethodP24>
If this is a p24
PaymentMethod, this hash contains details about the P24 payment method.
payment_method: Option<PaymentMethodId>
The PaymentMethod to share.
sepa_debit: Option<CreatePaymentMethodSepaDebit>
If this is a sepa_debit
PaymentMethod, this hash contains details about the SEPA debit bank account.
sofort: Option<CreatePaymentMethodSofort>
If this is a sofort
PaymentMethod, this hash contains details about the SOFORT payment method.
type_: Option<PaymentMethodTypeFilter>
The type of the PaymentMethod.
An additional hash is included on the PaymentMethod with a name matching this value. It contains additional information specific to the PaymentMethod type.
Implementations
impl<'a> CreatePaymentMethod<'a>
[src]
Trait Implementations
impl<'a> Clone for CreatePaymentMethod<'a>
[src]
fn clone(&self) -> CreatePaymentMethod<'a>
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl<'a> Debug for CreatePaymentMethod<'a>
[src]
impl<'a> Default for CreatePaymentMethod<'a>
[src]
fn default() -> CreatePaymentMethod<'a>
[src]
impl<'a> Serialize for CreatePaymentMethod<'a>
[src]
Auto Trait Implementations
impl<'a> RefUnwindSafe for CreatePaymentMethod<'a>
[src]
impl<'a> Send for CreatePaymentMethod<'a>
[src]
impl<'a> Sync for CreatePaymentMethod<'a>
[src]
impl<'a> Unpin for CreatePaymentMethod<'a>
[src]
impl<'a> UnwindSafe for CreatePaymentMethod<'a>
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T> Instrument for T
[src]
pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T> Instrument for T
[src]
pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,
pub fn vzip(self) -> V
impl<T> WithSubscriber for T
[src]
pub fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
[src]
S: Into<Dispatch>,