Class: Stripe::Dispute::PaymentMethodDetails
- Inherits:
-
StripeObject
- Object
- StripeObject
- Stripe::Dispute::PaymentMethodDetails
- Defined in:
- lib/stripe/resources/dispute.rb
Defined Under Namespace
Classes: AmazonPay, Card, Klarna, Paypal
Constant Summary
Constants inherited from StripeObject
StripeObject::RESERVED_FIELD_NAMES
Instance Attribute Summary collapse
-
#amazon_pay ⇒ Object
readonly
Attribute for field amazon_pay.
-
#card ⇒ Object
readonly
Attribute for field card.
-
#klarna ⇒ Object
readonly
Attribute for field klarna.
-
#paypal ⇒ Object
readonly
Attribute for field paypal.
-
#type ⇒ Object
readonly
Payment method type.
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
#amazon_pay ⇒ Object (readonly)
Attribute for field amazon_pay
356 357 358 |
# File 'lib/stripe/resources/dispute.rb', line 356 def amazon_pay @amazon_pay end |
#card ⇒ Object (readonly)
Attribute for field card
358 359 360 |
# File 'lib/stripe/resources/dispute.rb', line 358 def card @card end |
#klarna ⇒ Object (readonly)
Attribute for field klarna
360 361 362 |
# File 'lib/stripe/resources/dispute.rb', line 360 def klarna @klarna end |
#paypal ⇒ Object (readonly)
Attribute for field paypal
362 363 364 |
# File 'lib/stripe/resources/dispute.rb', line 362 def paypal @paypal end |
#type ⇒ Object (readonly)
Payment method type.
364 365 366 |
# File 'lib/stripe/resources/dispute.rb', line 364 def type @type end |
Class Method Details
.field_remappings ⇒ Object
370 371 372 |
# File 'lib/stripe/resources/dispute.rb', line 370 def self.field_remappings @field_remappings = {} end |
.inner_class_types ⇒ Object
366 367 368 |
# File 'lib/stripe/resources/dispute.rb', line 366 def self.inner_class_types @inner_class_types = { amazon_pay: AmazonPay, card: Card, klarna: Klarna, paypal: Paypal } end |