1 Commits

Author SHA1 Message Date
da3ea113ef refactor(sbp): refund 2026-06-25 16:05:46 +03:00
2 changed files with 4 additions and 0 deletions

View File

@@ -14,6 +14,7 @@ namespace Apoloz\AlfaBank\Sbp\Data\Reversal;
// <SECTION name="module_imports" intent="Import the base Spatie Laravel Data class.">
// <BELIEF_STATE "Extending `Spatie\LaravelData\Data` enables automatic casting from JSON and provides DTO benefits.">
use Spatie\LaravelData\Data;
use Spatie\LaravelData\Attributes\MapName;
// </SECTION>
@@ -36,6 +37,7 @@ class GetQrcReversalDataResponseData extends Data
public ?string $qrcId = null,
public ?string $trxDT = null,
public ?string $trxId = null,
#[MapName('RestAmount')]
public ?string $restAmount = null,
) {}
// </SECTION>

View File

@@ -14,6 +14,7 @@ namespace Apoloz\AlfaBank\Sbp\Data\Reversal;
// <SECTION name="module_imports" intent="Import the base Spatie Laravel Data class.">
// <BELIEF_STATE "Extending `Spatie\LaravelData\Data` enables automatic casting from JSON and provides DTO benefits.">
use Spatie\LaravelData\Data;
use Spatie\LaravelData\Attributes\MapName;
// </SECTION>
@@ -33,6 +34,7 @@ class QrcReversalResponseData extends Data
public ?string $trxDT = null,
public ?string $trxId = null,
public ?string $payrrn = null,
#[MapName('RestAmount')]
public ?string $restAmount = null,
) {}
// </SECTION>