Class: Stripe::PaymentMethod::Card::GeneratedFrom
- Inherits:
-
StripeObject
- Object
- StripeObject
- Stripe::PaymentMethod::Card::GeneratedFrom
- Defined in:
- lib/stripe/resources/payment_method.rb
Defined Under Namespace
Classes: PaymentMethodDetails
Constant Summary
Constants inherited from StripeObject
StripeObject::RESERVED_FIELD_NAMES
Instance Attribute Summary collapse
-
#charge ⇒ Object
readonly
The charge that created this object.
-
#payment_method_details ⇒ Object
readonly
Transaction-specific details of the payment method used in the payment.
-
#setup_attempt ⇒ Object
readonly
The ID of the SetupAttempt that generated this PaymentMethod, if any.
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
#charge ⇒ Object (readonly)
The charge that created this object.
363 364 365 |
# File 'lib/stripe/resources/payment_method.rb', line 363 def charge @charge end |
#payment_method_details ⇒ Object (readonly)
Transaction-specific details of the payment method used in the payment.
365 366 367 |
# File 'lib/stripe/resources/payment_method.rb', line 365 def payment_method_details @payment_method_details end |
#setup_attempt ⇒ Object (readonly)
The ID of the SetupAttempt that generated this PaymentMethod, if any.
367 368 369 |
# File 'lib/stripe/resources/payment_method.rb', line 367 def setup_attempt @setup_attempt end |
Class Method Details
.field_remappings ⇒ Object
373 374 375 |
# File 'lib/stripe/resources/payment_method.rb', line 373 def self.field_remappings @field_remappings = {} end |
.inner_class_types ⇒ Object
369 370 371 |
# File 'lib/stripe/resources/payment_method.rb', line 369 def self.inner_class_types @inner_class_types = { payment_method_details: PaymentMethodDetails } end |