Class: Stripe::V2::BillingService
- Inherits:
-
StripeService
- Object
- StripeService
- Stripe::V2::BillingService
- Defined in:
- lib/stripe/services/v2/billing_service.rb
Instance Attribute Summary collapse
-
#bill_settings ⇒ Object
readonly
Returns the value of attribute bill_settings.
-
#cadences ⇒ Object
readonly
Returns the value of attribute cadences.
-
#collection_settings ⇒ Object
readonly
Returns the value of attribute collection_settings.
-
#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.
-
#profiles ⇒ Object
readonly
Returns the value of attribute profiles.
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 16 17 18 19 |
# File 'lib/stripe/services/v2/billing_service.rb', line 9 def initialize(requestor) super @bill_settings = Stripe::V2::Billing::BillSettingService.new(@requestor) @cadences = Stripe::V2::Billing::CadenceService.new(@requestor) @collection_settings = Stripe::V2::Billing::CollectionSettingService.new(@requestor) @meter_events = Stripe::V2::Billing::MeterEventService.new(@requestor) @meter_event_adjustments = Stripe::V2::Billing::MeterEventAdjustmentService.new(@requestor) @meter_event_session = Stripe::V2::Billing::MeterEventSessionService.new(@requestor) @meter_event_stream = Stripe::V2::Billing::MeterEventStreamService.new(@requestor) @profiles = Stripe::V2::Billing::ProfileService.new(@requestor) end |
Instance Attribute Details
#bill_settings ⇒ Object (readonly)
Returns the value of attribute bill_settings.
7 8 9 |
# File 'lib/stripe/services/v2/billing_service.rb', line 7 def bill_settings @bill_settings end |
#cadences ⇒ Object (readonly)
Returns the value of attribute cadences.
7 8 9 |
# File 'lib/stripe/services/v2/billing_service.rb', line 7 def cadences @cadences end |
#collection_settings ⇒ Object (readonly)
Returns the value of attribute collection_settings.
7 8 9 |
# File 'lib/stripe/services/v2/billing_service.rb', line 7 def collection_settings @collection_settings end |
#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 |
#profiles ⇒ Object (readonly)
Returns the value of attribute profiles.
7 8 9 |
# File 'lib/stripe/services/v2/billing_service.rb', line 7 def profiles @profiles end |