Class: Stripe::Dispute::PaymentMethodDetails

Inherits:
StripeObject show all
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

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

#amazon_payObject (readonly)

Attribute for field amazon_pay



356
357
358
# File 'lib/stripe/resources/dispute.rb', line 356

def amazon_pay
  @amazon_pay
end

#cardObject (readonly)

Attribute for field card



358
359
360
# File 'lib/stripe/resources/dispute.rb', line 358

def card
  @card
end

#klarnaObject (readonly)

Attribute for field klarna



360
361
362
# File 'lib/stripe/resources/dispute.rb', line 360

def klarna
  @klarna
end

#paypalObject (readonly)

Attribute for field paypal



362
363
364
# File 'lib/stripe/resources/dispute.rb', line 362

def paypal
  @paypal
end

#typeObject (readonly)

Payment method type.



364
365
366
# File 'lib/stripe/resources/dispute.rb', line 364

def type
  @type
end

Class Method Details

.field_remappingsObject



370
371
372
# File 'lib/stripe/resources/dispute.rb', line 370

def self.field_remappings
  @field_remappings = {}
end

.inner_class_typesObject



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