first commit

This commit is contained in:
2026-01-14 16:40:33 +03:00
commit f803480f7b
184 changed files with 5573 additions and 0 deletions

View File

@@ -0,0 +1,32 @@
<?php
namespace Gemini\AlfaBank\Sbp\Data;
use Spatie\LaravelData\Data;
class QrCodeRequestData extends Data
{
public function __construct(
public string $TermNo,
public string $qrcType = '01', // '01' = Static, '02' = Dynamic
public ?string $amount = null,
public string $currency = 'RUB',
public ?string $paymentPurpose = null,
public ?string $redirectUrl = null,
public ?string $messageID = null,
public ?string $width = null,
public ?string $height = null,
public ?string $notificationUrl = null,
// Dynamic QR specific fields
public ?string $OrderNumber = null,
public ?string $qrTtl = null, // Minutes, 1-6
public ?string $subscriptionServiceId = null,
public ?string $subscriptionServiceName = null,
// Optional user data for Dynamic QR
public ?string $SenderFIO = null,
public ?string $SenderID = null,
public ?string $SenderBankBIC = null,
) {}
}