Class: Stripe::TestHelpers::TreasuryService
- Inherits:
-
StripeService
- Object
- StripeService
- Stripe::TestHelpers::TreasuryService
- Defined in:
- lib/stripe/services/test_helpers/treasury_service.rb
Instance Attribute Summary collapse
-
#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.
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.
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_transfers ⇒ Object (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_payments ⇒ Object (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_transfers ⇒ Object (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_credits ⇒ Object (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_debits ⇒ Object (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 |