Class: SchemaOrg::DeliveryTimeSettings

Inherits:
Base
  • Object
show all
Includes:
Mixins::DeliveryTimeSettings, _DeliveryTimeSettings
Defined in:
lib/schema_org/types/delivery_time_settings.rb,
sig/schema_org.rbs

Overview

https://schema.org/DeliveryTimeSettings

NOTE: Superseded by ShippingConditions.

A DeliveryTimeSettings represents re-usable pieces of shipping information, relating to timing. It is designed for publication on an URL that may be referenced via the [[shippingSettingsLink]] property of an [[OfferShippingDetails]]. Several occurrences can be published, distinguished (and identified/referenced) by their different values for [[transitTimeLabel]].

Constant Summary collapse

SCHEMA_NAME =
"DeliveryTimeSettings"
SCHEMA_TYPES =
[self, SchemaOrg::StructuredValue, SchemaOrg::Intangible, SchemaOrg::Thing].freeze

Class Method Summary collapse

Instance Method Summary collapse

Methods included from Mixins::DeliveryTimeSettings

#delivery_time, #delivery_time=, #is_unlabelled_fallback, #is_unlabelled_fallback=, schema_property_definitions, #shipping_destination, #shipping_destination=, #transit_time_label, #transit_time_label=

Methods included from Mixins::StructuredValue

schema_property_definitions

Methods included from Mixins::Intangible

schema_property_definitions

Methods included from Mixins::Thing

#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=

Methods included from _DeliveryTimeSettings

#additional_type, #additional_type=, #alternate_name, #alternate_name=, #delivery_time, #delivery_time=, #description, #description=, #disambiguating_description, #disambiguating_description=, #identifier, #identifier=, #image, #image=, #is_unlabelled_fallback, #is_unlabelled_fallback=, #main_entity_of_page, #main_entity_of_page=, #name, #name=, #owner, #owner=, #potential_action, #potential_action=, #same_as, #same_as=, #shipping_destination, #shipping_destination=, #subject_of, #subject_of=, #transit_time_label, #transit_time_label=, #url, #url=

Class Method Details

.new(**properties) ⇒ DeliveryTimeSettings

Parameters:

Returns:



32
33
34
# File 'lib/schema_org/types/delivery_time_settings.rb', line 32

def new(**properties)
  super
end

.schema_nameString

Returns:

  • (String)


19
20
21
# File 'lib/schema_org/types/delivery_time_settings.rb', line 19

def schema_name
  SCHEMA_NAME
end

.schema_type?(other_type) ⇒ Boolean

Parameters:

  • (Object)

Returns:



27
28
29
30
# File 'lib/schema_org/types/delivery_time_settings.rb', line 27

def schema_type?(other_type)
  Base.schema_type_argument!(other_type)
  SCHEMA_TYPES.include?(other_type)
end

.schema_types::Array[::Class]

Returns:

  • (::Array[::Class])


23
24
25
# File 'lib/schema_org/types/delivery_time_settings.rb', line 23

def schema_types
  SCHEMA_TYPES
end

Instance Method Details

#schema_type?Boolean

Parameters:

  • (Object)

Returns:



36299
# File 'sig/schema_org.rbs', line 36299

def schema_type?: (untyped) -> bool

#schema_types::Array[::Class]

Returns:

  • (::Array[::Class])


36298
# File 'sig/schema_org.rbs', line 36298

def schema_types: () -> ::Array[::Class]