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, 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



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

def acss_debit
  @acss_debit
end

#amazon_payObject (readonly)

Attribute for field amazon_pay



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

def amazon_pay
  @amazon_pay
end

#au_becs_debitObject (readonly)

Attribute for field au_becs_debit



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

def au_becs_debit
  @au_becs_debit
end

#bacs_debitObject (readonly)

Attribute for field bacs_debit



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

def bacs_debit
  @bacs_debit
end

#bancontactObject (readonly)

Attribute for field bancontact



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

def bancontact
  @bancontact
end

#boletoObject (readonly)

Attribute for field boleto



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

def boleto
  @boleto
end

#cardObject (readonly)

Attribute for field card



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

def card
  @card
end

#card_presentObject (readonly)

Attribute for field card_present



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

def card_present
  @card_present
end

#cashappObject (readonly)

Attribute for field cashapp



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

def cashapp
  @cashapp
end

#id_bank_transferObject (readonly)

Attribute for field id_bank_transfer



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

def id_bank_transfer
  @id_bank_transfer
end

#idealObject (readonly)

Attribute for field ideal



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

def ideal
  @ideal
end

#kakao_payObject (readonly)

Attribute for field kakao_pay



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

def kakao_pay
  @kakao_pay
end

#klarnaObject (readonly)

Attribute for field klarna



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

def klarna
  @klarna
end

#kr_cardObject (readonly)

Attribute for field kr_card



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

def kr_card
  @kr_card
end

Attribute for field link



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

def link
  @link
end

Attribute for field naver_pay



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

def naver_pay
  @naver_pay
end

#nz_bank_accountObject (readonly)

Attribute for field nz_bank_account



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

def 
  @nz_bank_account
end

#paypalObject (readonly)

Attribute for field paypal



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

def paypal
  @paypal
end

#paytoObject (readonly)

Attribute for field payto



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

def payto
  @payto
end

#pixObject (readonly)

Attribute for field pix



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

def pix
  @pix
end

#revolut_payObject (readonly)

Attribute for field revolut_pay



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

def revolut_pay
  @revolut_pay
end

#sepa_debitObject (readonly)

Attribute for field sepa_debit



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

def sepa_debit
  @sepa_debit
end

#sofortObject (readonly)

Attribute for field sofort



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

def sofort
  @sofort
end

#stripe_balanceObject (readonly)

Attribute for field stripe_balance



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

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



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

def type
  @type
end

#upiObject (readonly)

Attribute for field upi



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

def upi
  @upi
end

#us_bank_accountObject (readonly)

Attribute for field us_bank_account



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

def 
  @us_bank_account
end

Class Method Details

.field_remappingsObject



558
559
560
# File 'lib/stripe/resources/setup_attempt.rb', line 558

def self.field_remappings
  @field_remappings = {}
end

.inner_class_typesObject



527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
# File 'lib/stripe/resources/setup_attempt.rb', line 527

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,
    upi: Upi,
    us_bank_account: UsBankAccount,
  }
end