Sha256: 5250dfc72b13ccd314cacfc280afe797619ea6fa264e757b4a7a14e19ed2c928

Contents?: true

Size: 791 Bytes

Versions: 3

Compression:

Stored size: 791 Bytes

Contents

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

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

        # @return [OpenActive::Models::Schema::PriceSpecification,URI]
        define_property :price_specification, as: "priceSpecification", types: [
          "OpenActive::Models::Schema::PriceSpecification",
          "URI",
        ]

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

Version data entries

3 entries across 3 versions & 1 rubygems

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