API reference / Quittio \ Core \ Data \ Payment
DirectDebit
final readonly class in quittio/core · uses Immutable
Quittio\Core\Data\Payment\DirectDebit · Source
Direct debit (BG-19).
Properties#
| Property | Type | Description |
|---|---|---|
$creditorId readonly | ?string | |
$debitedAccountId readonly | ?string | |
$mandateReference readonly | ?string |
Methods#
| Method | Description |
|---|---|
->__construct() | |
->with() | Returns a copy with the given properties replaced. |
__construct()#
public function __construct(
?string $mandateReference = null,
?string $creditorId = null,
?string $debitedAccountId = null,
)| Parameter | Type | Description |
|---|---|---|
$mandateReference | ?string = null | |
$creditorId | ?string = null | |
$debitedAccountId | ?string = null |
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