Sha256: ac0f5de4c38ff2de95d8578ef4068354e2142b540a3aca56127ca66e4cf07337

Contents?: true

Size: 1.28 KB

Versions: 4

Compression:

Stored size: 1.28 KB

Contents

module OpenActive
  module Models
    # This type is derived from [PriceSpecification](https://schema.org/PriceSpecification), which means that any of this type's properties within schema.org may also be used. Note however the properties on this page must be used in preference if a relevant property is available.
    class TaxChargeSpecification < ::OpenActive::Models::PriceSpecification
      # @!attribute type
      # @return [String]
      def type
        "TaxChargeSpecification"
      end

      # @return [int,String,OpenActive::Models::PropertyValue,Array<OpenActive::Models::PropertyValue>,nil]
      define_property :identifier, as: "identifier", types: [
        "int",
        "string",
        "OpenActive::Models::PropertyValue",
        "OpenActive::Models::PropertyValue[]",
        "null",
      ]

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

      # @return [BigDecimal,nil]
      define_property :price, as: "price", types: [
        "Number",
        "null",
      ]

      # @return [String]
      define_property :price_currency, as: "priceCurrency", types: [
        "string",
      ]

      # @return [BigDecimal,nil]
      define_property :rate, as: "rate", types: [
        "Number",
        "null",
      ]
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

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