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, Payto, Pix, RevolutPay, SepaDebit, Sofort, Upi, 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?, field_encodings, #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



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

def acss_debit
  @acss_debit
end

#amazon_payObject (readonly)

Attribute for field amazon_pay



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

def amazon_pay
  @amazon_pay
end

#au_becs_debitObject (readonly)

Attribute for field au_becs_debit



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

def au_becs_debit
  @au_becs_debit
end

#bacs_debitObject (readonly)

Attribute for field bacs_debit



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

def bacs_debit
  @bacs_debit
end

#bancontactObject (readonly)

Attribute for field bancontact



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

def bancontact
  @bancontact
end

#boletoObject (readonly)

Attribute for field boleto



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

def boleto
  @boleto
end

#cardObject (readonly)

Attribute for field card



456
457
458
# File 'lib/stripe/resources/setup_attempt.rb', line 456

def card
  @card
end

#card_presentObject (readonly)

Attribute for field card_present



458
459
460
# File 'lib/stripe/resources/setup_attempt.rb', line 458

def card_present
  @card_present
end

#cashappObject (readonly)

Attribute for field cashapp



460
461
462
# File 'lib/stripe/resources/setup_attempt.rb', line 460

def cashapp
  @cashapp
end

#idealObject (readonly)

Attribute for field ideal



462
463
464
# File 'lib/stripe/resources/setup_attempt.rb', line 462

def ideal
  @ideal
end

#kakao_payObject (readonly)

Attribute for field kakao_pay



464
465
466
# File 'lib/stripe/resources/setup_attempt.rb', line 464

def kakao_pay
  @kakao_pay
end

#klarnaObject (readonly)

Attribute for field klarna



466
467
468
# File 'lib/stripe/resources/setup_attempt.rb', line 466

def klarna
  @klarna
end

#kr_cardObject (readonly)

Attribute for field kr_card



468
469
470
# File 'lib/stripe/resources/setup_attempt.rb', line 468

def kr_card
  @kr_card
end

Attribute for field link



470
471
472
# File 'lib/stripe/resources/setup_attempt.rb', line 470

def link
  @link
end

Attribute for field naver_pay



472
473
474
# File 'lib/stripe/resources/setup_attempt.rb', line 472

def naver_pay
  @naver_pay
end

#nz_bank_accountObject (readonly)

Attribute for field nz_bank_account



474
475
476
# File 'lib/stripe/resources/setup_attempt.rb', line 474

def 
  @nz_bank_account
end

#paypalObject (readonly)

Attribute for field paypal



476
477
478
# File 'lib/stripe/resources/setup_attempt.rb', line 476

def paypal
  @paypal
end

#paytoObject (readonly)

Attribute for field payto



478
479
480
# File 'lib/stripe/resources/setup_attempt.rb', line 478

def payto
  @payto
end

#pixObject (readonly)

Attribute for field pix



480
481
482
# File 'lib/stripe/resources/setup_attempt.rb', line 480

def pix
  @pix
end

#revolut_payObject (readonly)

Attribute for field revolut_pay



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

def revolut_pay
  @revolut_pay
end

#sepa_debitObject (readonly)

Attribute for field sepa_debit



484
485
486
# File 'lib/stripe/resources/setup_attempt.rb', line 484

def sepa_debit
  @sepa_debit
end

#sofortObject (readonly)

Attribute for field sofort



486
487
488
# File 'lib/stripe/resources/setup_attempt.rb', line 486

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.



488
489
490
# File 'lib/stripe/resources/setup_attempt.rb', line 488

def type
  @type
end

#upiObject (readonly)

Attribute for field upi



490
491
492
# File 'lib/stripe/resources/setup_attempt.rb', line 490

def upi
  @upi
end

#us_bank_accountObject (readonly)

Attribute for field us_bank_account



492
493
494
# File 'lib/stripe/resources/setup_attempt.rb', line 492

def 
  @us_bank_account
end

Class Method Details

.field_remappingsObject



523
524
525
# File 'lib/stripe/resources/setup_attempt.rb', line 523

def self.field_remappings
  @field_remappings = {}
end

.inner_class_typesObject



494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
# File 'lib/stripe/resources/setup_attempt.rb', line 494

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,
    payto: Payto,
    pix: Pix,
    revolut_pay: RevolutPay,
    sepa_debit: SepaDebit,
    sofort: Sofort,
    upi: Upi,
    us_bank_account: UsBankAccount,
  }
end