Sha256: 2bd605af493cce6827f1ff7dfdc65edffc5f01125ca2f3cc4a71d09966b4c80e

Contents?: true

Size: 989 Bytes

Versions: 4

Compression:

Stored size: 989 Bytes

Contents

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

        # @return [BigDecimal,OpenActive::Models::Schema::QuantitativeValue,nil]
        define_property :interest_rate, as: "interestRate", types: [
          "Number",
          "OpenActive::Models::Schema::QuantitativeValue",
          "null",
        ]

        # @return [URI,String]
        define_property :fees_and_commissions_specification, as: "feesAndCommissionsSpecification", types: [
          "URI",
          "string",
        ]

        # @return [BigDecimal,OpenActive::Models::Schema::QuantitativeValue,nil]
        define_property :annual_percentage_rate, as: "annualPercentageRate", types: [
          "Number",
          "OpenActive::Models::Schema::QuantitativeValue",
          "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/financial_product.rb
openactive-0.1.1 lib/openactive/models/schema/financial_product.rb
openactive-0.1.0 lib/openactive/models/schema/financial_product.rb
openactive-0.1.0.rc1 lib/openactive/models/schema/financial_product.rb