Sha256: 57a8ef9a032a971921b88802dde1df659d273deccaeda11a59ea342564922f50

Contents?: true

Size: 1.09 KB

Versions: 2

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 [Time,nil]
        define_property :cutoff_time, as: "cutoffTime", types: [
          "Time",
          "null",
        ]

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

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

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

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
openactive-0.5.0 lib/openactive/models/schema/shipping_delivery_time.rb
openactive-0.4.0 lib/openactive/models/schema/shipping_delivery_time.rb