Class: Stripe::ConfirmationToken::PaymentMethodPreview::Card::Wallet

Inherits:
StripeObject
  • Object
show all
Defined in:
lib/stripe/resources/confirmation_token.rb

Defined Under Namespace

Classes: AmexExpressCheckout, ApplePay, GooglePay, Link, Masterpass, SamsungPay, VisaCheckout

Constant Summary

Constants inherited from StripeObject

StripeObject::RESERVED_FIELD_NAMES

Instance Attribute Summary collapse

Attributes inherited from StripeObject

#last_response

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

#amex_express_checkoutObject (readonly)

Attribute for field amex_express_checkout



687
688
689
# File 'lib/stripe/resources/confirmation_token.rb', line 687

def amex_express_checkout
  @amex_express_checkout
end

#apple_payObject (readonly)

Attribute for field apple_pay



689
690
691
# File 'lib/stripe/resources/confirmation_token.rb', line 689

def apple_pay
  @apple_pay
end

#dynamic_last4Object (readonly)

(For tokenized numbers only.) The last four digits of the device account number.



691
692
693
# File 'lib/stripe/resources/confirmation_token.rb', line 691

def dynamic_last4
  @dynamic_last4
end

#google_payObject (readonly)

Attribute for field google_pay



693
694
695
# File 'lib/stripe/resources/confirmation_token.rb', line 693

def google_pay
  @google_pay
end

Attribute for field link



695
696
697
# File 'lib/stripe/resources/confirmation_token.rb', line 695

def link
  @link
end

#masterpassObject (readonly)

Attribute for field masterpass



697
698
699
# File 'lib/stripe/resources/confirmation_token.rb', line 697

def masterpass
  @masterpass
end

#samsung_payObject (readonly)

Attribute for field samsung_pay



699
700
701
# File 'lib/stripe/resources/confirmation_token.rb', line 699

def samsung_pay
  @samsung_pay
end

#typeObject (readonly)

The type of the card wallet, one of ‘amex_express_checkout`, `apple_pay`, `google_pay`, `masterpass`, `samsung_pay`, `visa_checkout`, or `link`. An additional hash is included on the Wallet subhash with a name matching this value. It contains additional information specific to the card wallet type.



701
702
703
# File 'lib/stripe/resources/confirmation_token.rb', line 701

def type
  @type
end

#visa_checkoutObject (readonly)

Attribute for field visa_checkout



703
704
705
# File 'lib/stripe/resources/confirmation_token.rb', line 703

def visa_checkout
  @visa_checkout
end

Class Method Details

.field_remappingsObject



717
718
719
# File 'lib/stripe/resources/confirmation_token.rb', line 717

def self.field_remappings
  @field_remappings = {}
end

.inner_class_typesObject



705
706
707
708
709
710
711
712
713
714
715
# File 'lib/stripe/resources/confirmation_token.rb', line 705

def self.inner_class_types
  @inner_class_types = {
    amex_express_checkout: AmexExpressCheckout,
    apple_pay: ApplePay,
    google_pay: GooglePay,
    link: Link,
    masterpass: Masterpass,
    samsung_pay: SamsungPay,
    visa_checkout: VisaCheckout,
  }
end