Class: Stripe::V2::Billing::ServiceActionCreateParams::CreditGrantPerTenant::GrantCondition::MeterEventFirstPerPeriod::MeterSegmentCondition::Dimension
- Inherits:
-
RequestParams
- Object
- RequestParams
- Stripe::V2::Billing::ServiceActionCreateParams::CreditGrantPerTenant::GrantCondition::MeterEventFirstPerPeriod::MeterSegmentCondition::Dimension
- Defined in:
- lib/stripe/params/v2/billing/service_action_create_params.rb
Instance Attribute Summary collapse
-
#payload_key ⇒ Object
The payload key for the dimension.
-
#value ⇒ Object
The value for the dimension.
Instance Method Summary collapse
-
#initialize(payload_key: nil, value: nil) ⇒ Dimension
constructor
A new instance of Dimension.
Methods inherited from RequestParams
attr_accessor, coerce_params, coerce_value, field_encodings, new, #to_h
Constructor Details
#initialize(payload_key: nil, value: nil) ⇒ Dimension
Returns a new instance of Dimension.
187 188 189 190 |
# File 'lib/stripe/params/v2/billing/service_action_create_params.rb', line 187 def initialize(payload_key: nil, value: nil) @payload_key = payload_key @value = value end |
Instance Attribute Details
#payload_key ⇒ Object
The payload key for the dimension.
183 184 185 |
# File 'lib/stripe/params/v2/billing/service_action_create_params.rb', line 183 def payload_key @payload_key end |
#value ⇒ Object
The value for the dimension.
185 186 187 |
# File 'lib/stripe/params/v2/billing/service_action_create_params.rb', line 185 def value @value end |