Class: Stripe::V2::Billing::PricingPlans::ComponentCreateParams::LicenseFee

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from RequestParams

attr_accessor, coerce_params, coerce_value, field_encodings, new, #to_h

Constructor Details

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

Returns a new instance of LicenseFee.



15
16
17
18
# File 'lib/stripe/params/v2/billing/pricing_plans/component_create_params.rb', line 15

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

Instance Attribute Details

#idObject

The ID of the License Fee.



11
12
13
# File 'lib/stripe/params/v2/billing/pricing_plans/component_create_params.rb', line 11

def id
  @id
end

#versionObject

The ID of the License Fee Version. If not specified, defaults to ‘latest’.



13
14
15
# File 'lib/stripe/params/v2/billing/pricing_plans/component_create_params.rb', line 13

def version
  @version
end