Stripe.Resources.SourceMandateNotification (tiger_stripe v0.3.0)

Copy Markdown View Source

SourceMandateNotification

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.

Summary

Types

acss_debit()

@type acss_debit() :: %{
  optional(:statement_descriptor) => String.t() | nil,
  optional(String.t()) => term()
}
  • statement_descriptor - The statement descriptor associate with the debit. Max length: 5000.

bacs_debit()

@type bacs_debit() :: %{
  optional(:last4) => String.t() | nil,
  optional(String.t()) => term()
}
  • last4 - Last 4 digits of the account number associated with the debit. Max length: 5000.

sepa_debit()

@type sepa_debit() :: %{
  optional(:creditor_identifier) => String.t() | nil,
  optional(:last4) => String.t() | nil,
  optional(:mandate_reference) => String.t() | nil,
  optional(String.t()) => term()
}
  • creditor_identifier - SEPA creditor ID. Max length: 5000.
  • last4 - Last 4 digits of the account number associated with the debit. Max length: 5000.
  • mandate_reference - Mandate reference associated with the debit. Max length: 5000.

t()

@type t() :: %Stripe.Resources.SourceMandateNotification{
  acss_debit: acss_debit() | nil,
  amount: integer(),
  bacs_debit: bacs_debit() | nil,
  created: integer(),
  id: String.t(),
  livemode: boolean(),
  object: String.t(),
  reason: String.t(),
  sepa_debit: sepa_debit() | nil,
  source: Stripe.Resources.Source.t(),
  status: String.t(),
  type: String.t()
}
  • acss_debit - Expandable.
  • amount - 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. Nullable.
  • bacs_debit - Expandable.
  • created - Time at which the object was created. Measured in seconds since the Unix epoch. Format: Unix timestamp.
  • id - Unique identifier for the object. Max length: 5000.
  • livemode - Has the value true if the object exists in live mode or the value false if the object exists in test mode.
  • object - String representing the object's type. Objects of the same type share the same value. Possible values: source_mandate_notification.
  • reason - The reason of the mandate notification. Valid reasons are mandate_confirmed or debit_initiated. Max length: 5000.
  • sepa_debit - Expandable.
  • source - Expandable.
  • status - The status of the mandate notification. Valid statuses are pending or submitted. Max length: 5000.
  • type - 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. Max length: 5000.

Functions

expandable_fields()

object_name()