Class: Stripe::TreasuryService
- Inherits:
-
StripeService
- Object
- StripeService
- Stripe::TreasuryService
- Defined in:
- lib/stripe/services/treasury_service.rb
Instance Attribute Summary collapse
-
#credit_reversals ⇒ Object
readonly
Returns the value of attribute credit_reversals.
-
#debit_reversals ⇒ Object
readonly
Returns the value of attribute debit_reversals.
-
#financial_accounts ⇒ Object
readonly
Returns the value of attribute financial_accounts.
-
#inbound_transfers ⇒ Object
readonly
Returns the value of attribute inbound_transfers.
-
#outbound_payments ⇒ Object
readonly
Returns the value of attribute outbound_payments.
-
#outbound_transfers ⇒ Object
readonly
Returns the value of attribute outbound_transfers.
-
#received_credits ⇒ Object
readonly
Returns the value of attribute received_credits.
-
#received_debits ⇒ Object
readonly
Returns the value of attribute received_debits.
-
#transaction_entries ⇒ Object
readonly
Returns the value of attribute transaction_entries.
-
#transactions ⇒ Object
readonly
Returns the value of attribute transactions.
Instance Method Summary collapse
-
#initialize(requestor) ⇒ TreasuryService
constructor
A new instance of TreasuryService.
Methods inherited from StripeService
Constructor Details
#initialize(requestor) ⇒ TreasuryService
Returns a new instance of TreasuryService.
8 9 10 11 12 13 14 15 16 17 18 19 20 |
# File 'lib/stripe/services/treasury_service.rb', line 8 def initialize(requestor) super(requestor) @credit_reversals = Stripe::Treasury::CreditReversalService.new(@requestor) @debit_reversals = Stripe::Treasury::DebitReversalService.new(@requestor) @financial_accounts = Stripe::Treasury::FinancialAccountService.new(@requestor) @inbound_transfers = Stripe::Treasury::InboundTransferService.new(@requestor) @outbound_payments = Stripe::Treasury::OutboundPaymentService.new(@requestor) @outbound_transfers = Stripe::Treasury::OutboundTransferService.new(@requestor) @received_credits = Stripe::Treasury::ReceivedCreditService.new(@requestor) @received_debits = Stripe::Treasury::ReceivedDebitService.new(@requestor) @transactions = Stripe::Treasury::TransactionService.new(@requestor) @transaction_entries = Stripe::Treasury::TransactionEntryService.new(@requestor) end |
Instance Attribute Details
#credit_reversals ⇒ Object (readonly)
Returns the value of attribute credit_reversals.
6 7 8 |
# File 'lib/stripe/services/treasury_service.rb', line 6 def credit_reversals @credit_reversals end |
#debit_reversals ⇒ Object (readonly)
Returns the value of attribute debit_reversals.
6 7 8 |
# File 'lib/stripe/services/treasury_service.rb', line 6 def debit_reversals @debit_reversals end |
#financial_accounts ⇒ Object (readonly)
Returns the value of attribute financial_accounts.
6 7 8 |
# File 'lib/stripe/services/treasury_service.rb', line 6 def financial_accounts @financial_accounts end |
#inbound_transfers ⇒ Object (readonly)
Returns the value of attribute inbound_transfers.
6 7 8 |
# File 'lib/stripe/services/treasury_service.rb', line 6 def inbound_transfers @inbound_transfers end |
#outbound_payments ⇒ Object (readonly)
Returns the value of attribute outbound_payments.
6 7 8 |
# File 'lib/stripe/services/treasury_service.rb', line 6 def outbound_payments @outbound_payments end |
#outbound_transfers ⇒ Object (readonly)
Returns the value of attribute outbound_transfers.
6 7 8 |
# File 'lib/stripe/services/treasury_service.rb', line 6 def outbound_transfers @outbound_transfers end |
#received_credits ⇒ Object (readonly)
Returns the value of attribute received_credits.
6 7 8 |
# File 'lib/stripe/services/treasury_service.rb', line 6 def received_credits @received_credits end |
#received_debits ⇒ Object (readonly)
Returns the value of attribute received_debits.
6 7 8 |
# File 'lib/stripe/services/treasury_service.rb', line 6 def received_debits @received_debits end |
#transaction_entries ⇒ Object (readonly)
Returns the value of attribute transaction_entries.
6 7 8 |
# File 'lib/stripe/services/treasury_service.rb', line 6 def transaction_entries @transaction_entries end |
#transactions ⇒ Object (readonly)
Returns the value of attribute transactions.
6 7 8 |
# File 'lib/stripe/services/treasury_service.rb', line 6 def transactions @transactions end |