ePages 7.23.0 - DE_EPAGES/Ipayment/API/Order/Payment.pm

Package DE_EPAGES::Ipayment::API::Order::Payment

Class to handle the payment type.

Functions

cancel
capture
getMessage
getStatus
new
setCancelObject
setCaptureObject

cancel

This method cancel the order

Syntax
cancel();
Input
$Order (DE_EPAGES::Order::API::Object::CustomerOrder)
an epages order
Return
$self->getStatus() (String)
Return the status of the cancel (ok or error)

capture

This method cancel the order

Syntax
capture();
Input
$Order (DE_EPAGES::Order::API::Object::CustomerOrder)
an epages order
Return
$self->getStatus() (String)
Return the status of the cancel (ok or error)

getMessage

Return the Message from the CGI request

Syntax
getMessage();
Return
$self->{'message'} (String)
Return the Message

getStatus

Return the Status from the CGI request

Syntax
getStatus();
Return
$self->{'status'} (String)
Return the Status

new

constructor

Syntax
new( );
Return
$self (DE_EPAGES::Ipayment::API::Order::Payment)
self

setCancelObject

store a cancel object in this class

Syntax
setCancelObject( $CancelObject );
Input
$CancelObject (DE_EPAGES::Ipayment::API::CGI::Cancel)
a cancel object

setCaptureObject

store a capture object in this class

Syntax
setCaptureObject( $CaptureObject );
Input
$CaptureObject (DE_EPAGES::Ipayment::API::CGI::Capture)
a cancel object