Module: Dodopayments::Models::DiscountUpdateParams::CustomerEligibility
- Extended by:
- Internal::Type::Enum
- Defined in:
- lib/dodopayments/models/discount_update_params.rb,
sig/dodopayments/models/discount_update_params.rbs
Overview
If present, update who may redeem this discount. Plain field (not
double-option): the DB column is NOT NULL, so it can never be cleared back to
unset, only changed to another CustomerEligibility value.
Constant Summary collapse
- ANY =
:any- FIRST_TIME =
:first_time- EXISTING =
:existing- SPECIFIC =
:specific
Class Method Summary collapse
Instance Method Summary collapse
Methods included from Internal::Type::Enum
==, ===, coerce, dump, hash, inspect, to_sorbet_type, values
Methods included from Internal::Util::SorbetRuntimeSupport
#const_missing, #define_sorbet_constant!, #sorbet_constant_defined?, #to_sorbet_type, to_sorbet_type
Methods included from Internal::Type::Converter
#coerce, coerce, #dump, dump, #inspect, inspect, meta_info, new_coerce_state, type_info
Class Method Details
.values ⇒ Array<Symbol>
|
|
# File 'lib/dodopayments/models/discount_update_params.rb', line 210
|
Instance Method Details
#self?.values ⇒ ::Array[Dodopayments::Models::DiscountUpdateParams::customer_eligibility]
141 |
# File 'sig/dodopayments/models/discount_update_params.rbs', line 141
def self?.values: -> ::Array[Dodopayments::Models::DiscountUpdateParams::customer_eligibility]
|