Zum Inhalt springen

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#

PropertyTypeDescription
$accountId readonlystring
$accountName readonly?string
$serviceProviderId readonly?string

Methods#

MethodDescription
->__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,
)
ParameterTypeDescription
$accountIdstring
$accountName?string = null
$serviceProviderId?string = null

isIban()#

public function isIban(): bool

Whether the account identifier looks like an IBAN (CII uses IBANID instead of ProprietaryID).

Returns
bool

with()#

public function with(array<string, mixed> $changes): static

Returns a copy with the given properties replaced.

ParameterTypeDescription
$changesarray<string, mixed>
Returns
static

Die Open-Core-Pakete stehen unter der MIT-Lizenz. Die rechtlichen Formulierungen der Länderpakete sind mit einer Steuerberatung abzustimmen.