Class: Stripe::Treasury::ReceivedCredit::LinkedFlows

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

Defined Under Namespace

Classes: SourceFlowDetails

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

#credit_reversalObject (readonly)

The CreditReversal created as a result of this ReceivedCredit being reversed.



149
150
151
# File 'lib/stripe/resources/treasury/received_credit.rb', line 149

def credit_reversal
  @credit_reversal
end

#issuing_authorizationObject (readonly)

Set if the ReceivedCredit was created due to an Issuing Authorization object.



151
152
153
# File 'lib/stripe/resources/treasury/received_credit.rb', line 151

def issuing_authorization
  @issuing_authorization
end

#issuing_transactionObject (readonly)

Set if the ReceivedCredit is also viewable as an Issuing transaction object.



153
154
155
# File 'lib/stripe/resources/treasury/received_credit.rb', line 153

def issuing_transaction
  @issuing_transaction
end

#source_flowObject (readonly)

ID of the source flow. Set if network is stripe and the source flow is visible to the user. Examples of source flows include OutboundPayments, payouts, or CreditReversals.



155
156
157
# File 'lib/stripe/resources/treasury/received_credit.rb', line 155

def source_flow
  @source_flow
end

#source_flow_detailsObject (readonly)

The expandable object of the source flow.



157
158
159
# File 'lib/stripe/resources/treasury/received_credit.rb', line 157

def source_flow_details
  @source_flow_details
end

#source_flow_typeObject (readonly)

The type of flow that originated the ReceivedCredit (for example, outbound_payment).



159
160
161
# File 'lib/stripe/resources/treasury/received_credit.rb', line 159

def source_flow_type
  @source_flow_type
end

Class Method Details

.field_remappingsObject



165
166
167
# File 'lib/stripe/resources/treasury/received_credit.rb', line 165

def self.field_remappings
  @field_remappings = {}
end

.inner_class_typesObject



161
162
163
# File 'lib/stripe/resources/treasury/received_credit.rb', line 161

def self.inner_class_types
  @inner_class_types = { source_flow_details: SourceFlowDetails }
end