refactor(core): enhance SDK structure and documentation
Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
This commit is contained in:
19
src/Data/Cards/CardData.php
Normal file
19
src/Data/Cards/CardData.php
Normal file
@@ -0,0 +1,19 @@
|
||||
<?php
|
||||
|
||||
namespace Apoloz\AlfaBank\Data\Cards;
|
||||
|
||||
use Spatie\LaravelData\Data;
|
||||
|
||||
class CardData extends Data
|
||||
{
|
||||
public function __construct(
|
||||
public string $cardId,
|
||||
public string $maskedNumber,
|
||||
public string $status,
|
||||
public ?string $expirationDate = null,
|
||||
public ?string $paymentSystem = null,
|
||||
public ?string $title = null,
|
||||
public ?bool $isVirtual = null,
|
||||
public ?bool $isActive = null,
|
||||
) {}
|
||||
}
|
||||
Reference in New Issue
Block a user