dbxapp 4.1.3
CMS, Shop, Workflows und modulare Geschäftsanwendungen
Loading...
Searching...
No Matches
payment_claim_policy_test.php File Reference

Go to the source code of this file.

Variables

 $repo = new \dbx\dbxShop\dbxShopRepository()
 $method = new ReflectionMethod($repo, 'isStalePaymentProcessing')
 $now = strtotime('2026-07-24 12:00:00')
 $fail
if($method->invoke($repo, array('payment_status'=> 'created', 'update_date'=> '2026-07-24 11:00:00',), 300, $now)) if( $method->invoke( $repo, array( 'payment_status'=> 'processing', 'update_date'=> '2026-07-24 11:59:01',), 300, $now)) if(! $method->invoke($repo, array('payment_status'=> 'processing', 'update_date'=> '2026-07-24 11:55:00',), 300, $now)) if(! $method->invoke( $repo, array( 'payment_status'=> 'PROCESSING', 'update_date'=> '2026-07-24 11:59:00',), 1, $now)) if ( $method->invoke( $repo, array( 'payment_status'=> 'processing', 'update_date'=> '',), 300, $now))

Variable Documentation

◆ $fail

$fail
Initial value:
= static function (string $message, int $code): void {
fwrite(STDERR, "FAIL: $message\n");
exit($code);
}
exit
Definition index.php:146

Definition at line 10 of file payment_claim_policy_test.php.

◆ $method

$method = new ReflectionMethod($repo, 'isStalePaymentProcessing')

Definition at line 6 of file payment_claim_policy_test.php.

◆ $now

◆ $repo

Definition at line 5 of file payment_claim_policy_test.php.

Referenced by if().

◆ if

if( $method->invoke( $repo, array( 'payment_status'=> 'created', 'update_date'=> '2026-07-24 11:00:00',), 300, $now)) if($method->invoke($repo, array('payment_status'=> 'processing', 'update_date'=> '2026-07-24 11:59:01',), 300, $now)) if(! $method->invoke( $repo, array( 'payment_status'=> 'processing', 'update_date'=> '2026-07-24 11:55:00',), 300, $now)) if(! $method->invoke($repo, array('payment_status'=> 'PROCESSING', 'update_date'=> '2026-07-24 11:59:00',), 1, $now)) if($method->invoke($repo, array('payment_status'=> 'processing', 'update_date'=> '',), 300, $now)) ( $method-> $repo, array( 'payment_status'=> 'processing', 'update_date'=> '',), 300, $now)

Definition at line 43 of file payment_claim_policy_test.php.