Marketplace::Rakuten::Order
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.
The raw structure got from the XML parsing
Always returns rakuten
rakuten
read-write accessor for the (shop) order number so you can set this while importing it.
read-write accessor for the payment status, so the shop can set it while importing it.
Unclear (for now) what to do here. List of statuses:
Bestellung ist neu eingegangen
Bestellung ist zur Bearbeitung freigegeben
Bestellung ist versendet
Bestellung ist ausbezahlt
Bestellung ist storniert
It returns true if the status is pending or editable or payout.
The Rakuten order id.
Returns a list of Marketplace::Rakuten::Order::Item objects.
The billing address' email
The billing address' first name
The billing address' last name
The buyer's comments.
Return a DateTime object with the creation time of the order.
It always returns nothing. The data is not provided by the remote service.
The shipping costs of the order.
Subtotal of the order, implemented as total cost minus the shipping cost.
The total cost as provided by Rakuten.
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
To install Marketplace::Rakuten, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Marketplace::Rakuten
CPAN shell
perl -MCPAN -e shell install Marketplace::Rakuten
For more information on module installation, please visit the detailed CPAN module installation guide.