Sha256: 40a9dbbdace5573ea81cde39b171def5900692f863663c01817859d80621036f

Contents?: true

Size: 709 Bytes

Versions: 16

Compression:

Stored size: 709 Bytes

Contents

module Moysklad::Entities
  class Consignment < Entity
    attribute :meta, Meta
    attribute :id,                String
    attribute :version,           Integer
    attribute :updated,           String
    attribute :name,              String
    attribute :label,              String
    attribute :externalCode,      String
    attribute :archived,          Boolean

    attribute :accountId,         String
    attribute :assortment,        Assortment

    # Когда загружаем через ассортименты эти поля устанавливаются
    attribute :stock, Float
    attribute :reserve, Float
    attribute :inTransit, Float
    attribute :quantity, Float
  end
end

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
moysklad-0.5 lib/moysklad/entities/consignment.rb
moysklad-0.4.10 lib/moysklad/entities/consignment.rb
moysklad-0.4.9 lib/moysklad/entities/consignment.rb
moysklad-0.4.8 lib/moysklad/entities/consignment.rb
moysklad-0.4.7 lib/moysklad/entities/consignment.rb
moysklad-0.4.6 lib/moysklad/entities/consignment.rb
moysklad-0.4.5 lib/moysklad/entities/consignment.rb
moysklad-0.4.4 lib/moysklad/entities/consignment.rb
moysklad-0.4.3 lib/moysklad/entities/consignment.rb
moysklad-0.4.2 lib/moysklad/entities/consignment.rb
moysklad-0.4.1 lib/moysklad/entities/consignment.rb
moysklad-0.4.0 lib/moysklad/entities/consignment.rb
moysklad-0.3.4 lib/moysklad/entities/consignment.rb
moysklad-0.3.3 lib/moysklad/entities/consignment.rb
moysklad-0.3.2 lib/moysklad/entities/consignment.rb
moysklad-0.3.1 lib/moysklad/entities/consignment.rb