Class: Stripe::V2::Billing::Contracts::LicensePricingService

Inherits:
StripeService
  • Object
show all
Defined in:
lib/stripe/services/v2/billing/contracts/license_pricing_service.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from StripeService

#request, #request_stream

Constructor Details

#initialize(requestor) ⇒ LicensePricingService

Returns a new instance of LicensePricingService.



11
12
13
14
15
# File 'lib/stripe/services/v2/billing/contracts/license_pricing_service.rb', line 11

def initialize(requestor)
  super
  @quantity_changes = Stripe::V2::Billing::Contracts::LicensePricing::QuantityChangeService
                      .new(@requestor)
end

Instance Attribute Details

#quantity_changesObject (readonly)

Returns the value of attribute quantity_changes.



9
10
11
# File 'lib/stripe/services/v2/billing/contracts/license_pricing_service.rb', line 9

def quantity_changes
  @quantity_changes
end