Class: Stripe::V2::Billing::ServiceActionCreateParams::CreditGrantPerTenant::GrantCondition::MeterEventFirstPerPeriod::MeterSegmentCondition::Dimension

Inherits:
RequestParams
  • Object
show all
Defined in:
lib/stripe/params/v2/billing/service_action_create_params.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.



158
159
160
161
# File 'lib/stripe/params/v2/billing/service_action_create_params.rb', line 158

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.



154
155
156
# File 'lib/stripe/params/v2/billing/service_action_create_params.rb', line 154

def payload_key
  @payload_key
end

#valueObject

The value for the dimension.



156
157
158
# File 'lib/stripe/params/v2/billing/service_action_create_params.rb', line 156

def value
  @value
end