Package DE_EPAGES::PayPalPlus::API::PaymentLineItemService
provides methods in order to load a CustomerOrder by Guid of LineItemPaymentPayPalPlus and validate loaded data.
Functions
- _GetError
- _LoadObjectByGUID
- _LogError
- canLoadByGuid
- getBasketOrOrder
- getErrorMessage
- getLineItemPayment
- getPaymentId
- new
- setPayerId
- updateStatus
_GetError
wrapps function to get errors
Syntax |
_GetError(); |
Return |
|
_LoadObjectByGUID
wrapps function to load a object by guid
Syntax |
_LoadObjectByGUID( $GUID ); |
Input |
|
Return |
|
_LogError
wrapps function to log errors
Syntax |
_LogError( $Error ); |
Input |
|
Return |
|
canLoadByGuid
tries to load a valid CustomerOrder by loading the LineItemPayment by Guid On success: the loaded CustomerOrder, LineItemContainer, LineItemPaymentPayPalPlus are stored internally
Syntax |
canLoadByGuid( $Guid ); |
Input |
|
Return |
|
getBasketOrOrder
gets the recently loaded CustomerOrder or Basket
Syntax |
getBasketOrOrder(); |
Return |
|
getErrorMessage
returns the Error Message
Syntax |
getErrorMessage( ); |
Return |
|
getLineItemPayment
gets the recently loaded LineItemPaymentPayPalPlus
Syntax |
getLineItemPayment(); |
Return |
|
getPaymentId
gets the getPaymentId
Syntax |
getPaymentId(); |
Return |
|
new
constructor
Syntax |
new( ); |
Return |
|
setPayerId
sets the passed payer id to the currently loaded order.
Syntax |
setPayerId( $PayerID ); |
Input |
|
updateStatus
update status for order and lineItemPayment based on the paypal Status
Syntax |
updateStatus($NewStatusFromPaypal); |
Input |
|