pub struct CreateSetupIntentPaymentMethodOptionsKlarnaOnDemand {
pub average_amount: Option<i64>,
pub maximum_amount: Option<i64>,
pub minimum_amount: Option<i64>,
pub purchase_interval: Option<CreateSetupIntentPaymentMethodOptionsKlarnaOnDemandPurchaseInterval>,
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<CreateSetupIntentPaymentMethodOptionsKlarnaOnDemandPurchaseInterval>
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 CreateSetupIntentPaymentMethodOptionsKlarnaOnDemand
impl Clone for CreateSetupIntentPaymentMethodOptionsKlarnaOnDemand
Source§fn clone(&self) -> CreateSetupIntentPaymentMethodOptionsKlarnaOnDemand
fn clone(&self) -> CreateSetupIntentPaymentMethodOptionsKlarnaOnDemand
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 CreateSetupIntentPaymentMethodOptionsKlarnaOnDemand
Auto Trait Implementations§
impl Freeze for CreateSetupIntentPaymentMethodOptionsKlarnaOnDemand
impl RefUnwindSafe for CreateSetupIntentPaymentMethodOptionsKlarnaOnDemand
impl Send for CreateSetupIntentPaymentMethodOptionsKlarnaOnDemand
impl Sync for CreateSetupIntentPaymentMethodOptionsKlarnaOnDemand
impl Unpin for CreateSetupIntentPaymentMethodOptionsKlarnaOnDemand
impl UnwindSafe for CreateSetupIntentPaymentMethodOptionsKlarnaOnDemand
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