Class: Stripe::V2::Billing::ServiceActionService::CreateParams::CreditGrantPerTenant::GrantCondition::MeterEventFirstPerPeriod::MeterSegmentCondition::Dimension
- Inherits:
-
RequestParams
- Object
- RequestParams
- Stripe::V2::Billing::ServiceActionService::CreateParams::CreditGrantPerTenant::GrantCondition::MeterEventFirstPerPeriod::MeterSegmentCondition::Dimension
- Defined in:
- lib/stripe/services/v2/billing/service_action_service.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
Constructor Details
#initialize(payload_key: nil, value: nil) ⇒ Dimension
Returns a new instance of Dimension.
146 147 148 149 |
# File 'lib/stripe/services/v2/billing/service_action_service.rb', line 146 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.
142 143 144 |
# File 'lib/stripe/services/v2/billing/service_action_service.rb', line 142 def payload_key @payload_key end |
#value ⇒ Object
The value for the dimension.
144 145 146 |
# File 'lib/stripe/services/v2/billing/service_action_service.rb', line 144 def value @value end |