DocumentType
extends Enum
in package
This is the document type enumerate.
Tags
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'
INVOICE
public
mixed
INVOICE
= 'INVOICE'
ORDER
public
mixed
ORDER
= 'ORDER'
RETURN
public
mixed
RETURN
= 'RETURN'
RMA
public
mixed
RMA
= 'RMA'
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