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.



97
98
99
# File 'lib/stripe/resources/v2/money_management/received_debit.rb', line 97

def authorization
  @authorization
end

#card_transactionsObject (readonly)

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



99
100
101
# File 'lib/stripe/resources/v2/money_management/received_debit.rb', line 99

def card_transactions
  @card_transactions
end

#card_v1_idObject (readonly)

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



101
102
103
# File 'lib/stripe/resources/v2/money_management/received_debit.rb', line 101

def card_v1_id
  @card_v1_id
end

Class Method Details

.field_remappingsObject



107
108
109
# File 'lib/stripe/resources/v2/money_management/received_debit.rb', line 107

def self.field_remappings
  @field_remappings = {}
end

.inner_class_typesObject



103
104
105
# File 'lib/stripe/resources/v2/money_management/received_debit.rb', line 103

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