Class: Stripe::Refund::DestinationDetails::Card

Inherits:
StripeObject
  • Object
show all
Defined in:
lib/stripe/resources/refund.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

#referenceObject (readonly)

Value of the reference number assigned to the refund.



115
116
117
# File 'lib/stripe/resources/refund.rb', line 115

def reference
  @reference
end

#reference_statusObject (readonly)

Status of the reference number on the refund. This can be ‘pending`, `available` or `unavailable`.



117
118
119
# File 'lib/stripe/resources/refund.rb', line 117

def reference_status
  @reference_status
end

#reference_typeObject (readonly)

Type of the reference number assigned to the refund.



119
120
121
# File 'lib/stripe/resources/refund.rb', line 119

def reference_type
  @reference_type
end

#typeObject (readonly)

The type of refund. This can be ‘refund`, `reversal`, or `pending`.



121
122
123
# File 'lib/stripe/resources/refund.rb', line 121

def type
  @type
end

Class Method Details

.field_remappingsObject



127
128
129
# File 'lib/stripe/resources/refund.rb', line 127

def self.field_remappings
  @field_remappings = {}
end

.inner_class_typesObject



123
124
125
# File 'lib/stripe/resources/refund.rb', line 123

def self.inner_class_types
  @inner_class_types = {}
end