DocumentType extends Enum
in package

This is the document type enumerate.

Tags
see
Enum

Table of Contents

CORRECTIVE_INVOICE  = 'CORRECTIVE_INVOICE'
DELIVERY_NOTE  = 'DELIVERY_NOTE'
INVOICE  = 'INVOICE'
ORDER  = 'ORDER'
RETURN  = 'RETURN'
RMA  = 'RMA'
getValues()  : array<string|int, mixed>
isValid() Check if the given value is inside the called enumerate.  : bool

Constants

CORRECTIVE_INVOICE

public mixed CORRECTIVE_INVOICE = 'CORRECTIVE_INVOICE'

DELIVERY_NOTE

public mixed DELIVERY_NOTE = 'DELIVERY_NOTE'

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