PaymentValidateType
extends Enum
in package
This is the plugin type enumerate.
Tags
Table of Contents
FORM | = 'FORM' | |
---|---|---|
NO_DATA | = 'NO_DATA' | |
REDIRECT | = 'REDIRECT' | |
WEBHOOK_MESSAGE | = 'WEBHOOK_MESSAGE' | |
XML | = 'XML' | |
getValues() | : array<string|int, mixed> | |
isValid() | Check if the given value is inside the called enumerate. | : bool |
Constants
FORM
public
mixed
FORM
= 'FORM'
NO_DATA
public
mixed
NO_DATA
= 'NO_DATA'
REDIRECT
public
mixed
REDIRECT
= 'REDIRECT'
WEBHOOK_MESSAGE
public
mixed
WEBHOOK_MESSAGE
= 'WEBHOOK_MESSAGE'
XML
public
mixed
XML
= 'XML'
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