ePages 7.0.0 - DE_EPAGES/AmazonPayments/API/Object/LineItemPaymentAmazonPayments.pm

Package DE_EPAGES::AmazonPayments::API::Object::LineItemPaymentAmazonPayments

object interface for LineItemPaymentAmazonPayments.

Base
DE_EPAGES::ExternalPayment::API::Object::LineItemPaymentExternal

Functions

authorizationDetails
authorize
cancelOrder
capture
className
closeAuthorization
closeOrder
confirmOrder
orderDetails
reauthorizeAndCapture
updateOrderDetails

authorizationDetails

Request information about an Amazon capture authorization

Syntax
$Details = $LineItemPayment->authorizationDetails();
Return
$AuthorizationDetails (object)
DE_EPAGES::AmazonPayments::API::DTO::AuthorizationDetails

authorize

Starts the authorization for the order synchronously and triggers 'API_UpdateAmazonPaymentsAuthorization' for updating the status of the transaction.

Syntax
$LineItemPayment->authorize;

cancelOrder

Close the order reference

Syntax
$LineItemPayment->cancelOrder();

capture

Captures the order amount from Amazon, and triggers 'API_UpdateAmazonPaymentsCapture' for updating the transaction status

Syntax
$LineItemPayment->capture();

className

Returns the class name, used for DAL access.

Syntax
$ClassName = $LineItemPaymentAmazonPayments->className;
Return
$ClassName (String)
class name

closeAuthorization

Close the authorization reference

Syntax
$LineItemPayment->closeAuthorization();

closeOrder

Close the order reference

Syntax
$LineItemPayment->closeOrder();

confirmOrder

Confirm the order and put it in Status ORDER_OPEN

Syntax
$LineItemPayment->confirmOrder();

orderDetails

Get detailed information about an Amazon Order Reference

Syntax
$Details = $LineItemPayment->orderDetails();
Return
$OrderReferenceInfo (DE_EPAGES::AmazonPayments::API::DTO::OrderReferenceInfo)
Order reference information

reauthorizeAndCapture

Implements a flow to capture and reauthorize if neccessary.

Syntax
$LineItemPayment->reauthorizeAndCapture();

updateOrderDetails

Updates amount and currency on amazon.

Syntax
$LineItemPayment->updateOrderDetails();