pub struct MandatePayto {
pub amount: Option<i64>,
pub amount_type: MandatePaytoAmountType,
pub end_date: Option<String>,
pub payment_schedule: MandatePaytoPaymentSchedule,
pub payments_per_period: Option<i64>,
pub purpose: Option<MandatePaytoPurpose>,
pub start_date: Option<String>,
}Fields§
§amount: Option<i64>Amount that will be collected. It is required when amount_type is fixed.
amount_type: MandatePaytoAmountTypeThe 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: MandatePaytoPaymentScheduleThe 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<MandatePaytoPurpose>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 MandatePayto
impl Clone for MandatePayto
Source§fn clone(&self) -> MandatePayto
fn clone(&self) -> MandatePayto
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more