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, IdBankTransfer, Ideal, KakaoPay, Klarna, KrCard, Link, NaverPay, NzBankAccount, Paypal, Payto, Pix, RevolutPay, SepaDebit, Sofort, StripeBalance, Twint, 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



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

def acss_debit
  @acss_debit
end

#amazon_payObject (readonly)

Attribute for field amazon_pay



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

def amazon_pay
  @amazon_pay
end

#au_becs_debitObject (readonly)

Attribute for field au_becs_debit



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

def au_becs_debit
  @au_becs_debit
end

#bacs_debitObject (readonly)

Attribute for field bacs_debit



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

def bacs_debit
  @bacs_debit
end

#bancontactObject (readonly)

Attribute for field bancontact



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

def bancontact
  @bancontact
end

#boletoObject (readonly)

Attribute for field boleto



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

def boleto
  @boleto
end

#cardObject (readonly)

Attribute for field card



495
496
497
# File 'lib/stripe/resources/setup_attempt.rb', line 495

def card
  @card
end

#card_presentObject (readonly)

Attribute for field card_present



497
498
499
# File 'lib/stripe/resources/setup_attempt.rb', line 497

def card_present
  @card_present
end

#cashappObject (readonly)

Attribute for field cashapp



499
500
501
# File 'lib/stripe/resources/setup_attempt.rb', line 499

def cashapp
  @cashapp
end

#id_bank_transferObject (readonly)

Attribute for field id_bank_transfer



501
502
503
# File 'lib/stripe/resources/setup_attempt.rb', line 501

def id_bank_transfer
  @id_bank_transfer
end

#idealObject (readonly)

Attribute for field ideal



503
504
505
# File 'lib/stripe/resources/setup_attempt.rb', line 503

def ideal
  @ideal
end

#kakao_payObject (readonly)

Attribute for field kakao_pay



505
506
507
# File 'lib/stripe/resources/setup_attempt.rb', line 505

def kakao_pay
  @kakao_pay
end

#klarnaObject (readonly)

Attribute for field klarna



507
508
509
# File 'lib/stripe/resources/setup_attempt.rb', line 507

def klarna
  @klarna
end

#kr_cardObject (readonly)

Attribute for field kr_card



509
510
511
# File 'lib/stripe/resources/setup_attempt.rb', line 509

def kr_card
  @kr_card
end

Attribute for field link



511
512
513
# File 'lib/stripe/resources/setup_attempt.rb', line 511

def link
  @link
end

Attribute for field naver_pay



513
514
515
# File 'lib/stripe/resources/setup_attempt.rb', line 513

def naver_pay
  @naver_pay
end

#nz_bank_accountObject (readonly)

Attribute for field nz_bank_account



515
516
517
# File 'lib/stripe/resources/setup_attempt.rb', line 515

def 
  @nz_bank_account
end

#paypalObject (readonly)

Attribute for field paypal



517
518
519
# File 'lib/stripe/resources/setup_attempt.rb', line 517

def paypal
  @paypal
end

#paytoObject (readonly)

Attribute for field payto



519
520
521
# File 'lib/stripe/resources/setup_attempt.rb', line 519

def payto
  @payto
end

#pixObject (readonly)

Attribute for field pix



521
522
523
# File 'lib/stripe/resources/setup_attempt.rb', line 521

def pix
  @pix
end

#revolut_payObject (readonly)

Attribute for field revolut_pay



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

def revolut_pay
  @revolut_pay
end

#sepa_debitObject (readonly)

Attribute for field sepa_debit



525
526
527
# File 'lib/stripe/resources/setup_attempt.rb', line 525

def sepa_debit
  @sepa_debit
end

#sofortObject (readonly)

Attribute for field sofort



527
528
529
# File 'lib/stripe/resources/setup_attempt.rb', line 527

def sofort
  @sofort
end

#stripe_balanceObject (readonly)

Attribute for field stripe_balance



529
530
531
# File 'lib/stripe/resources/setup_attempt.rb', line 529

def stripe_balance
  @stripe_balance
end

#twintObject (readonly)

Attribute for field twint



531
532
533
# File 'lib/stripe/resources/setup_attempt.rb', line 531

def twint
  @twint
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.



533
534
535
# File 'lib/stripe/resources/setup_attempt.rb', line 533

def type
  @type
end

#upiObject (readonly)

Attribute for field upi



535
536
537
# File 'lib/stripe/resources/setup_attempt.rb', line 535

def upi
  @upi
end

#us_bank_accountObject (readonly)

Attribute for field us_bank_account



537
538
539
# File 'lib/stripe/resources/setup_attempt.rb', line 537

def 
  @us_bank_account
end

Class Method Details

.field_remappingsObject



571
572
573
# File 'lib/stripe/resources/setup_attempt.rb', line 571

def self.field_remappings
  @field_remappings = {}
end

.inner_class_typesObject



539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
# File 'lib/stripe/resources/setup_attempt.rb', line 539

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,
    id_bank_transfer: IdBankTransfer,
    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,
    stripe_balance: StripeBalance,
    twint: Twint,
    upi: Upi,
    us_bank_account: UsBankAccount,
  }
end