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

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

#credit_reversalObject (readonly)

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



97
98
99
# File 'lib/stripe/resources/treasury/received_credit.rb', line 97

def credit_reversal
  @credit_reversal
end

#issuing_authorizationObject (readonly)

Set if the ReceivedCredit was created due to an [Issuing Authorization](stripe.com/docs/api#issuing_authorizations) object.



99
100
101
# File 'lib/stripe/resources/treasury/received_credit.rb', line 99

def issuing_authorization
  @issuing_authorization
end

#issuing_transactionObject (readonly)

Set if the ReceivedCredit is also viewable as an [Issuing transaction](stripe.com/docs/api#issuing_transactions) object.



101
102
103
# File 'lib/stripe/resources/treasury/received_credit.rb', line 101

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.



103
104
105
# File 'lib/stripe/resources/treasury/received_credit.rb', line 103

def source_flow
  @source_flow
end

#source_flow_detailsObject (readonly)

The expandable object of the source flow.



105
106
107
# File 'lib/stripe/resources/treasury/received_credit.rb', line 105

def source_flow_details
  @source_flow_details
end

#source_flow_typeObject (readonly)

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



107
108
109
# File 'lib/stripe/resources/treasury/received_credit.rb', line 107

def source_flow_type
  @source_flow_type
end