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

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

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)

You can reverse some ReceivedCredits depending on their network and source flow. Reversing a ReceivedCredit leads to the creation of a new object known as a CreditReversal.



115
116
117
# File 'lib/stripe/resources/treasury/received_credit.rb', line 115

def credit_reversal
  @credit_reversal
end

#outbound_paymentObject (readonly)

Use OutboundPayments to send funds to another party's external bank account or FinancialAccount. To send money to an account belonging to the same user, use an OutboundTransfer.

Simulate OutboundPayment state changes with the /v1/test_helpers/treasury/outbound_payments endpoints. These methods can only be called on test mode objects.

Related guide: Moving money with Treasury using OutboundPayment objects



121
122
123
# File 'lib/stripe/resources/treasury/received_credit.rb', line 121

def outbound_payment
  @outbound_payment
end

#outbound_transferObject (readonly)

Use OutboundTransfers to transfer funds from a FinancialAccount to a PaymentMethod belonging to the same entity. To send funds to a different party, use OutboundPayments instead. You can send funds over ACH rails or through a domestic wire transfer to a user's own external bank account.

Simulate OutboundTransfer state changes with the /v1/test_helpers/treasury/outbound_transfers endpoints. These methods can only be called on test mode objects.

Related guide: Moving money with Treasury using OutboundTransfer objects



127
128
129
# File 'lib/stripe/resources/treasury/received_credit.rb', line 127

def outbound_transfer
  @outbound_transfer
end

#payoutObject (readonly)

A Payout object is created when you receive funds from Stripe, or when you initiate a payout to either a bank account or debit card of a connected Stripe account. You can retrieve individual payouts, and list all payouts. Payouts are made on varying schedules, depending on your country and industry.

Related guide: Receiving payouts



136
137
138
# File 'lib/stripe/resources/treasury/received_credit.rb', line 136

def payout
  @payout
end

#typeObject (readonly)

The type of the source flow that originated the ReceivedCredit.



138
139
140
# File 'lib/stripe/resources/treasury/received_credit.rb', line 138

def type
  @type
end

Class Method Details

.field_remappingsObject



144
145
146
# File 'lib/stripe/resources/treasury/received_credit.rb', line 144

def self.field_remappings
  @field_remappings = {}
end

.inner_class_typesObject



140
141
142
# File 'lib/stripe/resources/treasury/received_credit.rb', line 140

def self.inner_class_types
  @inner_class_types = {}
end