Sha256: 359f12592c2fc320eb6adfb31d84aed067edeb67f157d4b8ca699bf84fe26c11

Contents?: true

Size: 1.09 KB

Versions: 3

Compression:

Stored size: 1.09 KB

Contents

module OpenActive
  module Models
    module Schema
      class ShippingDeliveryTime < ::OpenActive::Models::Schema::StructuredValue
        # @!attribute type
        # @return [String]
        def type
          "schema:ShippingDeliveryTime"
        end

        # @return [OpenActive::Models::Schema::QuantitativeValue,URI]
        define_property :handling_time, as: "handlingTime", types: [
          "OpenActive::Models::Schema::QuantitativeValue",
          "URI",
        ]

        # @return [OpenActive::Models::Schema::OpeningHoursSpecification,URI]
        define_property :business_days, as: "businessDays", types: [
          "OpenActive::Models::Schema::OpeningHoursSpecification",
          "URI",
        ]

        # @return [Time,nil]
        define_property :cutoff_time, as: "cutoffTime", types: [
          "Time",
          "null",
        ]

        # @return [OpenActive::Models::Schema::QuantitativeValue,URI]
        define_property :transit_time, as: "transitTime", types: [
          "OpenActive::Models::Schema::QuantitativeValue",
          "URI",
        ]
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
openactive-0.2.2 lib/openactive/models/schema/shipping_delivery_time.rb
openactive-0.2.1 lib/openactive/models/schema/shipping_delivery_time.rb
openactive-0.2.0 lib/openactive/models/schema/shipping_delivery_time.rb