pub struct CreateSetupIntentSingleUse {
pub amount: i64,
pub currency: Currency,
}
Expand description
If you populate this hash, this SetupIntent generates a single_use
mandate after successful completion.
Single-use mandates are only valid for the following payment methods: acss_debit
, alipay
, au_becs_debit
, bacs_debit
, bancontact
, boleto
, ideal
, link
, sepa_debit
, and us_bank_account
.
Fields§
§amount: i64
Amount the customer is granting permission to collect later. A positive integer representing how much to charge in the smallest currency unit (e.g., 100 cents to charge $1.00 or 100 to charge ¥100, a zero-decimal currency). The minimum amount is $0.50 US or equivalent in charge currency. The amount value supports up to eight digits (e.g., a value of 99999999 for a USD charge of $999,999.99).
currency: Currency
Three-letter ISO currency code, in lowercase. Must be a supported currency.
Implementations§
Trait Implementations§
Source§impl Clone for CreateSetupIntentSingleUse
impl Clone for CreateSetupIntentSingleUse
Source§fn clone(&self) -> CreateSetupIntentSingleUse
fn clone(&self) -> CreateSetupIntentSingleUse
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more