protected function buildValidatePayload(Cart
$cart, RequestDataBag
$requestDataBag, SalesChannelContext
$context): ValidatePayload
{ return new ValidatePayload( $cart,
$requestDataBag->
all(),
$context,
);
} protected function buildCapturePayload(PreparedPaymentTransactionStruct
$transaction, Struct
$preOrderPaymentStruct): CapturePayload
{ return new CapturePayload( $transaction->
getOrderTransaction(),
$transaction->
getOrder(),
$preOrderPaymentStruct,
$transaction->
getRecurring() );
} protected function buildRecurringPayload(RecurringPaymentTransactionStruct
$transaction): RecurringPayPayload
{ return new RecurringPayPayload( $transaction->
getOrderTransaction(),