$appPaymentMethod =
$paymentMethod->
getAppPaymentMethod();
if ($appPaymentMethod === null
) { throw PaymentException::
asyncProcessInterrupted($orderTransaction->
getId(), 'Loaded data invalid'
);
} return $appPaymentMethod;
} protected function buildRefundPayload(OrderTransactionCaptureRefundEntity
$refund, OrderEntity
$order): RefundPayload
{ return new RefundPayload( $refund,
$order );
} protected function buildValidatePayload(Cart
$cart, RequestDataBag
$requestDataBag, SalesChannelContext
$context): ValidatePayload
{ return new ValidatePayload( $cart,
$requestDataBag->
all(),
$context,
);