Sha256: 0107e36ce2ce7f8728e050dcd6cf1fcba818bb0d50953522a3011dcf0f77fdbc
Contents?: true
Size: 1.16 KB
Versions: 6
Compression:
Stored size: 1.16 KB
Contents
module OpenActive module Models # # Error Use Case: There are not enough available spaces in the Opportunity contained in the `orderedItem` property of the `OrderItem` to fulfil the number of repeated `OrderItem`s. If the `OrderItem` is repeated (for multiple attendees) this error MUST only be included in the API response against the `OrderItem`s which are in excess of the capacity - for example in an Opportunity with a `remainingAttendeeCapacity` of 2 and with 5 `OrderItem`s related to it, this error would only be emitted against 3 of the `OrderItem`s. # # 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 OpportunityHasInsufficientCapacityError < ::OpenActive::Models::OpenBookingError # @!attribute type # @return [String] def type "OpportunityHasInsufficientCapacityError" 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