Class: OpenActive::Models::OrderProposal

Inherits:
OrderQuote show all
Defined in:
lib/openactive/models/order_proposal.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.

Instance Attribute Summary collapse

Attributes inherited from OrderQuote

#lease, #order_proposal_version, #order_requires_approval, #payment

Attributes inherited from Order

#booking_service, #broker, #broker_role, #customer, #identifier, #order_creation_status, #order_number, #order_proposal_version, #ordered_item, #payment, #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

#order_customer_noteString

Returns:

  • (String)


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

def order_customer_note
  @order_customer_note
end

#order_proposal_statusOpenActive::Enums::OrderProposalStatus?



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

def order_proposal_status
  @order_proposal_status
end

#order_seller_noteString

Returns:

  • (String)


23
24
25
# File 'lib/openactive/models/order_proposal.rb', line 23

def order_seller_note
  @order_seller_note
end

#typeString

Returns:

  • (String)


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

def type
  "OrderProposal"
end