Class: Stripe::Treasury::TransactionEntry::FlowDetails

Inherits:
StripeObject
  • Object
show all
Defined in:
lib/stripe/resources/treasury/transaction_entry.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.



34
35
36
# File 'lib/stripe/resources/treasury/transaction_entry.rb', line 34

def credit_reversal
  @credit_reversal
end

#debit_reversalObject (readonly)

You can reverse some ReceivedDebits depending on their network and source flow. Reversing a ReceivedDebit leads to the creation of a new object known as a DebitReversal.



36
37
38
# File 'lib/stripe/resources/treasury/transaction_entry.rb', line 36

def debit_reversal
  @debit_reversal
end

#inbound_transferObject (readonly)

Use InboundTransfers to add funds to your FinancialAccount via a PaymentMethod that is owned by you. The funds will be transferred via an ACH debit.

Related guide: Moving money with Treasury using InboundTransfer objects



40
41
42
# File 'lib/stripe/resources/treasury/transaction_entry.rb', line 40

def inbound_transfer
  @inbound_transfer
end

#issuing_authorizationObject (readonly)

When an issued card is used to make a purchase, an Issuing Authorization object is created. Authorizations must be approved for the purchase to be completed successfully.

Related guide: Issued card authorizations



46
47
48
# File 'lib/stripe/resources/treasury/transaction_entry.rb', line 46

def issuing_authorization
  @issuing_authorization
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



52
53
54
# File 'lib/stripe/resources/treasury/transaction_entry.rb', line 52

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



58
59
60
# File 'lib/stripe/resources/treasury/transaction_entry.rb', line 58

def outbound_transfer
  @outbound_transfer
end

#received_creditObject (readonly)

ReceivedCredits represent funds sent to a FinancialAccount (for example, via ACH or wire). These money movements are not initiated from the FinancialAccount.



60
61
62
# File 'lib/stripe/resources/treasury/transaction_entry.rb', line 60

def received_credit
  @received_credit
end

#received_debitObject (readonly)

ReceivedDebits represent funds pulled from a FinancialAccount. These are not initiated from the FinancialAccount.



62
63
64
# File 'lib/stripe/resources/treasury/transaction_entry.rb', line 62

def received_debit
  @received_debit
end

#typeObject (readonly)

Type of the flow that created the Transaction. Set to the same value as flow_type.



64
65
66
# File 'lib/stripe/resources/treasury/transaction_entry.rb', line 64

def type
  @type
end

Class Method Details

.field_remappingsObject



70
71
72
# File 'lib/stripe/resources/treasury/transaction_entry.rb', line 70

def self.field_remappings
  @field_remappings = {}
end

.inner_class_typesObject



66
67
68
# File 'lib/stripe/resources/treasury/transaction_entry.rb', line 66

def self.inner_class_types
  @inner_class_types = {}
end