Class: Stripe::V2::BillingService
- Inherits:
-
StripeService
- Object
- StripeService
- Stripe::V2::BillingService
- Defined in:
- lib/stripe/services/v2/billing_service.rb
Instance Attribute Summary collapse
-
#meter_event_adjustments ⇒ Object
readonly
Returns the value of attribute meter_event_adjustments.
-
#meter_event_session ⇒ Object
readonly
Returns the value of attribute meter_event_session.
-
#meter_event_stream ⇒ Object
readonly
Returns the value of attribute meter_event_stream.
-
#meter_events ⇒ Object
readonly
Returns the value of attribute meter_events.
Instance Method Summary collapse
-
#initialize(requestor) ⇒ BillingService
constructor
A new instance of BillingService.
Methods inherited from StripeService
Constructor Details
#initialize(requestor) ⇒ BillingService
Returns a new instance of BillingService.
9 10 11 12 13 14 15 |
# File 'lib/stripe/services/v2/billing_service.rb', line 9 def initialize(requestor) super(requestor) @meter_event_session = Stripe::V2::Billing::MeterEventSessionService.new(@requestor) @meter_event_adjustments = Stripe::V2::Billing::MeterEventAdjustmentService.new(@requestor) @meter_event_stream = Stripe::V2::Billing::MeterEventStreamService.new(@requestor) @meter_events = Stripe::V2::Billing::MeterEventService.new(@requestor) end |
Instance Attribute Details
#meter_event_adjustments ⇒ Object (readonly)
Returns the value of attribute meter_event_adjustments.
7 8 9 |
# File 'lib/stripe/services/v2/billing_service.rb', line 7 def meter_event_adjustments @meter_event_adjustments end |
#meter_event_session ⇒ Object (readonly)
Returns the value of attribute meter_event_session.
7 8 9 |
# File 'lib/stripe/services/v2/billing_service.rb', line 7 def meter_event_session @meter_event_session end |
#meter_event_stream ⇒ Object (readonly)
Returns the value of attribute meter_event_stream.
7 8 9 |
# File 'lib/stripe/services/v2/billing_service.rb', line 7 def meter_event_stream @meter_event_stream end |
#meter_events ⇒ Object (readonly)
Returns the value of attribute meter_events.
7 8 9 |
# File 'lib/stripe/services/v2/billing_service.rb', line 7 def meter_events @meter_events end |