Class: Stripe::Subscription::PaymentSettings::PaymentMethodOptions
- Inherits:
-
Stripe::StripeObject
- Object
- Stripe::StripeObject
- Stripe::Subscription::PaymentSettings::PaymentMethodOptions
- Defined in:
- lib/stripe/resources/subscription.rb
Defined Under Namespace
Classes: AcssDebit, Bancontact, Card, CustomerBalance, Konbini, SepaDebit, UsBankAccount
Constant Summary
Constants inherited from Stripe::StripeObject
Stripe::StripeObject::RESERVED_FIELD_NAMES
Instance Attribute Summary collapse
-
#acss_debit ⇒ Object
readonly
This sub-hash contains details about the Canadian pre-authorized debit payment method options to pass to invoices created by the subscription.
-
#bancontact ⇒ Object
readonly
This sub-hash contains details about the Bancontact payment method options to pass to invoices created by the subscription.
-
#card ⇒ Object
readonly
This sub-hash contains details about the Card payment method options to pass to invoices created by the subscription.
-
#customer_balance ⇒ Object
readonly
This sub-hash contains details about the Bank transfer payment method options to pass to invoices created by the subscription.
-
#konbini ⇒ Object
readonly
This sub-hash contains details about the Konbini payment method options to pass to invoices created by the subscription.
-
#sepa_debit ⇒ Object
readonly
This sub-hash contains details about the SEPA Direct Debit payment method options to pass to invoices created by the subscription.
-
#us_bank_account ⇒ Object
readonly
This sub-hash contains details about the ACH direct debit payment method options to pass to invoices created by the subscription.
Attributes inherited from Stripe::StripeObject
Class Method Summary collapse
Methods inherited from Stripe::StripeObject
#==, #[], #[]=, #_get_inner_class_type, additive_object_param, additive_object_param?, #as_json, construct_from, #deleted?, #dirty!, #each, #eql?, #hash, #initialize, #inspect, #keys, #marshal_dump, #marshal_load, protected_fields, #serialize_params, #to_hash, #to_json, #to_s, #update_attributes, #values
Constructor Details
This class inherits a constructor from Stripe::StripeObject
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class Stripe::StripeObject
Instance Attribute Details
#acss_debit ⇒ Object (readonly)
This sub-hash contains details about the Canadian pre-authorized debit payment method options to pass to invoices created by the subscription.
355 356 357 |
# File 'lib/stripe/resources/subscription.rb', line 355 def acss_debit @acss_debit end |
#bancontact ⇒ Object (readonly)
This sub-hash contains details about the Bancontact payment method options to pass to invoices created by the subscription.
357 358 359 |
# File 'lib/stripe/resources/subscription.rb', line 357 def bancontact @bancontact end |
#card ⇒ Object (readonly)
This sub-hash contains details about the Card payment method options to pass to invoices created by the subscription.
359 360 361 |
# File 'lib/stripe/resources/subscription.rb', line 359 def card @card end |
#customer_balance ⇒ Object (readonly)
This sub-hash contains details about the Bank transfer payment method options to pass to invoices created by the subscription.
361 362 363 |
# File 'lib/stripe/resources/subscription.rb', line 361 def customer_balance @customer_balance end |
#konbini ⇒ Object (readonly)
This sub-hash contains details about the Konbini payment method options to pass to invoices created by the subscription.
363 364 365 |
# File 'lib/stripe/resources/subscription.rb', line 363 def konbini @konbini end |
#sepa_debit ⇒ Object (readonly)
This sub-hash contains details about the SEPA Direct Debit payment method options to pass to invoices created by the subscription.
365 366 367 |
# File 'lib/stripe/resources/subscription.rb', line 365 def sepa_debit @sepa_debit end |
#us_bank_account ⇒ Object (readonly)
This sub-hash contains details about the ACH direct debit payment method options to pass to invoices created by the subscription.
367 368 369 |
# File 'lib/stripe/resources/subscription.rb', line 367 def us_bank_account @us_bank_account end |
Class Method Details
.field_remappings ⇒ Object
381 382 383 |
# File 'lib/stripe/resources/subscription.rb', line 381 def self.field_remappings @field_remappings = {} end |
.inner_class_types ⇒ Object
369 370 371 372 373 374 375 376 377 378 379 |
# File 'lib/stripe/resources/subscription.rb', line 369 def self.inner_class_types @inner_class_types = { acss_debit: AcssDebit, bancontact: Bancontact, card: Card, customer_balance: CustomerBalance, konbini: Konbini, sepa_debit: SepaDebit, us_bank_account: UsBankAccount, } end |