FundingInstructions.php 1.4 KB

12345678910111213141516171819202122232425
  1. <?php
  2. // File generated from our OpenAPI spec
  3. namespace Stripe;
  4. /**
  5. * Each customer has a <a href="https://stripe.com/docs/api/customers/object#customer_object-balance"><code>balance</code></a> that is
  6. * automatically applied to future invoices and payments using the <code>customer_balance</code> payment method.
  7. * Customers can fund this balance by initiating a bank transfer to any account in the
  8. * <code>financial_addresses</code> field.
  9. * Related guide: <a href="https://stripe.com/docs/payments/customer-balance/funding-instructions">Customer balance funding instructions</a>.
  10. *
  11. * @property string $object String representing the object's type. Objects of the same type share the same value.
  12. * @property \Stripe\StripeObject $bank_transfer
  13. * @property string $currency Three-letter <a href="https://www.iso.org/iso-4217-currency-codes.html">ISO currency code</a>, in lowercase. Must be a <a href="https://stripe.com/docs/currencies">supported currency</a>.
  14. * @property string $funding_type The <code>funding_type</code> of the returned instructions
  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. */
  17. class FundingInstructions extends ApiResource
  18. {
  19. const OBJECT_NAME = 'funding_instructions';
  20. const FUNDING_TYPE_BANK_TRANSFER = 'bank_transfer';
  21. }