NAME

Marketplace::Rakuten::Order

DESCRIPTION

Class to handle the xml structures returned by http://webservice.rakuten.de/documentation/method/get_orders

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 rakuten

order_number

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

payment_status

read-write accessor for the payment status, so the shop can set it while importing it.

can_be_imported

order_status

Unclear (for now) what to do here. List of statuses:

pending
Bestellung ist neu eingegangen
editable

Bestellung ist zur Bearbeitung freigegeben

shipped

Bestellung ist versendet

payout

Bestellung ist ausbezahlt

cancelled

Bestellung ist storniert

remote_shop_order_id

The Rakuten order id.

payment_method

Mapping:

PP 	= 	Vorauskasse
CC 	= 	Kreditkarte
ELV 	= 	Lastschrift
ELV-AT 	= 	Lastschrift Österreich
SUE 	= 	Sofortüberweisung
CB 	= 	ClickAndBuy
INV 	= 	Rechnung
INV-AT 	= 	Rechnung Österreich
PAL 	= 	Paypal
GP 	= 	giropay
KLA 	= 	Klarna
MPA 	= 	mpass
BAR 	= 	Barzahlen
YAP 	= 	YAPITAL