Sha256: 086459f30dd9a62b53ff80879afd09bd2fb47a337d4b04df6097ec23869a462c

Contents?: true

Size: 995 Bytes

Versions: 8

Compression:

Stored size: 995 Bytes

Contents

module Moysklad::Entities
  class StockTO < Base
    include HappyMapper
    include Moysklad::Entities::XmlFix

    tag 'stockTO'

    attribute :productCode,  String
    attribute :uomName,      String

    attribute :quantity,     Float  # Доступный остаток на склада
    attribute :reserve,      Float  # Сколько в резерве
    attribute :stock,        Float  # Остаток на складе не считая резерва

    attribute :inTransit,    Float
    attribute :sumTotal,     Float
    attribute :saleAmount,   Float
    attribute :minimumBalance, Float
    attribute :category,     String
    attribute :externalCode, String
    attribute :parentUuid,   String
    attribute :defaultConsignment, Boolean
    attribute :salePrice,   Float

    # Есть только при showConsignments
    attribute :consignmentName, String
    attribute :consignmentUuid, String

    element   :goodRef,  Moysklad::Entities::GoodRef

  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
moysklad-0.2.1 lib/moysklad/entities/stock_to.rb
moysklad-0.2.0 lib/moysklad/entities/stock_to.rb
moysklad-0.1.5 lib/moysklad/entities/stock_to.rb
moysklad-0.1.4 lib/moysklad/entities/stock_to.rb
moysklad-0.1.3 lib/moysklad/entities/stock_to.rb
moysklad-0.1.2 lib/moysklad/entities/stock_to.rb
moysklad-0.1.1 lib/moysklad/entities/stock_to.rb
moysklad-0.0.2 lib/moysklad/entities/stock_to.rb