Diglin\Swisspost\StructType\Item
This class stands for Item StructType
Synopsis
class Item
extends AbstractStructBase
{
- // members
- public $ItemID;
- public $ItemNumber;
- public $IdentCode;
- public Recipient $Recipient;
- public AdditionalINFOS $AdditionalINFOS;
- public ServiceCodeAttributes $Attributes;
- public $Notification;
- // methods
- public void __construct()
- public string|null getItemID()
- public Item setItemID()
- public string|null getItemNumber()
- public Item setItemNumber()
- public string|null getIdentCode()
- public Item setIdentCode()
- public Recipient|null getRecipient()
- public Item setRecipient()
- public AdditionalINFOS|null getAdditionalINFOS()
- public Item setAdditionalINFOS()
- public ServiceCodeAttributes|null getAttributes()
- public Item setAttributes()
- public array getNotification()
- public Item setNotification()
- public Item addToNotification()
- public static Item __set_state()
- public string __toString()
Hierarchy
Extends
- WsdlToPhp\PackageBase\AbstractStructBase
Violations
PHPMessDetector
| Line | Rule | Message |
|---|---|---|
| 111 - 127 | CyclomaticComplexity | The method setItemID() has a Cyclomatic Complexity of 10. The configured cyclomatic complexity threshold is 10. |
Members
public
- $AdditionalINFOS
—
\Diglin\Swisspost\StructType\AdditionalINFOS
The AdditionalINFOS Meta informations extracted from the WSDL - minOccurs: 0 - $Attributes
—
\Diglin\Swisspost\StructType\ServiceCodeAttributes
The Attributes Meta informations extracted from the WSDL - minOccurs: 0 - $IdentCode
—
string
The IdentCode Meta informations extracted from the WSDL - minOccurs: 0 - documentation: IdentCode is only a valid input for Post-internal applications. For Post-external applications the IdentCode must not be set. | Excludes unsupported characters. - $ItemID
—
string
The ItemID Meta informations extracted from the WSDL - minOccurs: 0 - documentation: Unique identifier for a specific item defined by the consumer. | Excludes unsupported characters. - $ItemNumber
—
string
The ItemNumber Meta informations extracted from the WSDL - minOccurs: 0 - pattern: [0-9]{1,8} - $Notification
—
array
The Notification Meta informations extracted from the WSDL - documentation: Zusatzinformationen für Dienstleistung - maxOccurs: 15 - minOccurs: 0 - $Recipient
—
\Diglin\Swisspost\StructType\Recipient
The Recipient
Methods
public
- __construct() — Constructor method for Item
- __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
- addToNotification() — Add item to Notification value
- getAdditionalINFOS() — Get AdditionalINFOS value
- getAttributes() — Get Attributes value
- getIdentCode() — Get IdentCode value
- getItemID() — Get ItemID value
- getItemNumber() — Get ItemNumber value
- getNotification() — Get Notification value
- getRecipient() — Get Recipient value
- setAdditionalINFOS() — Set AdditionalINFOS value
- setAttributes() — Set Attributes value
- setIdentCode() — Set IdentCode value
- setItemID() — Set ItemID value
- setItemNumber() — Set ItemNumber value
- setNotification() — Set Notification value
- setRecipient() — Set Recipient value