Class: OpenActive::Models::Schema::OfferForLease

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

Instance Attribute Summary collapse

Attributes inherited from 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 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)


7
8
9
# File 'lib/openactive/models/schema/offer_for_lease.rb', line 7

def type
  "schema:OfferForLease"
end