Class: Stripe::Treasury::ReceivedCredit::LinkedFlows
- Inherits:
-
StripeObject
- Object
- StripeObject
- Stripe::Treasury::ReceivedCredit::LinkedFlows
- 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
-
#credit_reversal ⇒ Object
readonly
The CreditReversal created as a result of this ReceivedCredit being reversed.
-
#issuing_authorization ⇒ Object
readonly
Set if the ReceivedCredit was created due to an Issuing Authorization object.
-
#issuing_transaction ⇒ Object
readonly
Set if the ReceivedCredit is also viewable as an Issuing transaction object.
-
#source_flow ⇒ Object
readonly
ID of the source flow.
-
#source_flow_details ⇒ Object
readonly
The expandable object of the source flow.
-
#source_flow_type ⇒ Object
readonly
The type of flow that originated the ReceivedCredit (for example,
outbound_payment).
Attributes inherited from StripeObject
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_reversal ⇒ Object (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_authorization ⇒ Object (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 end |
#issuing_transaction ⇒ Object (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_flow ⇒ Object (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_details ⇒ Object (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_type ⇒ Object (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_remappings ⇒ Object
165 166 167 |
# File 'lib/stripe/resources/treasury/received_credit.rb', line 165 def self.field_remappings @field_remappings = {} end |
.inner_class_types ⇒ Object
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 |