ePages 6.10 - DE_EPAGES/Amazon/API/Object/LineItemAmazonTransaction.pm

Package DE_EPAGES::Amazon::API::Object::LineItemAmazonTransaction

object interface for LineItemAmazonTransaction.

Base
DE_EPAGES::Order::API::Object::LineItem

Functions

delete
isQuantityCorrectOnInsertOrder
recalculate

delete

Deletes the depending AmazonTransaction, and calls LineItemProduct->delete

Syntax
$LineItemAmazonTransaction->delete;

isQuantityCorrectOnInsertOrder

No quantity check for Amazon transactions, product may have no price in MBO which is okay since price comes from Amazon.

Syntax
$LineItemAmazonTransaction->isQuantityCorrectOnInsertOrder;
Return
$IsValid (boolean)
true if the quantity is ok

recalculate

Syntax
$LineItem->recalculate($hValues);
Input
$hValues (ref.hash)
values witch will be changed