Class: Stripe::PaymentRecord::PaymentMethodDetails::Card::Wallet
- Inherits:
-
StripeObject
- Object
- StripeObject
- Stripe::PaymentRecord::PaymentMethodDetails::Card::Wallet
- Defined in:
- lib/stripe/resources/payment_record.rb
Defined Under Namespace
Constant Summary
Constants inherited from StripeObject
StripeObject::RESERVED_FIELD_NAMES
Instance Attribute Summary collapse
-
#apple_pay ⇒ Object
readonly
Attribute for field apple_pay.
-
#dynamic_last4 ⇒ Object
readonly
(For tokenized numbers only.) The last four digits of the device account number.
-
#google_pay ⇒ Object
readonly
Attribute for field google_pay.
-
#type ⇒ Object
readonly
The type of the card wallet, one of ‘apple_pay` or `google_pay`.
Attributes inherited from StripeObject
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
#apple_pay ⇒ Object (readonly)
Attribute for field apple_pay
553 554 555 |
# File 'lib/stripe/resources/payment_record.rb', line 553 def apple_pay @apple_pay end |
#dynamic_last4 ⇒ Object (readonly)
(For tokenized numbers only.) The last four digits of the device account number.
555 556 557 |
# File 'lib/stripe/resources/payment_record.rb', line 555 def dynamic_last4 @dynamic_last4 end |
#google_pay ⇒ Object (readonly)
Attribute for field google_pay
557 558 559 |
# File 'lib/stripe/resources/payment_record.rb', line 557 def google_pay @google_pay end |
#type ⇒ Object (readonly)
The type of the card wallet, one of ‘apple_pay` or `google_pay`. 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.
559 560 561 |
# File 'lib/stripe/resources/payment_record.rb', line 559 def type @type end |
Class Method Details
.field_remappings ⇒ Object
565 566 567 |
# File 'lib/stripe/resources/payment_record.rb', line 565 def self.field_remappings @field_remappings = {} end |
.inner_class_types ⇒ Object
561 562 563 |
# File 'lib/stripe/resources/payment_record.rb', line 561 def self.inner_class_types @inner_class_types = { apple_pay: ApplePay, google_pay: GooglePay } end |