Улучшена документация, добавлена поддержка цифрового рубля и улучшена структура DTO
Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
This commit is contained in:
26
src/Sbp/Data/Subscription/GetQrSubStatusResponseData.php
Normal file
26
src/Sbp/Data/Subscription/GetQrSubStatusResponseData.php
Normal file
@@ -0,0 +1,26 @@
|
||||
<?php
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace Apoloz\AlfaBank\Sbp\Data\Subscription;
|
||||
|
||||
use Spatie\LaravelData\Attributes\MapName;
|
||||
use Spatie\LaravelData\Data;
|
||||
|
||||
class GetQrSubStatusResponseData extends Data
|
||||
{
|
||||
public function __construct(
|
||||
#[MapName('ErrorCode')]
|
||||
public int $errorCode,
|
||||
public string $message,
|
||||
#[MapName('TermNo')]
|
||||
public ?string $termNo = null,
|
||||
public ?string $qrcId = null,
|
||||
public ?string $status = null,
|
||||
public ?string $trxId = null,
|
||||
public ?string $trxDT = null,
|
||||
public ?int $amount = null,
|
||||
public ?string $currency = null,
|
||||
public ?string $payerId = null,
|
||||
) {}
|
||||
}
|
||||
Reference in New Issue
Block a user