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

attr_accessor, new, #to_h

Constructor Details

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

Returns a new instance of Dimension.



182
183
184
185
# File 'lib/stripe/params/v2/billing/service_action_create_params.rb', line 182

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.



178
179
180
# File 'lib/stripe/params/v2/billing/service_action_create_params.rb', line 178

def payload_key
  @payload_key
end

#valueObject

The value for the dimension.



180
181
182
# File 'lib/stripe/params/v2/billing/service_action_create_params.rb', line 180

def value
  @value
end