stan errors
This commit is contained in:
@@ -148,7 +148,6 @@ class CardTransactionRepository
|
||||
*/
|
||||
public function getExtraVariables(object $response): object
|
||||
{
|
||||
info([$response]);
|
||||
if (count($response->transactions) < 1) {
|
||||
return emptyClass(basdakyGalyndy: 0, ahyrkyGalyndy: 0, girdeji: 0, cykdajy: 0);
|
||||
}
|
||||
|
||||
@@ -52,6 +52,6 @@ class CardTransactionResponse
|
||||
|
||||
public string $messageEn;
|
||||
|
||||
/** @var array<int, object> */
|
||||
/** @var array<int, CardTransactionResponseTransactionItem> */
|
||||
public array $transactions;
|
||||
}
|
||||
|
||||
@@ -0,0 +1,34 @@
|
||||
<?php
|
||||
|
||||
namespace App\Modules\CardTransaction\Types;
|
||||
|
||||
class CardTransactionResponseTransactionItem
|
||||
{
|
||||
public string $operdate;
|
||||
|
||||
public string $trandate;
|
||||
|
||||
public string $trantime;
|
||||
|
||||
public string $rrn;
|
||||
|
||||
public string $cardnum;
|
||||
|
||||
public string $binfo;
|
||||
|
||||
public string $terminalLocation;
|
||||
|
||||
public int $currOperSum;
|
||||
|
||||
public int $accOperSum;
|
||||
|
||||
public string $sign;
|
||||
|
||||
public int $rest;
|
||||
|
||||
public string $currCode;
|
||||
|
||||
public string $opername;
|
||||
|
||||
public int $operRestType;
|
||||
}
|
||||
Reference in New Issue
Block a user