Diglin\Swisspost\StructType\Notification
This class stands for Notification StructType
Synopsis
class Notification
extends AbstractStructBase
{
- // members
- public $Type;
- public Communication $Communication;
- public $Service;
- public $FreeText1;
- public $FreeText2;
- public $Language;
- // methods
- public void __construct()
- public string getType()
- public Notification setType()
- public Communication|null getCommunication()
- public Notification setCommunication()
- public int|null getService()
- public Notification setService()
- public string|null getFreeText1()
- public Notification setFreeText1()
- public string|null getFreeText2()
- public Notification setFreeText2()
- public string|null getLanguage()
- public Notification setLanguage()
- public static Notification __set_state()
- public string __toString()
Hierarchy
Extends
- WsdlToPhp\PackageBase\AbstractStructBase
Violations
PHPMessDetector
| Line | Rule | Message |
|---|---|---|
| 168 - 184 | CyclomaticComplexity | The method setFreeText1() has a Cyclomatic Complexity of 10. The configured cyclomatic complexity threshold is 10. |
| 198 - 214 | CyclomaticComplexity | The method setFreeText2() has a Cyclomatic Complexity of 10. The configured cyclomatic complexity threshold is 10. |
Members
public
- $Communication
—
\Diglin\Swisspost\StructType\Communication
The Communication - $FreeText1
—
string
The FreeText1 Meta informations extracted from the WSDL - minOccurs: 0 - documentation: Individueller Text 1 für Avisierung. | Excludes unsupported characters. - $FreeText2
—
string
The FreeText2 Meta informations extracted from the WSDL - minOccurs: 0 - documentation: Individueller Text 2 für Avisierung. | Excludes unsupported characters. - $Language
—
string
The Language - $Service
—
int
The Service Meta informations extracted from the WSDL - documentation: Avisierungs-Code, welcher die Avisierung bezeichnet. - $Type
—
string
The Type Meta informations extracted from the WSDL - documentation: Angabe des Medium - use: required
Methods
public
- __construct() — Constructor method for Notification
- __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
- getCommunication() — Get Communication value
- getFreeText1() — Get FreeText1 value
- getFreeText2() — Get FreeText2 value
- getLanguage() — Get Language value
- getService() — Get Service value
- getType() — Get Type value
- setCommunication() — Set Communication value
- setFreeText1() — Set FreeText1 value
- setFreeText2() — Set FreeText2 value
- setLanguage() — Set Language value
- setService() — Set Service value
- setType() — Set Type value