Class: Stripe::Mandate::PaymentMethodDetails
- Inherits:
-
StripeObject
- Object
- StripeObject
- Stripe::Mandate::PaymentMethodDetails
- Defined in:
- lib/stripe/resources/mandate.rb
Defined Under Namespace
Classes: AcssDebit, AmazonPay, AuBecsDebit, BacsDebit, Card, Cashapp, KakaoPay, Klarna, KrCard, Link, NaverPay, NzBankAccount, Paypal, Payto, RevolutPay, SepaDebit, UsBankAccount
Constant Summary
Constants inherited from StripeObject
StripeObject::RESERVED_FIELD_NAMES
Instance Attribute Summary collapse
-
#acss_debit ⇒ Object
readonly
Attribute for field acss_debit.
-
#amazon_pay ⇒ Object
readonly
Attribute for field amazon_pay.
-
#au_becs_debit ⇒ Object
readonly
Attribute for field au_becs_debit.
-
#bacs_debit ⇒ Object
readonly
Attribute for field bacs_debit.
-
#card ⇒ Object
readonly
Attribute for field card.
-
#cashapp ⇒ Object
readonly
Attribute for field cashapp.
-
#kakao_pay ⇒ Object
readonly
Attribute for field kakao_pay.
-
#klarna ⇒ Object
readonly
Attribute for field klarna.
-
#kr_card ⇒ Object
readonly
Attribute for field kr_card.
-
#link ⇒ Object
readonly
Attribute for field link.
-
#naver_pay ⇒ Object
readonly
Attribute for field naver_pay.
-
#nz_bank_account ⇒ Object
readonly
Attribute for field nz_bank_account.
-
#paypal ⇒ Object
readonly
Attribute for field paypal.
-
#payto ⇒ Object
readonly
Attribute for field payto.
-
#revolut_pay ⇒ Object
readonly
Attribute for field revolut_pay.
-
#sepa_debit ⇒ Object
readonly
Attribute for field sepa_debit.
-
#type ⇒ Object
readonly
This mandate corresponds with a specific payment method type.
-
#us_bank_account ⇒ Object
readonly
Attribute for field us_bank_account.
Attributes inherited from StripeObject
Class Method Summary collapse
Methods inherited from 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)
Attribute for field acss_debit
285 286 287 |
# File 'lib/stripe/resources/mandate.rb', line 285 def acss_debit @acss_debit end |
#amazon_pay ⇒ Object (readonly)
Attribute for field amazon_pay
287 288 289 |
# File 'lib/stripe/resources/mandate.rb', line 287 def amazon_pay @amazon_pay end |
#au_becs_debit ⇒ Object (readonly)
Attribute for field au_becs_debit
289 290 291 |
# File 'lib/stripe/resources/mandate.rb', line 289 def au_becs_debit @au_becs_debit end |
#bacs_debit ⇒ Object (readonly)
Attribute for field bacs_debit
291 292 293 |
# File 'lib/stripe/resources/mandate.rb', line 291 def bacs_debit @bacs_debit end |
#card ⇒ Object (readonly)
Attribute for field card
293 294 295 |
# File 'lib/stripe/resources/mandate.rb', line 293 def card @card end |
#cashapp ⇒ Object (readonly)
Attribute for field cashapp
295 296 297 |
# File 'lib/stripe/resources/mandate.rb', line 295 def cashapp @cashapp end |
#kakao_pay ⇒ Object (readonly)
Attribute for field kakao_pay
297 298 299 |
# File 'lib/stripe/resources/mandate.rb', line 297 def kakao_pay @kakao_pay end |
#klarna ⇒ Object (readonly)
Attribute for field klarna
299 300 301 |
# File 'lib/stripe/resources/mandate.rb', line 299 def klarna @klarna end |
#kr_card ⇒ Object (readonly)
Attribute for field kr_card
301 302 303 |
# File 'lib/stripe/resources/mandate.rb', line 301 def kr_card @kr_card end |
#link ⇒ Object (readonly)
Attribute for field link
303 304 305 |
# File 'lib/stripe/resources/mandate.rb', line 303 def link @link end |
#naver_pay ⇒ Object (readonly)
Attribute for field naver_pay
305 306 307 |
# File 'lib/stripe/resources/mandate.rb', line 305 def naver_pay @naver_pay end |
#nz_bank_account ⇒ Object (readonly)
Attribute for field nz_bank_account
307 308 309 |
# File 'lib/stripe/resources/mandate.rb', line 307 def nz_bank_account @nz_bank_account end |
#paypal ⇒ Object (readonly)
Attribute for field paypal
309 310 311 |
# File 'lib/stripe/resources/mandate.rb', line 309 def paypal @paypal end |
#payto ⇒ Object (readonly)
Attribute for field payto
311 312 313 |
# File 'lib/stripe/resources/mandate.rb', line 311 def payto @payto end |
#revolut_pay ⇒ Object (readonly)
Attribute for field revolut_pay
313 314 315 |
# File 'lib/stripe/resources/mandate.rb', line 313 def revolut_pay @revolut_pay end |
#sepa_debit ⇒ Object (readonly)
Attribute for field sepa_debit
315 316 317 |
# File 'lib/stripe/resources/mandate.rb', line 315 def sepa_debit @sepa_debit end |
#type ⇒ Object (readonly)
This mandate corresponds with a specific payment method type. The ‘payment_method_details` includes an additional hash with the same name and contains mandate information that’s specific to that payment method.
317 318 319 |
# File 'lib/stripe/resources/mandate.rb', line 317 def type @type end |
#us_bank_account ⇒ Object (readonly)
Attribute for field us_bank_account
319 320 321 |
# File 'lib/stripe/resources/mandate.rb', line 319 def us_bank_account @us_bank_account end |
Class Method Details
.field_remappings ⇒ Object
343 344 345 |
# File 'lib/stripe/resources/mandate.rb', line 343 def self.field_remappings @field_remappings = {} end |
.inner_class_types ⇒ Object
321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 |
# File 'lib/stripe/resources/mandate.rb', line 321 def self.inner_class_types @inner_class_types = { acss_debit: AcssDebit, amazon_pay: AmazonPay, au_becs_debit: AuBecsDebit, bacs_debit: BacsDebit, card: Card, cashapp: Cashapp, kakao_pay: KakaoPay, klarna: Klarna, kr_card: KrCard, link: Link, naver_pay: NaverPay, nz_bank_account: NzBankAccount, paypal: Paypal, payto: Payto, revolut_pay: RevolutPay, sepa_debit: SepaDebit, us_bank_account: UsBankAccount, } end |