Sha256: b46d47e7708b018f69939dc373e4f3d4916f168c85570e51185739acff5d901e

Contents?: true

Size: 551 Bytes

Versions: 7

Compression:

Stored size: 551 Bytes

Contents

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

    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

7 entries across 7 versions & 1 rubygems

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