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

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) ⇒ 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

#idObject

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

#versionObject

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