Class: Stripe::SetupAttempt::PaymentMethodDetails

Inherits:
Stripe::StripeObject show all
Defined in:
lib/stripe/resources/setup_attempt.rb

Defined Under Namespace

Classes: AcssDebit, AmazonPay, AuBecsDebit, BacsDebit, Bancontact, Boleto, Card, CardPresent, Cashapp, Ideal, KakaoPay, Klarna, KrCard, Link, NaverPay, NzBankAccount, Paypal, RevolutPay, SepaDebit, Sofort, UsBankAccount

Constant Summary

Constants inherited from Stripe::StripeObject

Stripe::StripeObject::RESERVED_FIELD_NAMES

Instance Attribute Summary collapse

Attributes inherited from Stripe::StripeObject

#last_response

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_debitObject (readonly)

Attribute for field acss_debit



412
413
414
# File 'lib/stripe/resources/setup_attempt.rb', line 412

def acss_debit
  @acss_debit
end

#amazon_payObject (readonly)

Attribute for field amazon_pay



414
415
416
# File 'lib/stripe/resources/setup_attempt.rb', line 414

def amazon_pay
  @amazon_pay
end

#au_becs_debitObject (readonly)

Attribute for field au_becs_debit



416
417
418
# File 'lib/stripe/resources/setup_attempt.rb', line 416

def au_becs_debit
  @au_becs_debit
end

#bacs_debitObject (readonly)

Attribute for field bacs_debit



418
419
420
# File 'lib/stripe/resources/setup_attempt.rb', line 418

def bacs_debit
  @bacs_debit
end

#bancontactObject (readonly)

Attribute for field bancontact



420
421
422
# File 'lib/stripe/resources/setup_attempt.rb', line 420

def bancontact
  @bancontact
end

#boletoObject (readonly)

Attribute for field boleto



422
423
424
# File 'lib/stripe/resources/setup_attempt.rb', line 422

def boleto
  @boleto
end

#cardObject (readonly)

Attribute for field card



424
425
426
# File 'lib/stripe/resources/setup_attempt.rb', line 424

def card
  @card
end

#card_presentObject (readonly)

Attribute for field card_present



426
427
428
# File 'lib/stripe/resources/setup_attempt.rb', line 426

def card_present
  @card_present
end

#cashappObject (readonly)

Attribute for field cashapp



428
429
430
# File 'lib/stripe/resources/setup_attempt.rb', line 428

def cashapp
  @cashapp
end

#idealObject (readonly)

Attribute for field ideal



430
431
432
# File 'lib/stripe/resources/setup_attempt.rb', line 430

def ideal
  @ideal
end

#kakao_payObject (readonly)

Attribute for field kakao_pay



432
433
434
# File 'lib/stripe/resources/setup_attempt.rb', line 432

def kakao_pay
  @kakao_pay
end

#klarnaObject (readonly)

Attribute for field klarna



434
435
436
# File 'lib/stripe/resources/setup_attempt.rb', line 434

def klarna
  @klarna
end

#kr_cardObject (readonly)

Attribute for field kr_card



436
437
438
# File 'lib/stripe/resources/setup_attempt.rb', line 436

def kr_card
  @kr_card
end

Attribute for field link



438
439
440
# File 'lib/stripe/resources/setup_attempt.rb', line 438

def link
  @link
end

Attribute for field naver_pay



440
441
442
# File 'lib/stripe/resources/setup_attempt.rb', line 440

def naver_pay
  @naver_pay
end

#nz_bank_accountObject (readonly)

Attribute for field nz_bank_account



442
443
444
# File 'lib/stripe/resources/setup_attempt.rb', line 442

def 
  
end

#paypalObject (readonly)

Attribute for field paypal



444
445
446
# File 'lib/stripe/resources/setup_attempt.rb', line 444

def paypal
  @paypal
end

#revolut_payObject (readonly)

Attribute for field revolut_pay



446
447
448
# File 'lib/stripe/resources/setup_attempt.rb', line 446

def revolut_pay
  @revolut_pay
end

#sepa_debitObject (readonly)

Attribute for field sepa_debit



448
449
450
# File 'lib/stripe/resources/setup_attempt.rb', line 448

def sepa_debit
  @sepa_debit
end

#sofortObject (readonly)

Attribute for field sofort



450
451
452
# File 'lib/stripe/resources/setup_attempt.rb', line 450

def sofort
  @sofort
end

#typeObject (readonly)

The type of the payment method used in the SetupIntent (e.g., ‘card`). An additional hash is included on `payment_method_details` with a name matching this value. It contains confirmation-specific information for the payment method.



452
453
454
# File 'lib/stripe/resources/setup_attempt.rb', line 452

def type
  @type
end

#us_bank_accountObject (readonly)

Attribute for field us_bank_account



454
455
456
# File 'lib/stripe/resources/setup_attempt.rb', line 454

def 
  
end

Class Method Details

.field_remappingsObject



482
483
484
# File 'lib/stripe/resources/setup_attempt.rb', line 482

def self.field_remappings
  @field_remappings = {}
end

.inner_class_typesObject



456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
# File 'lib/stripe/resources/setup_attempt.rb', line 456

def self.inner_class_types
  @inner_class_types = {
    acss_debit: AcssDebit,
    amazon_pay: AmazonPay,
    au_becs_debit: AuBecsDebit,
    bacs_debit: BacsDebit,
    bancontact: Bancontact,
    boleto: Boleto,
    card: Card,
    card_present: CardPresent,
    cashapp: Cashapp,
    ideal: Ideal,
    kakao_pay: KakaoPay,
    klarna: Klarna,
    kr_card: KrCard,
    link: Link,
    naver_pay: NaverPay,
    nz_bank_account: NzBankAccount,
    paypal: Paypal,
    revolut_pay: RevolutPay,
    sepa_debit: SepaDebit,
    sofort: Sofort,
    us_bank_account: UsBankAccount,
  }
end