Class: Stripe::V2::MoneyManagement::ReceivedDebit::CardSpend

Inherits:
StripeObject
  • Object
show all
Defined in:
lib/stripe/resources/v2/money_management/received_debit.rb

Defined Under Namespace

Classes: Authorization, CardTransaction

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?, field_encodings, #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

#authorizationObject (readonly)

The Issuing Authorization for this card_spend. Contains the reference id and the amount.



143
144
145
# File 'lib/stripe/resources/v2/money_management/received_debit.rb', line 143

def authorization
  @authorization
end

#card_transactionsObject (readonly)

The list of card spend transactions. These contain the transaction reference ID and the amount.



145
146
147
# File 'lib/stripe/resources/v2/money_management/received_debit.rb', line 145

def card_transactions
  @card_transactions
end

#card_v1_idObject (readonly)

The reference to the card object that resulted in the debit.



147
148
149
# File 'lib/stripe/resources/v2/money_management/received_debit.rb', line 147

def card_v1_id
  @card_v1_id
end

Class Method Details

.field_remappingsObject



153
154
155
# File 'lib/stripe/resources/v2/money_management/received_debit.rb', line 153

def self.field_remappings
  @field_remappings = {}
end

.inner_class_typesObject



149
150
151
# File 'lib/stripe/resources/v2/money_management/received_debit.rb', line 149

def self.inner_class_types
  @inner_class_types = { authorization: Authorization, card_transactions: CardTransaction }
end