Skip to content

API reference / Quittio \ Core \ Enums

PaymentMeansCode

string-backed enum in quittio/core · uses HasLabel

Quittio\Core\Enums\PaymentMeansCode · Source

Payment means type code (BT-81), UNTDID 4461. Further codes can be used as RawCode.

Cases#

CaseValueDescription
NotDefined'1'
Cash'10'
Cheque'20'
CreditTransfer'30'
DebitTransfer'31'
PaymentToBankAccount'42'
BankCard'48'
DirectDebit'49'
CreditCard'54'
DebitCard'55'
StandingAgreement'57'
SepaCreditTransfer'58'
SepaDirectDebit'59'
OnlinePaymentService'68'
Clearing'97'
MutuallyDefined'ZZZ'

Methods#

MethodDescription
::isValidCode()Whether a raw code value is valid according to the official code list.
->label()
::labelGroup()

isValidCode()#

public static function isValidCode(string $code): bool

static

Whether a raw code value is valid according to the official code list.

ParameterTypeDescription
$codestring
Returns
bool

label()#

public function label(?string $locale = null): string
ParameterTypeDescription
$locale?string = null
Returns
string

labelGroup()#

public static function labelGroup(): string

static

Returns
string

The open core packages are MIT licensed. The legal wording of the country packs must be confirmed by a tax adviser.