Class: Stripe::TreasuryService

Inherits:
StripeService show all
Defined in:
lib/stripe/services/treasury_service.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from StripeService

#request, #request_stream

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_reversalsObject (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_reversalsObject (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_accountsObject (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_transfersObject (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_paymentsObject (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_transfersObject (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_creditsObject (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_debitsObject (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_entriesObject (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

#transactionsObject (readonly)

Returns the value of attribute transactions.



6
7
8
# File 'lib/stripe/services/treasury_service.rb', line 6

def transactions
  @transactions
end