Sha256: 133b6c064c5cdb22888353f0509ef9560be7f37bb49b2190e300cfba61a1964f

Contents?: true

Size: 1.02 KB

Versions: 4

Compression:

Stored size: 1.02 KB

Contents

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

        # @return [String]
        define_property :price_type, as: "priceType", types: [
          "string",
        ]

        # @return [String]
        define_property :unit_text, as: "unitText", types: [
          "string",
        ]

        # @return [OpenActive::Models::Schema::QuantitativeValue]
        define_property :reference_quantity, as: "referenceQuantity", types: [
          "OpenActive::Models::Schema::QuantitativeValue",
        ]

        # @return [BigDecimal,nil]
        define_property :billing_increment, as: "billingIncrement", types: [
          "Number",
          "null",
        ]

        # @return [String,URI]
        define_property :unit_code, as: "unitCode", types: [
          "string",
          "URI",
        ]
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
openactive-0.1.2 lib/openactive/models/schema/unit_price_specification.rb
openactive-0.1.1 lib/openactive/models/schema/unit_price_specification.rb
openactive-0.1.0 lib/openactive/models/schema/unit_price_specification.rb
openactive-0.1.0.rc1 lib/openactive/models/schema/unit_price_specification.rb