Sha256: 0cc61b583c11008a669955191895ca31b16134d6d2596678bf8502a1508cdf61

Contents?: true

Size: 1.09 KB

Versions: 1

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 :transit_time, as: "transitTime", 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 [OpenActive::Models::Schema::QuantitativeValue,URI]
        define_property :handling_time, as: "handlingTime", types: [
          "OpenActive::Models::Schema::QuantitativeValue",
          "URI",
        ]

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

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
openactive-0.3.0 lib/openactive/models/schema/shipping_delivery_time.rb