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, coerce_params, coerce_value, field_encodings, new, #to_h

Constructor Details

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

Returns a new instance of Dimension.



187
188
189
190
# File 'lib/stripe/params/v2/billing/service_action_create_params.rb', line 187

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.



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

def payload_key
  @payload_key
end

#valueObject

The value for the dimension.



185
186
187
# File 'lib/stripe/params/v2/billing/service_action_create_params.rb', line 185

def value
  @value
end