pub struct MandateOptionsPayto {
pub amount: Option<i64>,
pub amount_type: Option<MandateOptionsPaytoAmountType>,
pub end_date: Option<String>,
pub payment_schedule: Option<MandateOptionsPaytoPaymentSchedule>,
pub payments_per_period: Option<i64>,
pub purpose: Option<MandateOptionsPaytoPurpose>,
pub start_date: Option<String>,
}Fields§
§amount: Option<i64>Amount that will be collected. It is required when amount_type is fixed.
amount_type: Option<MandateOptionsPaytoAmountType>The type of amount that will be collected.
The amount charged must be exact or up to the value of amount param for fixed or maximum type respectively.
Defaults to maximum.
end_date: Option<String>Date, in YYYY-MM-DD format, after which payments will not be collected. Defaults to no end date.
payment_schedule: Option<MandateOptionsPaytoPaymentSchedule>The periodicity at which payments will be collected. Defaults to adhoc.
payments_per_period: Option<i64>The number of payments that will be made during a payment period.
Defaults to 1 except for when payment_schedule is adhoc.
In that case, it defaults to no limit.
purpose: Option<MandateOptionsPaytoPurpose>The purpose for which payments are made. Has a default value based on your merchant category code.
start_date: Option<String>Date, in YYYY-MM-DD format, from which payments will be collected. Defaults to confirmation time.
Trait Implementations§
Source§impl Clone for MandateOptionsPayto
impl Clone for MandateOptionsPayto
Source§fn clone(&self) -> MandateOptionsPayto
fn clone(&self) -> MandateOptionsPayto
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more