pub struct SourceMandateParams {
pub acceptance: Option<SourceAcceptanceParams>,
pub amount: Option<i64>,
pub currency: Option<Currency>,
pub interval: Option<SourceMandateInterval>,
pub notification_method: Option<SourceMandateNotificationMethod>,
}
Fields§
§acceptance: Option<SourceAcceptanceParams>
The parameters required to notify Stripe of a mandate acceptance or refusal by the customer.
amount: Option<i64>
The amount specified by the mandate.
(Leave null for a mandate covering all amounts).
currency: Option<Currency>
The currency specified by the mandate.
(Must match currency
of the source).
interval: Option<SourceMandateInterval>
The interval of debits permitted by the mandate.
Either one_time
(just permitting a single debit), scheduled
(with debits on an agreed schedule or for clearly-defined events), or variable
(for debits with any frequency).
notification_method: Option<SourceMandateNotificationMethod>
The method Stripe should use to notify the customer of upcoming debit instructions and/or mandate confirmation as required by the underlying debit network.
Either email
(an email is sent directly to the customer), manual
(a source.mandate_notification
event is sent to your webhooks endpoint and you should handle the notification) or none
(the underlying debit network does not require any notification).
Trait Implementations§
source§impl Clone for SourceMandateParams
impl Clone for SourceMandateParams
source§fn clone(&self) -> SourceMandateParams
fn clone(&self) -> SourceMandateParams
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for SourceMandateParams
impl Debug for SourceMandateParams
source§impl Default for SourceMandateParams
impl Default for SourceMandateParams
source§fn default() -> SourceMandateParams
fn default() -> SourceMandateParams
source§impl<'de> Deserialize<'de> for SourceMandateParams
impl<'de> Deserialize<'de> for SourceMandateParams
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Auto Trait Implementations§
impl Freeze for SourceMandateParams
impl RefUnwindSafe for SourceMandateParams
impl Send for SourceMandateParams
impl Sync for SourceMandateParams
impl Unpin for SourceMandateParams
impl UnwindSafe for SourceMandateParams
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)