pub struct UpdatePaymentIntentPaymentMethodOptionsKlarnaSubscriptions {
pub interval: UpdatePaymentIntentPaymentMethodOptionsKlarnaSubscriptionsInterval,
pub interval_count: Option<u64>,
pub name: Option<String>,
pub next_billing: Option<SubscriptionNextBillingParam>,
pub reference: String,
}
Expand description
Subscription details if setting up or charging a subscription.
Fields§
§interval: UpdatePaymentIntentPaymentMethodOptionsKlarnaSubscriptionsInterval
Unit of time between subscription charges.
interval_count: Option<u64>
The number of intervals (specified in the interval
attribute) between subscription charges.
For example, interval=month
and interval_count=3
charges every 3 months.
name: Option<String>
Name for subscription.
next_billing: Option<SubscriptionNextBillingParam>
Describes the upcoming charge for this subscription.
reference: String
A non-customer-facing reference to correlate subscription charges in the Klarna app. Use a value that persists across subscription charges.
Implementations§
Trait Implementations§
Source§impl Clone for UpdatePaymentIntentPaymentMethodOptionsKlarnaSubscriptions
impl Clone for UpdatePaymentIntentPaymentMethodOptionsKlarnaSubscriptions
Source§fn clone(&self) -> UpdatePaymentIntentPaymentMethodOptionsKlarnaSubscriptions
fn clone(&self) -> UpdatePaymentIntentPaymentMethodOptionsKlarnaSubscriptions
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 UpdatePaymentIntentPaymentMethodOptionsKlarnaSubscriptions
impl RefUnwindSafe for UpdatePaymentIntentPaymentMethodOptionsKlarnaSubscriptions
impl Send for UpdatePaymentIntentPaymentMethodOptionsKlarnaSubscriptions
impl Sync for UpdatePaymentIntentPaymentMethodOptionsKlarnaSubscriptions
impl Unpin for UpdatePaymentIntentPaymentMethodOptionsKlarnaSubscriptions
impl UnwindSafe for UpdatePaymentIntentPaymentMethodOptionsKlarnaSubscriptions
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