return new SyncPaymentTransactionStruct($orderTransaction,
$order);
} public function async(OrderTransactionEntity
$orderTransaction, OrderEntity
$order, string
$returnUrl): AsyncPaymentTransactionStruct
{ return new AsyncPaymentTransactionStruct($orderTransaction,
$order,
$returnUrl);
} public function prepared(OrderTransactionEntity
$orderTransaction, OrderEntity
$order): PreparedPaymentTransactionStruct
{ return new PreparedPaymentTransactionStruct($orderTransaction,
$order);
} public function recurring(OrderTransactionEntity
$orderTransaction, OrderEntity
$order): RecurringPaymentTransactionStruct
{ return new RecurringPaymentTransactionStruct($orderTransaction,
$order);
}}