Diglin\Swisspost\StructType\SingleBarcodesCustomer
This class stands for SingleBarcodesCustomer StructType
Synopsis
class SingleBarcodesCustomer
extends AbstractStructBase
{
- // members
- public $Name1;
- public $Name2;
- public $Street;
- public $POBox;
- public $ZIP;
- public $City;
- public $Country;
- public $DomicilePostOffice;
- // methods
- public void __construct()
- public string|null getName1()
- public SingleBarcodesCustomer setName1()
- public string|null getName2()
- public SingleBarcodesCustomer setName2()
- public string|null getStreet()
- public SingleBarcodesCustomer setStreet()
- public string|null getPOBox()
- public SingleBarcodesCustomer setPOBox()
- public string|null getZIP()
- public SingleBarcodesCustomer setZIP()
- public string|null getCity()
- public SingleBarcodesCustomer setCity()
- public string|null getCountry()
- public SingleBarcodesCustomer setCountry()
- public string|null getDomicilePostOffice()
- public SingleBarcodesCustomer setDomicilePostOffice()
- public static SingleBarcodesCustomer __set_state()
- public string __toString()
Hierarchy
Extends
- WsdlToPhp\PackageBase\AbstractStructBase
Violations
PHPMessDetector
| Line | Rule | Message |
|---|---|---|
| 135 - 151 | CyclomaticComplexity | The method setName1() has a Cyclomatic Complexity of 10. The configured cyclomatic complexity threshold is 10. |
| 165 - 181 | CyclomaticComplexity | The method setName2() has a Cyclomatic Complexity of 10. The configured cyclomatic complexity threshold is 10. |
| 195 - 211 | CyclomaticComplexity | The method setStreet() has a Cyclomatic Complexity of 10. The configured cyclomatic complexity threshold is 10. |
| 225 - 241 | CyclomaticComplexity | The method setPOBox() has a Cyclomatic Complexity of 10. The configured cyclomatic complexity threshold is 10. |
| 255 - 275 | CyclomaticComplexity | The method setZIP() has a Cyclomatic Complexity of 12. The configured cyclomatic complexity threshold is 10. |
| 289 - 305 | CyclomaticComplexity | The method setCity() has a Cyclomatic Complexity of 10. The configured cyclomatic complexity threshold is 10. |
| 345 - 361 | CyclomaticComplexity | The method setDomicilePostOffice() has a Cyclomatic Complexity of 10. The configured cyclomatic complexity threshold is 10. |
Members
public
- $City
—
string
The City Meta informations extracted from the WSDL - maxLength: 25 - documentation: Excludes unsupported characters. - $Country
—
string
The Country Meta informations extracted from the WSDL - minOccurs: 0 - documentation: The ISO country code. - $DomicilePostOffice
—
string
The DomicilePostOffice Meta informations extracted from the WSDL - minOccurs: 0 - maxLength: 35 - documentation: Excludes unsupported characters. - $Name1
—
string
The Name1 Meta informations extracted from the WSDL - maxLength: 25 - documentation: Excludes unsupported characters. - $Name2
—
string
The Name2 Meta informations extracted from the WSDL - minOccurs: 0 - maxLength: 25 - documentation: Excludes unsupported characters. - $POBox
—
string
The POBox Meta informations extracted from the WSDL - minOccurs: 0 - maxLength: 25 - documentation: Excludes unsupported characters. - $Street
—
string
The Street Meta informations extracted from the WSDL - maxLength: 25 - documentation: Excludes unsupported characters. - $ZIP
—
string
The ZIP Meta informations extracted from the WSDL - maxLength: 10 - totalDigits: 6 - documentation: Excludes unsupported characters.
Methods
public
- __construct() — Constructor method for SingleBarcodesCustomer
- __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
- getCity() — Get City value
- getCountry() — Get Country value
- getDomicilePostOffice() — Get DomicilePostOffice value
- getName1() — Get Name1 value
- getName2() — Get Name2 value
- getPOBox() — Get POBox value
- getStreet() — Get Street value
- getZIP() — Get ZIP value
- setCity() — Set City value
- setCountry() — Set Country value
- setDomicilePostOffice() — Set DomicilePostOffice value
- setName1() — Set Name1 value
- setName2() — Set Name2 value
- setPOBox() — Set POBox value
- setStreet() — Set Street value
- setZIP() — Set ZIP value