Class: Stripe::TestHelpers::TreasuryService

Inherits:
StripeService show all
Defined in:
lib/stripe/services/test_helpers/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.



9
10
11
12
13
14
15
16
# File 'lib/stripe/services/test_helpers/treasury_service.rb', line 9

def initialize(requestor)
  super(requestor)
  @inbound_transfers = Stripe::TestHelpers::Treasury::InboundTransferService.new(@requestor)
  @outbound_payments = Stripe::TestHelpers::Treasury::OutboundPaymentService.new(@requestor)
  @outbound_transfers = Stripe::TestHelpers::Treasury::OutboundTransferService.new(@requestor)
  @received_credits = Stripe::TestHelpers::Treasury::ReceivedCreditService.new(@requestor)
  @received_debits = Stripe::TestHelpers::Treasury::ReceivedDebitService.new(@requestor)
end

Instance Attribute Details

#inbound_transfersObject (readonly)

Returns the value of attribute inbound_transfers.



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

def inbound_transfers
  @inbound_transfers
end

#outbound_paymentsObject (readonly)

Returns the value of attribute outbound_payments.



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

def outbound_payments
  @outbound_payments
end

#outbound_transfersObject (readonly)

Returns the value of attribute outbound_transfers.



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

def outbound_transfers
  @outbound_transfers
end

#received_creditsObject (readonly)

Returns the value of attribute received_credits.



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

def received_credits
  @received_credits
end

#received_debitsObject (readonly)

Returns the value of attribute received_debits.



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

def received_debits
  @received_debits
end