Class: Stripe::V2::Billing::ServiceActionCreateParams::CreditGrantPerTenant::GrantCondition::MeterEventFirstPerPeriod::MeterSegmentCondition
- Inherits:
-
RequestParams
- Object
- RequestParams
- Stripe::V2::Billing::ServiceActionCreateParams::CreditGrantPerTenant::GrantCondition::MeterEventFirstPerPeriod::MeterSegmentCondition
- Defined in:
- lib/stripe/params/v2/billing/service_action_create_params.rb
Defined Under Namespace
Classes: Dimension
Instance Attribute Summary collapse
-
#dimension ⇒ Object
Dimension-based meter segment condition.
-
#type ⇒ Object
The type of the meter segment condition.
Instance Method Summary collapse
-
#initialize(type: nil, dimension: nil) ⇒ MeterSegmentCondition
constructor
A new instance of MeterSegmentCondition.
Methods inherited from RequestParams
Constructor Details
#initialize(type: nil, dimension: nil) ⇒ MeterSegmentCondition
Returns a new instance of MeterSegmentCondition.
168 169 170 171 |
# File 'lib/stripe/params/v2/billing/service_action_create_params.rb', line 168 def initialize(type: nil, dimension: nil) @type = type @dimension = dimension end |
Instance Attribute Details
#dimension ⇒ Object
Dimension-based meter segment condition.
166 167 168 |
# File 'lib/stripe/params/v2/billing/service_action_create_params.rb', line 166 def dimension @dimension end |
#type ⇒ Object
The type of the meter segment condition. We currently support ‘dimension`.
164 165 166 |
# File 'lib/stripe/params/v2/billing/service_action_create_params.rb', line 164 def type @type end |