Class: Stripe::V2::Billing::PricingPlans::ComponentService::CreateParams::RateCard
- Inherits:
-
RequestParams
- Object
- RequestParams
- Stripe::V2::Billing::PricingPlans::ComponentService::CreateParams::RateCard
- Defined in:
- lib/stripe/services/v2/billing/pricing_plans/component_service.rb
Instance Attribute Summary collapse
-
#id ⇒ Object
The ID of the Rate Card.
-
#version ⇒ Object
The version of the RateCard.
Instance Method Summary collapse
-
#initialize(id: nil, version: nil) ⇒ RateCard
constructor
A new instance of RateCard.
Methods inherited from RequestParams
Constructor Details
#initialize(id: nil, version: nil) ⇒ RateCard
Returns a new instance of RateCard.
45 46 47 48 |
# File 'lib/stripe/services/v2/billing/pricing_plans/component_service.rb', line 45 def initialize(id: nil, version: nil) @id = id @version = version end |
Instance Attribute Details
#id ⇒ Object
The ID of the Rate Card.
41 42 43 |
# File 'lib/stripe/services/v2/billing/pricing_plans/component_service.rb', line 41 def id @id end |
#version ⇒ Object
The version of the RateCard. Defaults to ‘latest’, if not specified.
43 44 45 |
# File 'lib/stripe/services/v2/billing/pricing_plans/component_service.rb', line 43 def version @version end |