Sha256: 17f7c58ca1bf34e9a2c2a6b064e73ef8521572d93a3bb577d9376b7fc4b9f1f5

Contents?: true

Size: 635 Bytes

Versions: 4

Compression:

Stored size: 635 Bytes

Contents

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

        # @return [OpenActive::Models::Schema::WarrantyPromise]
        define_property :warranty_promise, as: "warrantyPromise", types: [
          "OpenActive::Models::Schema::WarrantyPromise",
        ]

        # @return [OpenActive::Models::Schema::Person]
        define_property :buyer, as: "buyer", types: [
          "OpenActive::Models::Schema::Person",
        ]
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

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