SourceMandateNotification.php 2.5 KB

12345678910111213141516171819202122232425262728
  1. <?php
  2. // File generated from our OpenAPI spec
  3. namespace Stripe;
  4. /**
  5. * Source mandate notifications should be created when a notification related to
  6. * a source mandate must be sent to the payer. They will trigger a webhook or
  7. * deliver an email to the customer.
  8. *
  9. * @property string $id Unique identifier for the object.
  10. * @property string $object String representing the object's type. Objects of the same type share the same value.
  11. * @property null|\Stripe\StripeObject $acss_debit
  12. * @property null|int $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 <code>debit_initiated</code>.
  13. * @property null|\Stripe\StripeObject $bacs_debit
  14. * @property int $created Time at which the object was created. Measured in seconds since the Unix epoch.
  15. * @property bool $livemode Has the value <code>true</code> if the object exists in live mode or the value <code>false</code> if the object exists in test mode.
  16. * @property string $reason The reason of the mandate notification. Valid reasons are <code>mandate_confirmed</code> or <code>debit_initiated</code>.
  17. * @property null|\Stripe\StripeObject $sepa_debit
  18. * @property \Stripe\Source $source <p><code>Source</code> 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 <code>Card</code> object: once chargeable, they can be charged, or can be attached to customers.</p><p>Stripe doesn't recommend using the deprecated <a href="https://stripe.com/docs/api/sources">Sources API</a>. We recommend that you adopt the <a href="https://stripe.com/docs/api/payment_methods">PaymentMethods API</a>. This newer API provides access to our latest features and payment method types.</p><p>Related guides: <a href="https://stripe.com/docs/sources">Sources API</a> and <a href="https://stripe.com/docs/sources/customers">Sources &amp; Customers</a>.</p>
  19. * @property string $status The status of the mandate notification. Valid statuses are <code>pending</code> or <code>submitted</code>.
  20. * @property string $type The type of source this mandate notification is attached to. Should be the source type identifier code for the payment method, such as <code>three_d_secure</code>.
  21. */
  22. class SourceMandateNotification extends ApiResource
  23. {
  24. const OBJECT_NAME = 'source_mandate_notification';
  25. }