Module: Dodopayments::Models::CustomField::FieldType

Extended by:
Internal::Type::Enum
Defined in:
lib/dodopayments/models/custom_field.rb,
sig/dodopayments/models/custom_field.rbs

Overview

Type of field determining validation rules

See Also:

  • Dodopayments::Models::CustomField#field_type

Constant Summary collapse

TEXT =

Returns:

  • (:text)
:text
NUMBER =

Returns:

  • (:number)
:number
EMAIL =

Returns:

  • (:email)
:email
URL =

Returns:

  • (:url)
:url
DATE =

Returns:

  • (:date)
:date
:dropdown
BOOLEAN =

Returns:

  • (:boolean)
:boolean

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

.valuesArray<Symbol>

Returns:

  • (Array<Symbol>)


# File 'lib/dodopayments/models/custom_field.rb', line 71

Instance Method Details

#self?.values::Array[Dodopayments::Models::CustomField::field_type]

Returns:

  • (::Array[Dodopayments::Models::CustomField::field_type])


60
# File 'sig/dodopayments/models/custom_field.rbs', line 60

def self?.values: -> ::Array[Dodopayments::Models::CustomField::field_type]