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