Class: OpenActive::Models::OrderQuote

Inherits:
Order show all
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

OrderProposal

Instance Attribute Summary collapse

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

#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

#leaseOpenActive::Models::Lease



12
13
14
# File 'lib/openactive/models/order_quote.rb', line 12

def lease
  @lease
end

#order_proposal_versionURI

Returns:

  • (URI)


17
18
19
# File 'lib/openactive/models/order_quote.rb', line 17

def order_proposal_version
  @order_proposal_version
end

#order_requires_approvalBoolean?

Returns:

  • (Boolean, nil)


22
23
24
# File 'lib/openactive/models/order_quote.rb', line 22

def order_requires_approval
  @order_requires_approval
end

#paymentOpenActive::Models::Payment



28
29
30
# File 'lib/openactive/models/order_quote.rb', line 28

def payment
  @payment
end

#typeString

Returns:

  • (String)


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

def type
  "OrderQuote"
end