Class: Stripe::V2::BillingService

Inherits:
StripeService show all
Defined in:
lib/stripe/services/v2/billing_service.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from StripeService

#request, #request_stream

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_adjustmentsObject (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_sessionObject (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_streamObject (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_eventsObject (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