pub struct CreateSetupIntentPaymentMethodOptionsKlarna {
pub currency: Option<Currency>,
pub on_demand: Option<CreateSetupIntentPaymentMethodOptionsKlarnaOnDemand>,
pub preferred_locale: Option<CreateSetupIntentPaymentMethodOptionsKlarnaPreferredLocale>,
pub subscriptions: Option<Vec<CreateSetupIntentPaymentMethodOptionsKlarnaSubscriptions>>,
}
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<CreateSetupIntentPaymentMethodOptionsKlarnaOnDemand>
On-demand details if setting up a payment method for on-demand payments.
preferred_locale: Option<CreateSetupIntentPaymentMethodOptionsKlarnaPreferredLocale>
Preferred language of the Klarna authorization page that the customer is redirected to
subscriptions: Option<Vec<CreateSetupIntentPaymentMethodOptionsKlarnaSubscriptions>>
Subscription details if setting up or charging a subscription
Implementations§
Trait Implementations§
Source§impl Clone for CreateSetupIntentPaymentMethodOptionsKlarna
impl Clone for CreateSetupIntentPaymentMethodOptionsKlarna
Source§fn clone(&self) -> CreateSetupIntentPaymentMethodOptionsKlarna
fn clone(&self) -> CreateSetupIntentPaymentMethodOptionsKlarna
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 CreateSetupIntentPaymentMethodOptionsKlarna
impl RefUnwindSafe for CreateSetupIntentPaymentMethodOptionsKlarna
impl Send for CreateSetupIntentPaymentMethodOptionsKlarna
impl Sync for CreateSetupIntentPaymentMethodOptionsKlarna
impl Unpin for CreateSetupIntentPaymentMethodOptionsKlarna
impl UnwindSafe for CreateSetupIntentPaymentMethodOptionsKlarna
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