Sha256: de88851d62d5b18d157aa20d66edefdcdb0991d459352ac4ed78853e61e7f41b

Contents?: true

Size: 859 Bytes

Versions: 6

Compression:

Stored size: 859 Bytes

Contents

module OpenActive
  module Models
    # This type is derived from https://schema.org/PriceSpecification, which means that any of this type's properties within schema.org may also be used.
    class PriceSpecification < ::OpenActive::Models::Schema::PriceSpecification
      # @!attribute type
      # @return [String]
      def type
        "PriceSpecification"
      end

      # @return [OpenActive::Enums::RequiredStatusType,nil]
      define_property :open_booking_prepayment, as: "openBookingPrepayment", types: [
        "OpenActive::Enums::RequiredStatusType",
        "null",
      ]

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

      # @return [String]
      define_property :price_currency, as: "priceCurrency", types: [
        "string",
      ]
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
openactive-0.5.0 lib/openactive/models/price_specification.rb
openactive-0.4.0 lib/openactive/models/price_specification.rb
openactive-0.3.0 lib/openactive/models/price_specification.rb
openactive-0.2.2 lib/openactive/models/price_specification.rb
openactive-0.2.1 lib/openactive/models/price_specification.rb
openactive-0.2.0 lib/openactive/models/price_specification.rb