Sha256: 7b3565cb43a14ffca37a0f834bacacb815b051373e9823453bd66e0303a507a9

Contents?: true

Size: 1.01 KB

Versions: 4

Compression:

Stored size: 1.01 KB

Contents

module OpenActive
  module Models
    # This type is derived from [Order](https://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.
    class OrderQuote < ::OpenActive::Models::Order
      # @!attribute type
      # @return [String]
      def type
        "OrderQuote"
      end

      # @return [OpenActive::Models::Lease]
      define_property :lease, as: "lease", types: [
        "OpenActive::Models::Lease",
      ]

      # @return [URI]
      define_property :order_proposal_version, as: "orderProposalVersion", types: [
        "URI",
      ]

      # @return [Boolean,nil]
      define_property :order_requires_approval, as: "orderRequiresApproval", types: [
        "bool",
        "null",
      ]

      # @return [OpenActive::Models::Payment]
      define_property :payment, as: "payment", types: [
        "OpenActive::Models::Payment",
      ]
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
openactive-0.1.2 lib/openactive/models/order_quote.rb
openactive-0.1.1 lib/openactive/models/order_quote.rb
openactive-0.1.0 lib/openactive/models/order_quote.rb
openactive-0.1.0.rc1 lib/openactive/models/order_quote.rb