ePages 7.23.0 - DE_EPAGES/PayPalPlus/API/Webservice/PatchPayment/Service.pm

Package DE_EPAGES::PayPalPlus::API::Webservice::PatchPayment::Service

class to handle the PatchPayment for PayPal plus

Functions

doOrderAliasPatchRequest
doRequest
getErrorCode
getErrorMessage
new

doOrderAliasPatchRequest

patch request to epagesj to update the transaction with the OrderAlias

Syntax
doOrderAliasPatchRequest( $Order);
Input
$Order (DE_EPAGES::Order::API::Object::CustomerOrder)
$Order object
Return
(boolean)
boolean flag if the request was successful or not

doRequest

patch request to epagesj and handle the answer

Syntax
doRequest( $Basket);
Input
$Basket (DE_EPAGES::Order::API::Object::Basket)
Basket object
Return
(boolean)
boolean flag if the request was successful or not

getErrorCode

Get the error code

Syntax
getErrorCode( );
Return
(string)
Error code

getErrorMessage

Get the error message

Syntax
getErrorMessage( );
Return
(string)
Error message

new

constructor

Syntax
new( );
Return
$self (DE_EPAGES::PayPalPlus::API::Webservice::PatchPayment::Service)
self