Class: Stripe::V2::Billing::PricingPlans::ComponentCreateParams::RateCard
- Inherits:
-
RequestParams
- Object
- RequestParams
- Stripe::V2::Billing::PricingPlans::ComponentCreateParams::RateCard
- Defined in:
- lib/stripe/params/v2/billing/pricing_plans/component_create_params.rb
Instance Attribute Summary collapse
-
#id ⇒ Object
The ID of the Rate Card.
-
#version ⇒ Object
The ID of the Rate Card Version.
Instance Method Summary collapse
-
#initialize(id: nil, version: nil) ⇒ RateCard
constructor
A new instance of RateCard.
Methods inherited from RequestParams
attr_accessor, coerce_params, coerce_value, field_encodings, new, #to_h
Constructor Details
#initialize(id: nil, version: nil) ⇒ RateCard
Returns a new instance of RateCard.
27 28 29 30 |
# File 'lib/stripe/params/v2/billing/pricing_plans/component_create_params.rb', line 27 def initialize(id: nil, version: nil) @id = id @version = version end |
Instance Attribute Details
#id ⇒ Object
The ID of the Rate Card.
23 24 25 |
# File 'lib/stripe/params/v2/billing/pricing_plans/component_create_params.rb', line 23 def id @id end |
#version ⇒ Object
The ID of the Rate Card Version. If not specified, defaults to ‘latest’.
25 26 27 |
# File 'lib/stripe/params/v2/billing/pricing_plans/component_create_params.rb', line 25 def version @version end |