Class: Stripe::V2::Billing::ServiceActionService::CreateParams::CreditGrantPerTenant::GrantCondition::MeterEventFirstPerPeriod::MeterSegmentCondition::Dimension

Inherits:
RequestParams
  • Object
show all
Defined in:
lib/stripe/services/v2/billing/service_action_service.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from RequestParams

#to_h

Constructor Details

#initialize(payload_key: nil, value: nil) ⇒ Dimension

Returns a new instance of Dimension.



159
160
161
162
# File 'lib/stripe/services/v2/billing/service_action_service.rb', line 159

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

Instance Attribute Details

#payload_keyObject

The payload key for the dimension.



155
156
157
# File 'lib/stripe/services/v2/billing/service_action_service.rb', line 155

def payload_key
  @payload_key
end

#valueObject

The value for the dimension.



157
158
159
# File 'lib/stripe/services/v2/billing/service_action_service.rb', line 157

def value
  @value
end