Class: OpenActive::Models::IndicativeOffer

Inherits:
Offer show all
Defined in:
lib/openactive/models/indicative_offer.rb

Overview

[NOTICE: This is a beta class, and is highly likely to change in future versions of this library.]. This type is derived from [Offer](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.

Instance Attribute Summary collapse

Attributes inherited from Offer

#accepted_payment_method, #advance_booking, #age_range, #available_channel, #description, #identifier, #latest_cancellation_before_start_date, #name, #open_booking_flow_requirement, #prepayment, #price, #price_currency, #url, #valid_from_before_start_date

Attributes inherited from Schema::Offer

#accepted_payment_method, #add_on, #advance_booking_requirement, #aggregate_rating, #area_served, #availability, #availability_ends, #availability_starts, #available_at_or_from, #available_delivery_method, #business_function, #category, #delivery_lead_time, #eligible_customer_type, #eligible_duration, #eligible_quantity, #eligible_region, #eligible_transaction_volume, #gtin, #gtin12, #gtin13, #gtin14, #gtin8, #includes_object, #ineligible_region, #inventory_level, #item_condition, #item_offered, #mpn, #offered_by, #price, #price_currency, #price_specification, #price_valid_until, #review, #reviews, #seller, #serial_number, #sku, #valid_from, #valid_through, #warranty

Attributes inherited from Schema::Thing

#additional_type, #alternate_name, #description, #disambiguating_description, #identifier, #image, #main_entity_of_page, #name, #potential_action, #same_as, #subject_of, #url

Attributes inherited from JsonLdModel

#context, #id

Method Summary

Methods inherited from BaseModel

#assign_attributes, define_property, deserialize, #deserialize, deserialize_class, #initialize, #serialize, serialize, #set_property, #to_json

Methods included from Concerns::TypeChecker

#check_types, included

Methods included from Concerns::JsonLdSerializable

included, #to_h, #values

Constructor Details

This class inherits a constructor from OpenActive::BaseModel

Instance Attribute Details

#typeString

Returns:

  • (String)


8
9
10
# File 'lib/openactive/models/indicative_offer.rb', line 8

def type
  "beta:IndicativeOffer"
end