Class: Stripe::V2::Billing::ContractCreateParams::PricingOverride::Multiplier::Criterion::MetadataCondition::AllOf

Inherits:
RequestParams
  • Object
show all
Defined in:
lib/stripe/params/v2/billing/contract_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(key: nil, value: nil) ⇒ AllOf

Returns a new instance of AllOf.



592
593
594
595
# File 'lib/stripe/params/v2/billing/contract_create_params.rb', line 592

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

Instance Attribute Details

#keyObject

The metadata key.



588
589
590
# File 'lib/stripe/params/v2/billing/contract_create_params.rb', line 588

def key
  @key
end

#valueObject

The metadata value.



590
591
592
# File 'lib/stripe/params/v2/billing/contract_create_params.rb', line 590

def value
  @value
end