Sha256: 11e0b44c2c57a388787e14521cc77d82c5e3493b8ee9a5e1cf41c5ca891616b2

Contents?: true

Size: 900 Bytes

Versions: 6

Compression:

Stored size: 900 Bytes

Contents

module OpenActive
  module Models
    #
    # Error Use Case: Cancellation is not permitted due to internal rules of the Booking System not otherwise exposed to the Broker.  The `description` property of the object MUST include a Customer-facing description of the reason that cancellation is not permitted.
    #
    # This type is derived from https://schema.org/Thing, which means that any of this type's properties within schema.org may also be used.
    class CancellationNotPermittedError < ::OpenActive::Models::OpenBookingError
      # @!attribute type
      # @return [String]
      def type
        "CancellationNotPermittedError"
      end

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

      # @return [int,nil]
      define_property :status_code, as: "statusCode", types: [
        "int",
        "null",
      ]
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
openactive-0.5.0 lib/openactive/models/cancellation_not_permitted_error.rb
openactive-0.4.0 lib/openactive/models/cancellation_not_permitted_error.rb
openactive-0.3.0 lib/openactive/models/cancellation_not_permitted_error.rb
openactive-0.2.2 lib/openactive/models/cancellation_not_permitted_error.rb
openactive-0.2.1 lib/openactive/models/cancellation_not_permitted_error.rb
openactive-0.2.0 lib/openactive/models/cancellation_not_permitted_error.rb