Quittio next API

PaymentTermsBuilder
in package

FinalYes

Fluent builder for structured payment terms (BT-20, BT-9).

Table of Contents

Methods

build()  : PaymentTerms
cashDiscount()  : self
Cash discount ("Skonto") for payment within $days days.
dueInDays()  : self
Sets the payment target. The due date (BT-9) is derived from the issue date if not given explicitly.
fromTerms()  : self
Continues existing terms (InvoiceBuilder::paymentTerms() with a callable after from()).
lateFee()  : self
text()  : self

Methods

cashDiscount()

Cash discount ("Skonto") for payment within $days days.

public cashDiscount(int $days, string $percent[, string|null $baseAmount = null ]) : self
Parameters
$days : int
$percent : string
$baseAmount : string|null = null
Return values
self

dueInDays()

Sets the payment target. The due date (BT-9) is derived from the issue date if not given explicitly.

public dueInDays(int $days) : self
Parameters
$days : int
Return values
self

fromTerms()

Continues existing terms (InvoiceBuilder::paymentTerms() with a callable after from()).

public static fromTerms(PaymentTerms $terms) : self
Parameters
$terms : PaymentTerms
Return values
self

lateFee()

public lateFee([int|null $days = null ][, string|null $percent = null ][, string|null $text = null ]) : self
Parameters
$days : int|null = null
$percent : string|null = null
$text : string|null = null
Return values
self

text()

public text(string|null $text) : self
Parameters
$text : string|null
Return values
self
On this page

Search results