lib/erp_integration/order.rb in erp_integration-0.3.1 vs lib/erp_integration/order.rb in erp_integration-0.3.2
- old
+ new
@@ -2,8 +2,18 @@
module ErpIntegration
# The `ErpIntegration::Order` exposes an uniformed API for interaction with
# third-party ERP vendors.
class Order < Resource
- attr_accessor :id, :number
+ attr_accessor :id, :channel, :number, :party, :sale_date, :shipment_address,
+ :amount_invoiced, :attachments, :carrier, :carrier_service,
+ :channel_identifier, :comment, :company, :confirmation_time,
+ :create_date, :currency, :description, :gateway_transaction,
+ :invoice_address, :invoice_method, :invoice_state, :invoices,
+ :lines, :metadata, :payment_term, :payment_total, :price_list,
+ :reference, :sales_person, :shipment_amount, :shipment_method,
+ :shipment_state, :shipments, :shipping_start_date, :state,
+ :tax_amount, :total_amount, :total_quantity, :total_shipment_cost,
+ :untaxed_amount, :warehouse, :weight, :weight_uom, :write_date,
+ :write_uid
end
end