pub struct CreatePaymentIntentPaymentMethodOptionsKlarnaOnDemand {
pub average_amount: Option<i64>,
pub maximum_amount: Option<i64>,
pub minimum_amount: Option<i64>,
pub purchase_interval: Option<CreatePaymentIntentPaymentMethodOptionsKlarnaOnDemandPurchaseInterval>,
pub purchase_interval_count: Option<u64>,
}Expand description
On-demand details if setting up or charging an on-demand payment.
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<CreatePaymentIntentPaymentMethodOptionsKlarnaOnDemandPurchaseInterval>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 CreatePaymentIntentPaymentMethodOptionsKlarnaOnDemand
impl Clone for CreatePaymentIntentPaymentMethodOptionsKlarnaOnDemand
Source§fn clone(&self) -> CreatePaymentIntentPaymentMethodOptionsKlarnaOnDemand
fn clone(&self) -> CreatePaymentIntentPaymentMethodOptionsKlarnaOnDemand
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 CreatePaymentIntentPaymentMethodOptionsKlarnaOnDemand
Auto Trait Implementations§
impl Freeze for CreatePaymentIntentPaymentMethodOptionsKlarnaOnDemand
impl RefUnwindSafe for CreatePaymentIntentPaymentMethodOptionsKlarnaOnDemand
impl Send for CreatePaymentIntentPaymentMethodOptionsKlarnaOnDemand
impl Sync for CreatePaymentIntentPaymentMethodOptionsKlarnaOnDemand
impl Unpin for CreatePaymentIntentPaymentMethodOptionsKlarnaOnDemand
impl UnwindSafe for CreatePaymentIntentPaymentMethodOptionsKlarnaOnDemand
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