API reference / Quittio \ Core \ Data \ Payment
CreditTransfer
final readonly class in quittio/core · uses Immutable
Quittio\Core\Data\Payment\CreditTransfer · Source
Credit transfer (BG-17).
Properties#
| Property | Type | Description |
|---|---|---|
$accountId readonly | string | |
$accountName readonly | ?string | |
$serviceProviderId readonly | ?string |
Methods#
| Method | Description |
|---|---|
->__construct() | |
->isIban() | Whether the account identifier looks like an IBAN (CII uses IBANID instead of ProprietaryID). |
->with() | Returns a copy with the given properties replaced. |
__construct()#
public function __construct(
string $accountId,
?string $accountName = null,
?string $serviceProviderId = null,
)| Parameter | Type | Description |
|---|---|---|
$accountId | string | |
$accountName | ?string = null | |
$serviceProviderId | ?string = null |
isIban()#
public function isIban(): boolWhether the account identifier looks like an IBAN (CII uses IBANID instead of ProprietaryID).
- Returns
bool
with()#
public function with(array<string, mixed> $changes): staticReturns a copy with the given properties replaced.
| Parameter | Type | Description |
|---|---|---|
$changes | array<string, mixed> |
- Returns
static