Sha256: e2e835381a5688dcaffb1dd6bc79deb4009d672c62b19212089192a4b7be06d7

Contents?: true

Size: 1.34 KB

Versions: 3

Compression:

Stored size: 1.34 KB

Contents

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

        # @return [String]
        define_property :cost_currency, as: "costCurrency", types: [
          "string",
        ]

        # @return [OpenActive::Models::Schema::AdministrativeArea,URI]
        define_property :applicable_location, as: "applicableLocation", types: [
          "OpenActive::Models::Schema::AdministrativeArea",
          "URI",
        ]

        # @return [String]
        define_property :cost_origin, as: "costOrigin", types: [
          "string",
        ]

        # @return [OpenActive::Models::Schema::DrugCostCategory,URI]
        define_property :cost_category, as: "costCategory", types: [
          "OpenActive::Models::Schema::DrugCostCategory",
          "URI",
        ]

        # @return [String,OpenActive::Enums::Schema::QualitativeValue,BigDecimal,nil]
        define_property :cost_per_unit, as: "costPerUnit", types: [
          "string",
          "OpenActive::Enums::Schema::QualitativeValue",
          "Number",
          "null",
        ]

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

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
openactive-0.2.2 lib/openactive/models/schema/drug_cost.rb
openactive-0.2.1 lib/openactive/models/schema/drug_cost.rb
openactive-0.2.0 lib/openactive/models/schema/drug_cost.rb