Sha256: 2d2ae3dd9e18f67f2b54d3f7ea9b190d1f9a91ebf9292ff1723584af65cd58dd

Contents?: true

Size: 522 Bytes

Versions: 4

Compression:

Stored size: 522 Bytes

Contents

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

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

Version data entries

4 entries across 4 versions & 1 rubygems

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