Sha256: f4b5b79c555bed686aad3818de425c73cad8c0600015953b189a59441afee80e

Contents?: true

Size: 827 Bytes

Versions: 2

Compression:

Stored size: 827 Bytes

Contents

# frozen_string_literal: true

module ErpIntegration
  # The `ErpIntegration::OrderLine` exposes an uniformed API for interaction with
  # third-party ERP vendors.
  class OrderLine < Resource
    attr_accessor :id, :product, :quantity, :unit, :unit_price, :amount, :attachments,
                  :channel_identifier, :create_date, :create_uid, :delivery_address,
                  :delivery_date, :delivery_mode, :description, :discount, :gift_message,
                  :gross_profit_cpny_cc, :is_gift_card, :list_price, :listing_sku,
                  :metadata, :note, :options, :purhcase_request, :quantity_canceled,
                  :quantity_reserved, :quantity_shipped, :return_reason, :sale,
                  :sequence, :shipping_date, :taxes, :type, :warehouse, :write_date,
                  :write_uid
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
erp_integration-0.3.3 lib/erp_integration/order_line.rb
erp_integration-0.3.2 lib/erp_integration/order_line.rb