forked from apoloz/alfa-bank-sdk
Улучшена документация, добавлена поддержка цифрового рубля и улучшена структура DTO
Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
This commit is contained in:
@@ -13,6 +13,7 @@ namespace Apoloz\AlfaBank\Sbp\Data\Status;
|
||||
|
||||
// <SECTION name="module_imports" intent="Import the base Spatie Laravel Data class.">
|
||||
// <BELIEF_STATE "Extending `Spatie\LaravelData\Data` enables automatic casting from arrays and provides DTO benefits.">
|
||||
use Spatie\LaravelData\Attributes\MapName;
|
||||
use Spatie\LaravelData\Data;
|
||||
// </SECTION>
|
||||
|
||||
@@ -21,9 +22,10 @@ use Spatie\LaravelData\Data;
|
||||
class GetQrcStatusRequestData extends Data
|
||||
{
|
||||
// <SECTION name="constructor_properties" intent="Define the properties for the QR Code status request.">
|
||||
// <BELIEF_STATE "The constructor includes the mandatory `TermNo` and optional identifiers like `qrcId`, `payrrn`, and `messageID`. These allow for flexible and precise querying of a QR Code's status.">
|
||||
// <BELIEF_STATE "The constructor includes the mandatory `termNo` and optional identifiers like `qrcId`, `payrrn`, and `messageID`. These allow for flexible and precise querying of a QR Code's status.">
|
||||
public function __construct(
|
||||
public string $TermNo,
|
||||
#[MapName('TermNo')]
|
||||
public string $termNo,
|
||||
public ?string $qrcId = null,
|
||||
public ?string $payrrn = null,
|
||||
public ?string $messageID = null,
|
||||
|
||||
Reference in New Issue
Block a user