Class: Stripe::V2::Billing::PricingPlans::ComponentService::CreateParams::LicenseFee

Inherits:
RequestParams
  • Object
show all
Defined in:
lib/stripe/services/v2/billing/pricing_plans/component_service.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from RequestParams

#to_h

Constructor Details

#initialize(id: nil, version: nil) ⇒ LicenseFee

Returns a new instance of LicenseFee.



33
34
35
36
# File 'lib/stripe/services/v2/billing/pricing_plans/component_service.rb', line 33

def initialize(id: nil, version: nil)
  @id = id
  @version = version
end

Instance Attribute Details

#idObject

The ID of the License Fee.



29
30
31
# File 'lib/stripe/services/v2/billing/pricing_plans/component_service.rb', line 29

def id
  @id
end

#versionObject

The version of the LicenseFee. Defaults to ‘latest’, if not specified.



31
32
33
# File 'lib/stripe/services/v2/billing/pricing_plans/component_service.rb', line 31

def version
  @version
end