Class: Stripe::V2::Billing::RateCards::RateCreateParams::CustomPricingUnitAmount

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from RequestParams

attr_accessor, new, #to_h

Constructor Details

#initialize(id: nil, value: nil) ⇒ CustomPricingUnitAmount

Returns a new instance of CustomPricingUnitAmount.



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

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

Instance Attribute Details

#idObject

The id of the custom pricing unit.



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

def id
  @id
end

#valueObject

The unit value for the custom pricing unit, as a string.



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

def value
  @value
end