Class: Stripe::V2::Billing::PricingPlans::ComponentCreateParams::RateCard

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

#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

#idObject

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

#versionObject

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



25
26
27
# File 'lib/stripe/params/v2/billing/pricing_plans/component_create_params.rb', line 25

def version
  @version
end