Sha256: a4e0946a4ac6a832840fe31af42fbe9ed55cc71e410e5637cfbc2114207bc946
Contents?: true
Size: 1.69 KB
Versions: 3
Compression:
Stored size: 1.69 KB
Contents
module OpenActive module Models # This type is derived from https://schema.org/Offer, which means that any of this type's properties within schema.org may also be used. class OfferOverride < ::OpenActive::Models::Offer # @!attribute type # @return [String] def type "OfferOverride" end # @return [OpenActive::Models::QuantitativeValue] define_property :age_range, as: "ageRange", types: [ "OpenActive::Models::QuantitativeValue", ] # @return [OpenActive::Models::QuantitativeValue] define_property :age_restriction, as: "ageRestriction", types: [ "OpenActive::Models::QuantitativeValue", ] # @return [Boolean,nil] define_property :allow_customer_cancellation_full_refund, as: "allowCustomerCancellationFullRefund", types: [ "bool", "null", ] # @return [ActiveSupport::Duration,nil] define_property :latest_cancellation_before_start_date, as: "latestCancellationBeforeStartDate", types: [ "DateInterval", "null", ] # @return [OpenActive::Enums::RequiredStatusType,nil] define_property :open_booking_in_advance, as: "openBookingInAdvance", types: [ "OpenActive::Enums::RequiredStatusType", "null", ] # @return [OpenActive::Enums::RequiredStatusType,nil] define_property :open_booking_prepayment, as: "openBookingPrepayment", types: [ "OpenActive::Enums::RequiredStatusType", "null", ] # @return [ActiveSupport::Duration,nil] define_property :valid_from_before_start_date, as: "validFromBeforeStartDate", types: [ "DateInterval", "null", ] end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
openactive-0.2.2 | lib/openactive/models/offer_override.rb |
openactive-0.2.1 | lib/openactive/models/offer_override.rb |
openactive-0.2.0 | lib/openactive/models/offer_override.rb |