Marketplace::Ebay::Order::Item.
Class to handle the xml structures representing a orderline item.
This modules doesn't do much, it just provides an uniform iterface with other Marketplace modules.
Items must implement the following methods:
From the Ebay documentation:
The price of the order line item (transaction). This amount does not take into account shipping, sales tax, and other costs related to the order line item. If multiple units were purchased through a non- variation, fixed-price listing, consider this value the per-unit price. In this case, the TransactionPrice would be multiplied by the Transaction.QuantityPurchased value.
This one should be a read-write accessor, because usually Ebay doesn't know about it.
This hashref must be passed to the constructor, containing the XML structure.
The canonical sku.
The variant sku.
This return either the variant's SKU, if present, or the canonical SKU.
The shipping costs. Always return 0, it's not something available in the orderline item.
Return the shipped time if defined. You should consider this a boolean.
Buyer's email.
Buyer's first name
Buyer's last name.
The ebay site id.
To install Marketplace::Ebay, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Marketplace::Ebay
CPAN shell
perl -MCPAN -e shell install Marketplace::Ebay
For more information on module installation, please visit the detailed CPAN module installation guide.