mirror of
https://github.com/stripe/stripe-ruby.git
synced 2025-10-15 00:00:44 -04:00
* 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>
21 lines
939 B
Ruby
21 lines
939 B
Ruby
# File generated from our OpenAPI spec
|
|
# frozen_string_literal: true
|
|
|
|
module Stripe
|
|
class BillingService < StripeService
|
|
attr_reader :alerts, :credit_balance_summary, :credit_balance_transactions, :credit_grants, :meters, :meter_events, :meter_event_adjustments
|
|
|
|
def initialize(requestor)
|
|
super(requestor)
|
|
@alerts = Stripe::Billing::AlertService.new(@requestor)
|
|
@credit_balance_summary = Stripe::Billing::CreditBalanceSummaryService.new(@requestor)
|
|
@credit_balance_transactions = Stripe::Billing::CreditBalanceTransactionService
|
|
.new(@requestor)
|
|
@credit_grants = Stripe::Billing::CreditGrantService.new(@requestor)
|
|
@meters = Stripe::Billing::MeterService.new(@requestor)
|
|
@meter_events = Stripe::Billing::MeterEventService.new(@requestor)
|
|
@meter_event_adjustments = Stripe::Billing::MeterEventAdjustmentService.new(@requestor)
|
|
end
|
|
end
|
|
end
|