Class: Stripe::Dispute::PaymentMethodDetails::Card

Inherits:
StripeObject
  • Object
show all
Defined in:
lib/stripe/resources/dispute.rb

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

#brandObject (readonly)

Card brand. Can be ‘amex`, `cartes_bancaires`, `diners`, `discover`, `eftpos_au`, `jcb`, `link`, `mastercard`, `unionpay`, `visa` or `unknown`.



311
312
313
# File 'lib/stripe/resources/dispute.rb', line 311

def brand
  @brand
end

#case_typeObject (readonly)

The type of dispute opened. Different case types may have varying fees and financial impact.



313
314
315
# File 'lib/stripe/resources/dispute.rb', line 313

def case_type
  @case_type
end

#network_reason_codeObject (readonly)

The card network’s specific dispute reason code, which maps to one of Stripe’s primary dispute categories to simplify response guidance. The [Network code map](stripe.com/docs/disputes/categories#network-code-map) lists all available dispute reason codes by network.



315
316
317
# File 'lib/stripe/resources/dispute.rb', line 315

def network_reason_code
  @network_reason_code
end

Class Method Details

.field_remappingsObject



321
322
323
# File 'lib/stripe/resources/dispute.rb', line 321

def self.field_remappings
  @field_remappings = {}
end

.inner_class_typesObject



317
318
319
# File 'lib/stripe/resources/dispute.rb', line 317

def self.inner_class_types
  @inner_class_types = {}
end