Class: SchemaOrg::MerchantReturnEnumeration
Overview
Constant Summary
collapse
- SCHEMA_NAME =
"MerchantReturnEnumeration"
- SCHEMA_TYPES =
[self, SchemaOrg::Enumeration, SchemaOrg::Intangible, SchemaOrg::Thing].freeze
- MERCHANT_RETURN_FINITE_RETURN_WINDOW =
EnumerationValue.new("MerchantReturnFiniteReturnWindow", [SchemaOrg::MerchantReturnEnumeration])
- MERCHANT_RETURN_NOT_PERMITTED =
EnumerationValue.new("MerchantReturnNotPermitted", [SchemaOrg::MerchantReturnEnumeration])
- MERCHANT_RETURN_UNLIMITED_WINDOW =
EnumerationValue.new("MerchantReturnUnlimitedWindow", [SchemaOrg::MerchantReturnEnumeration])
- MERCHANT_RETURN_UNSPECIFIED =
EnumerationValue.new("MerchantReturnUnspecified", [SchemaOrg::MerchantReturnEnumeration])
- VALUES =
[MERCHANT_RETURN_FINITE_RETURN_WINDOW, MERCHANT_RETURN_NOT_PERMITTED, MERCHANT_RETURN_UNLIMITED_WINDOW, MERCHANT_RETURN_UNSPECIFIED].freeze
Class Method Summary
collapse
Instance Method Summary
collapse
schema_property_definitions
schema_property_definitions, #superseded_by, #superseded_by=
schema_property_definitions
#additional_type, #additional_type=, #alternate_name, #alternate_name=, #description, #description=, #disambiguating_description, #disambiguating_description=, #identifier, #identifier=, #image, #image=, #main_entity_of_page, #main_entity_of_page=, #name, #name=, #owner, #owner=, #potential_action, #potential_action=, #same_as, #same_as=, schema_property_definitions, #subject_of, #subject_of=, #url, #url=
#additional_type, #additional_type=, #alternate_name, #alternate_name=, #description, #description=, #disambiguating_description, #disambiguating_description=, #identifier, #identifier=, #image, #image=, #main_entity_of_page, #main_entity_of_page=, #name, #name=, #owner, #owner=, #potential_action, #potential_action=, #same_as, #same_as=, #subject_of, #subject_of=, #superseded_by, #superseded_by=, #url, #url=
Class Method Details
32
33
34
|
# File 'lib/schema_org/types/merchant_return_enumeration.rb', line 32
def new(**properties)
super
end
|
.schema_name ⇒ String
19
20
21
|
# File 'lib/schema_org/types/merchant_return_enumeration.rb', line 19
def schema_name
SCHEMA_NAME
end
|
.schema_type?(other_type) ⇒ Boolean
27
28
29
30
|
# File 'lib/schema_org/types/merchant_return_enumeration.rb', line 27
def schema_type?(other_type)
Base.schema_type_argument!(other_type)
SCHEMA_TYPES.include?(other_type)
end
|
.schema_types ⇒ ::Array[::Class]
23
24
25
|
# File 'lib/schema_org/types/merchant_return_enumeration.rb', line 23
def schema_types
SCHEMA_TYPES
end
|
42
43
44
|
# File 'lib/schema_org/types/merchant_return_enumeration.rb', line 42
def self.values
VALUES
end
|
Instance Method Details
#schema_type? ⇒ Boolean
76221
|
# File 'sig/schema_org.rbs', line 76221
def schema_type?: (untyped) -> bool
|
#schema_types ⇒ ::Array[::Class]
76220
|
# File 'sig/schema_org.rbs', line 76220
def schema_types: () -> ::Array[::Class]
|