pub struct ConfirmSetupIntentPaymentMethodOptionsKlarna {
pub currency: Option<Currency>,
pub on_demand: Option<ConfirmSetupIntentPaymentMethodOptionsKlarnaOnDemand>,
pub preferred_locale: Option<ConfirmSetupIntentPaymentMethodOptionsKlarnaPreferredLocale>,
pub subscriptions: Option<Vec<ConfirmSetupIntentPaymentMethodOptionsKlarnaSubscriptions>>,
}Expand description
If this is a klarna PaymentMethod, this hash contains details about the Klarna payment method options.
Fields§
§currency: Option<Currency>The currency of the SetupIntent. Three letter ISO currency code.
on_demand: Option<ConfirmSetupIntentPaymentMethodOptionsKlarnaOnDemand>On-demand details if setting up a payment method for on-demand payments.
preferred_locale: Option<ConfirmSetupIntentPaymentMethodOptionsKlarnaPreferredLocale>Preferred language of the Klarna authorization page that the customer is redirected to
subscriptions: Option<Vec<ConfirmSetupIntentPaymentMethodOptionsKlarnaSubscriptions>>Subscription details if setting up or charging a subscription
Implementations§
Trait Implementations§
Source§impl Clone for ConfirmSetupIntentPaymentMethodOptionsKlarna
impl Clone for ConfirmSetupIntentPaymentMethodOptionsKlarna
Source§fn clone(&self) -> ConfirmSetupIntentPaymentMethodOptionsKlarna
fn clone(&self) -> ConfirmSetupIntentPaymentMethodOptionsKlarna
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for ConfirmSetupIntentPaymentMethodOptionsKlarna
impl RefUnwindSafe for ConfirmSetupIntentPaymentMethodOptionsKlarna
impl Send for ConfirmSetupIntentPaymentMethodOptionsKlarna
impl Sync for ConfirmSetupIntentPaymentMethodOptionsKlarna
impl Unpin for ConfirmSetupIntentPaymentMethodOptionsKlarna
impl UnwindSafe for ConfirmSetupIntentPaymentMethodOptionsKlarna
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