Diglin\Swisspost\StructType\MessageType
This class stands for MessageType StructType Meta informations extracted from the WSDL - documentation: Represents a business error or warning. Does not include technical errors, those are handled by SOAP faults.
Synopsis
class MessageType
extends AbstractStructBase
{
- // methods
- public void __construct()
- public string|null getCode()
- public MessageType setCode()
- public string|null getMessage()
- public MessageType setMessage()
- public static MessageType __set_state()
- public string __toString()
Hierarchy
Extends
- WsdlToPhp\PackageBase\AbstractStructBase
Members
public
- $Code
—
string
The Code Meta informations extracted from the WSDL - documentation: Five digit error/warning code. Error codes starts with a "E" and warning codes with a "W". - $Message
—
string
The Message Meta informations extracted from the WSDL - documentation: Descriptive text in user's language for the occurred business warning/error.
Methods
public
- __construct() — Constructor method for MessageType
- __set_state() — Method called when an object has been exported with var_export() functions It allows to return an object instantiated with the values
- __toString() — Method returning the class name
- getCode() — Get Code value
- getMessage() — Get Message value
- setCode() — Set Code value
- setMessage() — Set Message value