Class: Stripe::PaymentMethod::Card::GeneratedFrom::PaymentMethodDetails
- Inherits:
-
StripeObject
- Object
- StripeObject
- Stripe::PaymentMethod::Card::GeneratedFrom::PaymentMethodDetails
- Defined in:
- lib/stripe/resources/payment_method.rb
Defined Under Namespace
Classes: CardPresent
Constant Summary
Constants inherited from StripeObject
StripeObject::RESERVED_FIELD_NAMES
Instance Attribute Summary collapse
-
#card_present ⇒ Object
readonly
Attribute for field card_present.
-
#type ⇒ Object
readonly
The type of payment method transaction-specific details from the transaction that generated this ‘card` payment method.
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
#card_present ⇒ Object (readonly)
Attribute for field card_present
350 351 352 |
# File 'lib/stripe/resources/payment_method.rb', line 350 def card_present @card_present end |
#type ⇒ Object (readonly)
The type of payment method transaction-specific details from the transaction that generated this ‘card` payment method. Always `card_present`.
352 353 354 |
# File 'lib/stripe/resources/payment_method.rb', line 352 def type @type end |
Class Method Details
.field_remappings ⇒ Object
358 359 360 |
# File 'lib/stripe/resources/payment_method.rb', line 358 def self.field_remappings @field_remappings = {} end |
.inner_class_types ⇒ Object
354 355 356 |
# File 'lib/stripe/resources/payment_method.rb', line 354 def self.inner_class_types @inner_class_types = { card_present: CardPresent } end |