Sha256: a7935c0a7201a2b6f59031681d13113459f2346625fb011fe1726b187e342ea1

Contents?: true

Size: 894 Bytes

Versions: 1

Compression:

Stored size: 894 Bytes

Contents

module Moysklad::Entities
  class CustomerOrder < Base
    include CommonObject

    tag 'customerOrder'

    attribute :created,     Time 
    attribute :createdBy,   String

    attribute :reservedSum,     Float

    attribute :sourceStoreUuid, String
    attribute :sourceAccountUuid, String
    attribute :sourceAgentUuid, String

    attribute :targetAgentUuid, String
    attribute :targetAccountUuid, String

    attribute :applicable,      Boolean
    attribute :moment,          Time 

    attribute :payerVat,        Boolean

    attribute :consignmentUuid, String

    attribute :rate,            Float

    attribute :vatIncluded,     Boolean
    attribute :name,            String

    element   :sum,             Moysklad::Entities::Price, tag: :sum

    element   :deleted,         Time

    has_many  :customerOrderPosition, Moysklad::Entities::CustomerOrderPosition

  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
moysklad-0.0.2 lib/moysklad/entities/customer_order.rb