NAME

Marketplace::Ebay::Order

DESCRIPTION

Class to handle the xml structures found in the GetOrders call.

http://developer.ebay.com/devzone/xml/docs/Reference/ebay/GetOrders.html

The aim is to have a consistent interface with Amazon::MWS::XML::Order so importing the orders can happens almost transparently.

ACCESSORS/METHODS

order

The raw structure got from the XML parsing

shop_type

Always returns ebay

order_number

read-write accessor for the (shop) order number so you can set this while importing it.

can_be_imported

Return true if both orderstatus and checkout status are completed

order_status

Return the order status and the payment status, separated by a colon.

ebay_order_number

Ebay order id.

remote_shop_order_id

Same as ebay_order_number

ebay_site

Return the site where the order was placed. We have to loop over all the items and check if they match. If they don't, we throw an exception.

username

The ebay's username of the buyer.