Sha256: ccb115d163483f898d597b5c8533a96d1636bbe34f19c2d1674692d4bccbe354

Contents?: true

Size: 532 Bytes

Versions: 1

Compression:

Stored size: 532 Bytes

Contents

module Moysklad::Entities
  class CustomerOrderPosition < Base
    include HappyMapper

    tag 'customerOrderPosition'

    attribute :vat,       Integer
    attribute :goodUuid,  String
    attribute :consignmentUuid, String
    attribute :quantity,  Float
    attribute :discount,  Float
    attribute :consignmentUuid, String

    element :deleted,   Time

    element :basePrice, Moysklad::Entities::Price, tag: :basePrice
    element :price,     Moysklad::Entities::Price, tag: :price
    element :reserve,   Float
  end

end

Version data entries

1 entries across 1 versions & 1 rubygems

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