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