pub struct SourceMandateNotification {
pub acss_debit: Option<SourceMandateNotificationAcssDebitData>,
pub amount: Option<i64>,
pub bacs_debit: Option<SourceMandateNotificationBacsDebitData>,
pub created: i64,
pub id: String,
pub livemode: bool,
pub object: String,
pub reason: String,
pub sepa_debit: Option<SourceMandateNotificationSepaDebitData>,
pub source: Source,
pub status: String,
pub type_: String,
}Expand description
Source mandate notifications should be created when a notification related to a source mandate must be sent to the payer. They will trigger a webhook or deliver an email to the customer.
Fields§
§acss_debit: Option<SourceMandateNotificationAcssDebitData>§amount: Option<i64>A positive integer in the smallest currency unit (that is, 100 cents for $1.00, or 1 for ¥1, Japanese Yen being a zero-decimal currency) representing the amount associated with the mandate notification. The amount is expressed in the currency of the underlying source. Required if the notification type is debit_initiated.
bacs_debit: Option<SourceMandateNotificationBacsDebitData>§created: i64Time at which the object was created. Measured in seconds since the Unix epoch.
id: StringUnique identifier for the object.
livemode: boolHas the value true if the object exists in live mode or the value false if the object exists in test mode.
object: StringString representing the object’s type. Objects of the same type share the same value.
reason: StringThe reason of the mandate notification. Valid reasons are mandate_confirmed or debit_initiated.
sepa_debit: Option<SourceMandateNotificationSepaDebitData>§source: SourceSource objects allow you to accept a variety of payment methods. They
represent a customer’s payment instrument, and can be used with the Stripe API
just like a Card object: once chargeable, they can be charged, or can be
attached to customers.
Stripe doesn’t recommend using the deprecated Sources API. We recommend that you adopt the PaymentMethods API. This newer API provides access to our latest features and payment method types.
Related guides: Sources API and Sources & Customers.
status: StringThe status of the mandate notification. Valid statuses are pending or submitted.
type_: StringThe type of source this mandate notification is attached to. Should be the source type identifier code for the payment method, such as three_d_secure.
Trait Implementations§
Source§impl Clone for SourceMandateNotification
impl Clone for SourceMandateNotification
Source§fn clone(&self) -> SourceMandateNotification
fn clone(&self) -> SourceMandateNotification
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more