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

Method Summary

Methods inherited from StripeObject

#==, #[], #[]=, 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`, `diners`, `discover`, `eftpos_au`, `jcb`, `link`, `mastercard`, `unionpay`, `visa`, or `unknown`.



198
199
200
# File 'lib/stripe/resources/dispute.rb', line 198

def brand
  @brand
end

#case_typeObject (readonly)

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



200
201
202
# File 'lib/stripe/resources/dispute.rb', line 200

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.



202
203
204
# File 'lib/stripe/resources/dispute.rb', line 202

def network_reason_code
  @network_reason_code
end