stripe-ruby/lib/stripe/services/treasury_service.rb
helenye-stripe 41f5d0a594
Merge and codegen from master stripe-ruby v13.0.0 (#1465)
* Support for APIs in the new API version 2024-09-30.acacia (#1458)

* remove parseSnapshotEvent (#1463)

* Bump version to 13.0.0

* Fixed API Version

---------

Co-authored-by: Ramya Rao <100975018+ramya-stripe@users.noreply.github.com>
Co-authored-by: Ramya Rao <ramya@stripe.com>
Co-authored-by: Prathmesh Ranaut <prathmesh@stripe.com>
2024-10-03 16:31:59 -04:00

23 lines
1.2 KiB
Ruby

# File generated from our OpenAPI spec
# frozen_string_literal: true
module Stripe
class TreasuryService < StripeService
attr_reader :credit_reversals, :debit_reversals, :financial_accounts, :inbound_transfers, :outbound_payments, :outbound_transfers, :received_credits, :received_debits, :transactions, :transaction_entries
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
end
end