Sha256: 356abc197cb9e0173dcd8c8c17f89e545e6f5f7a03e25e03a25fd86c7857f23b

Contents?: true

Size: 1.5 KB

Versions: 3

Compression:

Stored size: 1.5 KB

Contents

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

        # @return [Boolean,nil]
        define_property :is_unlabelled_fallback, as: "isUnlabelledFallback", types: [
          "bool",
          "null",
        ]

        # @return [OpenActive::Models::Schema::MonetaryAmount,URI]
        define_property :shipping_rate, as: "shippingRate", types: [
          "OpenActive::Models::Schema::MonetaryAmount",
          "URI",
        ]

        # @return [OpenActive::Models::Schema::DefinedRegion,URI]
        define_property :shipping_destination, as: "shippingDestination", types: [
          "OpenActive::Models::Schema::DefinedRegion",
          "URI",
        ]

        # @return [Boolean,nil]
        define_property :does_not_ship, as: "doesNotShip", types: [
          "bool",
          "null",
        ]

        # @return [String]
        define_property :shipping_label, as: "shippingLabel", types: [
          "string",
        ]

        # @return [OpenActive::Models::Schema::DeliveryChargeSpecification,OpenActive::Models::Schema::MonetaryAmount,URI]
        define_property :free_shipping_threshold, as: "freeShippingThreshold", types: [
          "OpenActive::Models::Schema::DeliveryChargeSpecification",
          "OpenActive::Models::Schema::MonetaryAmount",
          "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_rate_settings.rb
openactive-0.2.1 lib/openactive/models/schema/shipping_rate_settings.rb
openactive-0.2.0 lib/openactive/models/schema/shipping_rate_settings.rb