Sha256: 8ae0c808682136510a36f60d56248f10c14ebf141094e1ea90e3cdb60c2d1085

Contents?: true

Size: 989 Bytes

Versions: 1

Compression:

Stored size: 989 Bytes

Contents

module AmoCRM::Entities
  class StockTO < Base
    include HappyMapper
    include AmoCRM::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,  AmoCRM::Entities::GoodRef

  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
amo_crm-0.2.2 lib/amo_crm/entities/stock_to.rb