PaymentType
extends Enum
in package
This is the payment types enumerate.
Tags
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'
FORM
public
mixed
FORM
= 'FORM'
NO_PAY
public
mixed
NO_PAY
= 'NO_PAY'
OFFLINE
public
mixed
OFFLINE
= 'OFFLINE'
REDIRECT
public
mixed
REDIRECT
= 'REDIRECT'
WIDGET
public
mixed
WIDGET
= 'WIDGET'
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