module OpenActive module Models # This type is derived from [Offer](https://schema.org/Offer), 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 Offer < ::OpenActive::Models::Schema::Offer # @!attribute type # @return [String] def type "Offer" end # @return [int,String,OpenActive::Models::PropertyValue,Array,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 [String] define_property :description, as: "description", types: [ "string", ] # @return [Array,nil] define_property :accepted_payment_method, as: "acceptedPaymentMethod", types: [ "OpenActive::Enums::PaymentMethod[]", "null", ] # @return [OpenActive::Enums::RequiredStatusType,nil] define_property :advance_booking, as: "advanceBooking", types: [ "OpenActive::Enums::RequiredStatusType", "null", ] # @return [OpenActive::Models::QuantitativeValue] define_property :age_range, as: "ageRange", types: [ "OpenActive::Models::QuantitativeValue", ] # @return [ActiveSupport::Duration,nil] define_property :latest_cancellation_before_start_date, as: "latestCancellationBeforeStartDate", types: [ "DateInterval", "null", ] # @return [Array,nil] define_property :open_booking_flow_requirement, as: "openBookingFlowRequirement", types: [ "OpenActive::Enums::OpenBookingFlowRequirement[]", "null", ] # @return [OpenActive::Enums::RequiredStatusType,nil] define_property :prepayment, as: "prepayment", types: [ "OpenActive::Enums::RequiredStatusType", "null", ] # @return [BigDecimal,nil] define_property :price, as: "price", types: [ "Number", "null", ] # @return [String] define_property :price_currency, as: "priceCurrency", types: [ "string", ] # @return [URI] define_property :url, as: "url", types: [ "URI", ] # @return [ActiveSupport::Duration,nil] define_property :valid_from_before_start_date, as: "validFromBeforeStartDate", types: [ "DateInterval", "null", ] # @return [Array,nil] define_property :available_channel, as: "beta:availableChannel", types: [ "OpenActive::Enums::AvailableChannelType[]", "null", ] end end end