pub struct ConfirmSetupIntentPaymentMethodOptionsKlarnaOnDemand {
pub average_amount: Option<i64>,
pub maximum_amount: Option<i64>,
pub minimum_amount: Option<i64>,
pub purchase_interval: Option<ConfirmSetupIntentPaymentMethodOptionsKlarnaOnDemandPurchaseInterval>,
pub purchase_interval_count: Option<u64>,
}Expand description
On-demand details if setting up a payment method for on-demand payments.
Fields§
§average_amount: Option<i64>Your average amount value. You can use a value across your customer base, or segment based on customer type, country, etc.
maximum_amount: Option<i64>The maximum value you may charge a customer per purchase. You can use a value across your customer base, or segment based on customer type, country, etc.
minimum_amount: Option<i64>The lowest or minimum value you may charge a customer per purchase. You can use a value across your customer base, or segment based on customer type, country, etc.
purchase_interval: Option<ConfirmSetupIntentPaymentMethodOptionsKlarnaOnDemandPurchaseInterval>Interval at which the customer is making purchases
purchase_interval_count: Option<u64>The number of purchase_interval between charges
Implementations§
Trait Implementations§
Source§impl Clone for ConfirmSetupIntentPaymentMethodOptionsKlarnaOnDemand
impl Clone for ConfirmSetupIntentPaymentMethodOptionsKlarnaOnDemand
Source§fn clone(&self) -> ConfirmSetupIntentPaymentMethodOptionsKlarnaOnDemand
fn clone(&self) -> ConfirmSetupIntentPaymentMethodOptionsKlarnaOnDemand
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 moreimpl Copy for ConfirmSetupIntentPaymentMethodOptionsKlarnaOnDemand
Auto Trait Implementations§
impl Freeze for ConfirmSetupIntentPaymentMethodOptionsKlarnaOnDemand
impl RefUnwindSafe for ConfirmSetupIntentPaymentMethodOptionsKlarnaOnDemand
impl Send for ConfirmSetupIntentPaymentMethodOptionsKlarnaOnDemand
impl Sync for ConfirmSetupIntentPaymentMethodOptionsKlarnaOnDemand
impl Unpin for ConfirmSetupIntentPaymentMethodOptionsKlarnaOnDemand
impl UnwindSafe for ConfirmSetupIntentPaymentMethodOptionsKlarnaOnDemand
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