pub struct CreateSetupIntentPaymentMethodOptionsPixMandateOptions {
pub amount: Option<i64>,
pub amount_includes_iof: Option<CreateSetupIntentPaymentMethodOptionsPixMandateOptionsAmountIncludesIof>,
pub amount_type: Option<CreateSetupIntentPaymentMethodOptionsPixMandateOptionsAmountType>,
pub currency: Option<Currency>,
pub end_date: Option<String>,
pub payment_schedule: Option<CreateSetupIntentPaymentMethodOptionsPixMandateOptionsPaymentSchedule>,
pub reference: Option<String>,
pub start_date: Option<String>,
}Expand description
Additional fields for mandate creation.
Fields§
§amount: Option<i64>Amount to be charged for future payments.
Required when amount_type=fixed.
If not provided for amount_type=maximum, defaults to 40000.
amount_includes_iof: Option<CreateSetupIntentPaymentMethodOptionsPixMandateOptionsAmountIncludesIof>Determines if the amount includes the IOF tax. Defaults to never.
amount_type: Option<CreateSetupIntentPaymentMethodOptionsPixMandateOptionsAmountType>Type of amount. Defaults to maximum.
currency: Option<Currency>Three-letter ISO currency code, in lowercase.
Only brl is supported currently.
end_date: Option<String>Date when the mandate expires and no further payments will be charged, in YYYY-MM-DD.
If not provided, the mandate will be active until canceled.
If provided, end date should be after start date.
payment_schedule: Option<CreateSetupIntentPaymentMethodOptionsPixMandateOptionsPaymentSchedule>Schedule at which the future payments will be charged. Defaults to monthly.
reference: Option<String>Subscription name displayed to buyers in their bank app. Defaults to the displayable business name.
start_date: Option<String>Start date of the mandate, in YYYY-MM-DD.
Start date should be at least 3 days in the future.
Defaults to 3 days after the current date.
Implementations§
Trait Implementations§
Source§impl Clone for CreateSetupIntentPaymentMethodOptionsPixMandateOptions
impl Clone for CreateSetupIntentPaymentMethodOptionsPixMandateOptions
Source§fn clone(&self) -> CreateSetupIntentPaymentMethodOptionsPixMandateOptions
fn clone(&self) -> CreateSetupIntentPaymentMethodOptionsPixMandateOptions
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl PartialEq for CreateSetupIntentPaymentMethodOptionsPixMandateOptions
impl PartialEq for CreateSetupIntentPaymentMethodOptionsPixMandateOptions
Source§fn eq(
&self,
other: &CreateSetupIntentPaymentMethodOptionsPixMandateOptions,
) -> bool
fn eq( &self, other: &CreateSetupIntentPaymentMethodOptionsPixMandateOptions, ) -> bool
self and other values to be equal, and is used by ==.