return new ArrayStruct(self::TEST_STRUCT_CONTENT
);
} public function capture( PreparedPaymentTransactionStruct
$transaction,
RequestDataBag
$requestDataBag,
SalesChannelContext
$context,
Struct
$preOrderPaymentStruct ): void
{ if (self::
$fail) { throw PaymentException::
capturePreparedException($transaction->
getOrderTransaction()->
getId(), 'this is supposed to fail'
);
} self::
$preOrderPaymentStruct =
$preOrderPaymentStruct;
}}