Sha256: 2984dc4f8a65cf56eda00143c8b4e9548cea55a571fc83aff06ac74b62f8bb4d

Contents?: true

Size: 858 Bytes

Versions: 6

Compression:

Stored size: 858 Bytes

Contents

module OpenActive
  module Models
    #
    # Error Use Case: `OrderItem` errors would have been generated at C2 given the same set of `OrderItem`s. The Broker is expected to retry C2 to retrieve such errors.  This error MUST only be used as a response from P or B.
    #
    # 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 UnableToProcessOrderItemError < ::OpenActive::Models::OpenBookingError
      # @!attribute type
      # @return [String]
      def type
        "UnableToProcessOrderItemError"
      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/unable_to_process_order_item_error.rb
openactive-0.4.0 lib/openactive/models/unable_to_process_order_item_error.rb
openactive-0.3.0 lib/openactive/models/unable_to_process_order_item_error.rb
openactive-0.2.2 lib/openactive/models/unable_to_process_order_item_error.rb
openactive-0.2.1 lib/openactive/models/unable_to_process_order_item_error.rb
openactive-0.2.0 lib/openactive/models/unable_to_process_order_item_error.rb