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
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# 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)
  @contracts = Stripe::V2::Billing::ContractService.new(@requestor)
  @custom_pricing_units = Stripe::V2::Billing::CustomPricingUnitService.new(@requestor)
  @intents = Stripe::V2::Billing::IntentService.new(@requestor)
  @license_fees = Stripe::V2::Billing::LicenseFeeService.new(@requestor)
  @licensed_items = Stripe::V2::Billing::LicensedItemService.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)
  @metered_items = Stripe::V2::Billing::MeteredItemService.new(@requestor)
  @one_time_items = Stripe::V2::Billing::OneTimeItemService.new(@requestor)
  @pricing_plans = Stripe::V2::Billing::PricingPlanService.new(@requestor)
  @pricing_plan_subscriptions = Stripe::V2::Billing::PricingPlanSubscriptionService
                                .new(@requestor)
  @profiles = Stripe::V2::Billing::ProfileService.new(@requestor)
  @rate_cards = Stripe::V2::Billing::RateCardService.new(@requestor)
  @rate_card_subscriptions = Stripe::V2::Billing::RateCardSubscriptionService.new(@requestor)
  @service_actions = Stripe::V2::Billing::ServiceActionService.new(@requestor)
end

Instance Attribute Details

#bill_settingsObject (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

#cadencesObject (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_settingsObject (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

#contractsObject (readonly)

Returns the value of attribute contracts.



7
8
9
# File 'lib/stripe/services/v2/billing_service.rb', line 7

def contracts
  @contracts
end

#custom_pricing_unitsObject (readonly)

Returns the value of attribute custom_pricing_units.



7
8
9
# File 'lib/stripe/services/v2/billing_service.rb', line 7

def custom_pricing_units
  @custom_pricing_units
end

#intentsObject (readonly)

Returns the value of attribute intents.



7
8
9
# File 'lib/stripe/services/v2/billing_service.rb', line 7

def intents
  @intents
end

#license_feesObject (readonly)

Returns the value of attribute license_fees.



7
8
9
# File 'lib/stripe/services/v2/billing_service.rb', line 7

def license_fees
  @license_fees
end

#licensed_itemsObject (readonly)

Returns the value of attribute licensed_items.



7
8
9
# File 'lib/stripe/services/v2/billing_service.rb', line 7

def licensed_items
  @licensed_items
end

#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

#metered_itemsObject (readonly)

Returns the value of attribute metered_items.



7
8
9
# File 'lib/stripe/services/v2/billing_service.rb', line 7

def metered_items
  @metered_items
end

#one_time_itemsObject (readonly)

Returns the value of attribute one_time_items.



7
8
9
# File 'lib/stripe/services/v2/billing_service.rb', line 7

def one_time_items
  @one_time_items
end

#pricing_plan_subscriptionsObject (readonly)

Returns the value of attribute pricing_plan_subscriptions.



7
8
9
# File 'lib/stripe/services/v2/billing_service.rb', line 7

def pricing_plan_subscriptions
  @pricing_plan_subscriptions
end

#pricing_plansObject (readonly)

Returns the value of attribute pricing_plans.



7
8
9
# File 'lib/stripe/services/v2/billing_service.rb', line 7

def pricing_plans
  @pricing_plans
end

#profilesObject (readonly)

Returns the value of attribute profiles.



7
8
9
# File 'lib/stripe/services/v2/billing_service.rb', line 7

def profiles
  @profiles
end

#rate_card_subscriptionsObject (readonly)

Returns the value of attribute rate_card_subscriptions.



7
8
9
# File 'lib/stripe/services/v2/billing_service.rb', line 7

def rate_card_subscriptions
  @rate_card_subscriptions
end

#rate_cardsObject (readonly)

Returns the value of attribute rate_cards.



7
8
9
# File 'lib/stripe/services/v2/billing_service.rb', line 7

def rate_cards
  @rate_cards
end

#service_actionsObject (readonly)

Returns the value of attribute service_actions.



7
8
9
# File 'lib/stripe/services/v2/billing_service.rb', line 7

def service_actions
  @service_actions
end