Sha256: 3b5917b6e47381f117900fb0919823a51692d2efebaabc3bd561eebbc0ed23a8

Contents?: true

Size: 789 Bytes

Versions: 4

Compression:

Stored size: 789 Bytes

Contents

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

        # @return [OpenActive::Models::Schema::UnitPriceSpecification]
        define_property :current_exchange_rate, as: "currentExchangeRate", types: [
          "OpenActive::Models::Schema::UnitPriceSpecification",
        ]

        # @return [BigDecimal,OpenActive::Models::Schema::MonetaryAmount,nil]
        define_property :exchange_rate_spread, as: "exchangeRateSpread", 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/exchange_rate_specification.rb
openactive-0.1.1 lib/openactive/models/schema/exchange_rate_specification.rb
openactive-0.1.0 lib/openactive/models/schema/exchange_rate_specification.rb
openactive-0.1.0.rc1 lib/openactive/models/schema/exchange_rate_specification.rb