Sha256: c9391ef4f52daabe0f44eb2e92b441fbc49fe7f79fd962a1a2cfa5cf58dca738

Contents?: true

Size: 949 Bytes

Versions: 1

Compression:

Stored size: 949 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,URI]
        define_property :current_exchange_rate, as: "currentExchangeRate", types: [
          "OpenActive::Models::Schema::UnitPriceSpecification",
          "URI",
        ]

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

        # @return [String]
        define_property :currency, as: "currency", types: [
          "string",
        ]
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
openactive-0.3.0 lib/openactive/models/schema/exchange_rate_specification.rb