phpDocumentor

AfterbuyCheckoutSuccessContentControl extends AfterbuyCheckoutSuccessContentControl_parent

Class AfterbuyCheckoutSuccessContentControl

Table of Contents

proceed()  : mixed
callAfterbuyApi()  : void
Initializes the AfterbuyOrderSender and sends the order information to Afterbuy immediately.
getOrderId()  : OrderId
Returns the last order id.
isPaidOrUnpaid()  : bool
Checks whether the order status of the order is considered paid or unpaid for Afterbuy.
getContextForThrowable()  : array<string|int, mixed>
Creates a context array from any throwable.
getServices()  : array<string|int, mixed>|null
Provides afterbuy services.

Methods

callAfterbuyApi()

Initializes the AfterbuyOrderSender and sends the order information to Afterbuy immediately.

protected callAfterbuyApi(OrderId $orderId) : void
Parameters
$orderId : OrderId
Return values
void

isPaidOrUnpaid()

Checks whether the order status of the order is considered paid or unpaid for Afterbuy.

protected isPaidOrUnpaid(AfterbuyCheckPaidStatusService $checkPaidService, OrderId $orderId) : bool
Parameters
$checkPaidService : AfterbuyCheckPaidStatusService
$orderId : OrderId
Return values
bool

getContextForThrowable()

Creates a context array from any throwable.

private getContextForThrowable(Throwable $throwable) : array<string|int, mixed>

Serializes the throwable to an array.

Parameters
$throwable : Throwable
Return values
array<string|int, mixed>

Search results