Diglin\Swisspost\StructType\Sending
This class stands for Sending StructType
Synopsis
class Sending
extends AbstractStructBase
{
- // members
- public $Item;
- public $Country;
- public $SendingID;
- // methods
- public void __construct()
- public array getItem()
- public Sending setItem()
- public Sending addToItem()
- public string|null getCountry()
- public Sending setCountry()
- public string|null getSendingID()
- public Sending setSendingID()
- public static Sending __set_state()
- public string __toString()
Hierarchy
Extends
- WsdlToPhp\PackageBase\AbstractStructBase
Violations
PHPMessDetector
| Line | Rule | Message |
|---|---|---|
| 136 - 152 | CyclomaticComplexity | The method setSendingID() has a Cyclomatic Complexity of 10. The configured cyclomatic complexity threshold is 10. |
Members
public
- $Country
—
string
The Country Meta informations extracted from the WSDL - minOccurs: 0 - documentation: The ISO country code. - $Item
—
array
The Item Meta informations extracted from the WSDL - maxOccurs: unbounded - $SendingID
—
string
The SendingID Meta informations extracted from the WSDL - minOccurs: 0 - maxLength: 50 - documentation: Excludes unsupported characters.
Methods
public
- __construct() — Constructor method for Sending
- __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
- addToItem() — Add item to Item value
- getCountry() — Get Country value
- getItem() — Get Item value
- getSendingID() — Get SendingID value
- setCountry() — Set Country value
- setItem() — Set Item value
- setSendingID() — Set SendingID value