View Source ExOAPI.Stripe.Schemas.SourceMandateNotification (exoapi_stripe v0.1.4)
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.
:acss_debit :: ExOAPI.Stripe.Schemas.SourceMandateNotificationAcssDebitData
:amount :: :integer
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 :: ExOAPI.Stripe.Schemas.SourceMandateNotificationBacsDebitData
:created :: :integer
Time at which the object was created. Measured in seconds since the Unix epoch.
:id :: :string
Unique identifier for the object.
:livemode :: :boolean
Has the value true
if the object exists in live mode or the value false
if the object exists in test mode.
:object :: :string
String representing the object's type. Objects of the same type share the same value.
:reason :: :string
The reason of the mandate notification. Valid reasons are mandate_confirmed
or debit_initiated
.
:sepa_debit :: ExOAPI.Stripe.Schemas.SourceMandateNotificationSepaDebitData
:source :: ExOAPI.Stripe.Schemas.Source
:status :: :string
The status of the mandate notification. Valid statuses are pending
or submitted
.
:type :: :string
The 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
.
Link to this section Summary
Link to this section Types
@type params() :: map()
@type t() :: %ExOAPI.Stripe.Schemas.SourceMandateNotification{ acss_debit: ExOAPI.Stripe.Schemas.SourceMandateNotificationAcssDebitData.t() | nil, amount: integer() | nil, bacs_debit: ExOAPI.Stripe.Schemas.SourceMandateNotificationBacsDebitData.t() | nil, created: integer() | nil, id: String.t() | nil, livemode: boolean() | nil, object: :source_mandate_notification | nil, reason: String.t() | nil, sepa_debit: ExOAPI.Stripe.Schemas.SourceMandateNotificationSepaDebitData.t() | nil, source: ExOAPI.Stripe.Schemas.Source.t() | nil, status: String.t() | nil, type: String.t() | nil }
Link to this section Functions
@spec changeset(t(), params()) :: Ecto.Changeset.t()