PaymentType extends Enum
in package

This is the payment types enumerate.

Tags
see
Enum

Table of Contents

CASH_ON_DELIVERY  = 'CASH_ON_DELIVERY'
FORM  = 'FORM'
NO_PAY  = 'NO_PAY'
OFFLINE  = 'OFFLINE'
REDIRECT  = 'REDIRECT'
WIDGET  = 'WIDGET'
getValues()  : array<string|int, mixed>
isValid() Check if the given value is inside the called enumerate.  : bool

Constants

CASH_ON_DELIVERY

public mixed CASH_ON_DELIVERY = 'CASH_ON_DELIVERY'

Methods

getValues()

public static getValues() : array<string|int, mixed>
Return values
array<string|int, mixed>

isValid()

Check if the given value is inside the called enumerate.

public static isValid(string $value) : bool
Parameters
$value : string

value to check

Return values
bool

Search results