Sha256: ddde03602ce8d8c35e75ae7ad2f16582a27dede35775288bfb7d78a0a7bc354c

Contents?: true

Size: 543 Bytes

Versions: 2

Compression:

Stored size: 543 Bytes

Contents

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

        # @return [OpenActive::Models::Schema::MonetaryAmount,BigDecimal,URI,nil]
        define_property :amount, as: "amount", types: [
          "OpenActive::Models::Schema::MonetaryAmount",
          "Number",
          "URI",
          "null",
        ]
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

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