pub struct CreateCheckoutSessionPaymentMethodData {
pub allow_redisplay: Option<CreateCheckoutSessionPaymentMethodDataAllowRedisplay>,
}Expand description
This parameter allows you to set some attributes on the payment method created during a Checkout session.
Fields§
§allow_redisplay: Option<CreateCheckoutSessionPaymentMethodDataAllowRedisplay>Allow redisplay will be set on the payment method on confirmation and indicates whether this payment method can be shown again to the customer in a checkout flow. Only set this field if you wish to override the allow_redisplay value determined by Checkout.
Implementations§
Trait Implementations§
Source§impl Clone for CreateCheckoutSessionPaymentMethodData
impl Clone for CreateCheckoutSessionPaymentMethodData
Source§fn clone(&self) -> CreateCheckoutSessionPaymentMethodData
fn clone(&self) -> CreateCheckoutSessionPaymentMethodData
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Eq for CreateCheckoutSessionPaymentMethodData
impl StructuralPartialEq for CreateCheckoutSessionPaymentMethodData
Auto Trait Implementations§
impl Freeze for CreateCheckoutSessionPaymentMethodData
impl RefUnwindSafe for CreateCheckoutSessionPaymentMethodData
impl Send for CreateCheckoutSessionPaymentMethodData
impl Sync for CreateCheckoutSessionPaymentMethodData
impl Unpin for CreateCheckoutSessionPaymentMethodData
impl UnsafeUnpin for CreateCheckoutSessionPaymentMethodData
impl UnwindSafe for CreateCheckoutSessionPaymentMethodData
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more