Class: OpenActive::Models::OrderQuote
- Inherits:
-
Order
- Object
- BaseModel
- JsonLdModel
- Schema::Thing
- Schema::Intangible
- Schema::Order
- Order
- OpenActive::Models::OrderQuote
- Defined in:
- lib/openactive/models/order_quote.rb
Overview
This type is derived from [Order](schema.org/Order), 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.
Direct Known Subclasses
Instance Attribute Summary collapse
- #lease ⇒ OpenActive::Models::Lease
- #order_proposal_version ⇒ URI
- #order_requires_approval ⇒ Boolean?
- #payment ⇒ OpenActive::Models::Payment
- #type ⇒ String
Attributes inherited from Order
#booking_service, #broker, #broker_role, #customer, #identifier, #order_creation_status, #order_number, #ordered_item, #seller, #tax_calculation_excluded, #total_payment_due, #total_payment_tax
Attributes inherited from Schema::Order
#accepted_offer, #billing_address, #broker, #confirmation_number, #customer, #discount, #discount_code, #discount_currency, #is_gift, #merchant, #order_date, #order_delivery, #order_number, #order_status, #ordered_item, #part_of_invoice, #payment_due, #payment_due_date, #payment_method, #payment_method_id, #payment_url, #seller
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
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
Methods included from Concerns::JsonLdSerializable
Constructor Details
This class inherits a constructor from OpenActive::BaseModel
Instance Attribute Details
#lease ⇒ OpenActive::Models::Lease
12 13 14 |
# File 'lib/openactive/models/order_quote.rb', line 12 def lease @lease end |
#order_proposal_version ⇒ URI
17 18 19 |
# File 'lib/openactive/models/order_quote.rb', line 17 def order_proposal_version @order_proposal_version end |
#order_requires_approval ⇒ Boolean?
22 23 24 |
# File 'lib/openactive/models/order_quote.rb', line 22 def order_requires_approval @order_requires_approval end |
#payment ⇒ OpenActive::Models::Payment
28 29 30 |
# File 'lib/openactive/models/order_quote.rb', line 28 def payment @payment end |
#type ⇒ String
7 8 9 |
# File 'lib/openactive/models/order_quote.rb', line 7 def type "OrderQuote" end |