Sha256: 4b35d13f5b31fc7ee49e13275ca735cf586b4aa09f611b47c2ecadf38ef18e32

Contents?: true

Size: 982 Bytes

Versions: 6

Compression:

Stored size: 982 Bytes

Contents

module OpenActive
  module Models
    # This type is derived from https://schema.org/Order, which means that any of this type's properties within schema.org may also be used.
    class OrderProposal < ::OpenActive::Models::OrderQuote
      # @!attribute type
      # @return [String]
      def type
        "OrderProposal"
      end

      # @return [String]
      define_property :order_customer_note, as: "orderCustomerNote", types: [
        "string",
      ]

      # @return [OpenActive::Enums::OrderProposalStatus,nil]
      define_property :order_proposal_status, as: "orderProposalStatus", types: [
        "OpenActive::Enums::OrderProposalStatus",
        "null",
      ]

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

      # @return [String]
      define_property :order_seller_note, as: "orderSellerNote", types: [
        "string",
      ]
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
openactive-0.5.0 lib/openactive/models/order_proposal.rb
openactive-0.4.0 lib/openactive/models/order_proposal.rb
openactive-0.3.0 lib/openactive/models/order_proposal.rb
openactive-0.2.2 lib/openactive/models/order_proposal.rb
openactive-0.2.1 lib/openactive/models/order_proposal.rb
openactive-0.2.0 lib/openactive/models/order_proposal.rb