Sha256: 164491df627dd545558e5ca8574ae6177dea47440969d9ae3317690de4644f7d

Contents?: true

Size: 749 Bytes

Versions: 16

Compression:

Stored size: 749 Bytes

Contents

module Moysklad::Entities
  class Service < Entity
    attribute :accountId,         String
    attribute :owner,             Owner
    attribute :group,             Group
    attribute :vat, Float
    attribute :effectiveVat, Float
    attribute :pathName,          String
    attribute :productFolder,     Productfolder
    attribute :description,       String

    attribute :uom,               Uom

    attribute :minPrice,          Float
    attribute :salePrices,        Array[Price]

    # Когда загружаем через ассортименты эти поля устанавливаются
    # 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/service.rb
moysklad-0.4.10 lib/moysklad/entities/service.rb
moysklad-0.4.9 lib/moysklad/entities/service.rb
moysklad-0.4.8 lib/moysklad/entities/service.rb
moysklad-0.4.7 lib/moysklad/entities/service.rb
moysklad-0.4.6 lib/moysklad/entities/service.rb
moysklad-0.4.5 lib/moysklad/entities/service.rb
moysklad-0.4.4 lib/moysklad/entities/service.rb
moysklad-0.4.3 lib/moysklad/entities/service.rb
moysklad-0.4.2 lib/moysklad/entities/service.rb
moysklad-0.4.1 lib/moysklad/entities/service.rb
moysklad-0.4.0 lib/moysklad/entities/service.rb
moysklad-0.3.4 lib/moysklad/entities/service.rb
moysklad-0.3.3 lib/moysklad/entities/service.rb
moysklad-0.3.2 lib/moysklad/entities/service.rb
moysklad-0.3.1 lib/moysklad/entities/service.rb