/**
* @param array<string|int, mixed> $requestData
*/
private function buildPayPayload(AsyncPaymentTransactionStruct
$transaction, array
$requestData): AsyncPayPayload
{ return new AsyncPayPayload( $transaction->
getOrderTransaction(),
$transaction->
getOrder(),
$transaction->
getReturnUrl(),
$requestData,
$transaction->
getRecurring() );
} /**
* @param array<string|int, mixed> $queryParameters
*/
private function buildFinalizePayload(AsyncPaymentTransactionStruct
$transaction, array
$queryParameters): AsyncFinalizePayload
{ return new AsyncFinalizePayload( $transaction->
getOrderTransaction(),
$queryParameters,