Diglin\Swisspost\StructType\Recipient
This class stands for Recipient StructType
Synopsis
class Recipient
extends AbstractStructBase
{
- // members
- public $ZIP;
- public $PostIdent;
- public $Title;
- public bool $PersonallyAddressed;
- public $Name1;
- public $FirstName;
- public $Name2;
- public $Name3;
- public $AddressSuffix;
- public $Street;
- public $HouseNo;
- public $POBox;
- public $FloorNo;
- public $MailboxNo;
- public $City;
- public $Country;
- public $Hauskey;
- public $Phone;
- public $Mobile;
- public $EMail;
- public LabelAddress $LabelAddress;
- // methods
- public void __construct()
- public string getZIP()
- public Recipient setZIP()
- public string|null getPostIdent()
- public Recipient setPostIdent()
- public string|null getTitle()
- public Recipient setTitle()
- public bool|null getPersonallyAddressed()
- public Recipient setPersonallyAddressed()
- public string|null getName1()
- public Recipient setName1()
- public string|null getFirstName()
- public Recipient setFirstName()
- public string|null getName2()
- public Recipient setName2()
- public string|null getName3()
- public Recipient setName3()
- public string|null getAddressSuffix()
- public Recipient setAddressSuffix()
- public string|null getStreet()
- public Recipient setStreet()
- public string|null getHouseNo()
- public Recipient setHouseNo()
- public string|null getPOBox()
- public Recipient setPOBox()
- public string|null getFloorNo()
- public Recipient setFloorNo()
- public int|null getMailboxNo()
- public Recipient setMailboxNo()
- public string|null getCity()
- public Recipient setCity()
- public string|null getCountry()
- public Recipient setCountry()
- public int|null getHauskey()
- public Recipient setHauskey()
- public string|null getPhone()
- public Recipient setPhone()
- public string|null getMobile()
- public Recipient setMobile()
- public string|null getEMail()
- public Recipient setEMail()
- public LabelAddress|null getLabelAddress()
- public Recipient setLabelAddress()
- public static Recipient __set_state()
- public string __toString()
Hierarchy
Extends
- WsdlToPhp\PackageBase\AbstractStructBase
Violations
PHPMessDetector
| Line | Rule | Message |
|---|---|---|
| 260 - 284 | ExcessiveParameterList | The method __construct has 21 parameters. Consider reducing the number of parameters to less than 10. |
| 298 - 318 | CyclomaticComplexity | The method setZIP() has a Cyclomatic Complexity of 12. The configured cyclomatic complexity threshold is 10. |
| 332 - 348 | CyclomaticComplexity | The method setPostIdent() has a Cyclomatic Complexity of 10. The configured cyclomatic complexity threshold is 10. |
| 362 - 378 | CyclomaticComplexity | The method setTitle() has a Cyclomatic Complexity of 10. The configured cyclomatic complexity threshold is 10. |
| 414 - 430 | CyclomaticComplexity | The method setName1() has a Cyclomatic Complexity of 10. The configured cyclomatic complexity threshold is 10. |
| 444 - 460 | CyclomaticComplexity | The method setFirstName() has a Cyclomatic Complexity of 10. The configured cyclomatic complexity threshold is 10. |
| 474 - 490 | CyclomaticComplexity | The method setName2() has a Cyclomatic Complexity of 10. The configured cyclomatic complexity threshold is 10. |
| 504 - 520 | CyclomaticComplexity | The method setName3() has a Cyclomatic Complexity of 10. The configured cyclomatic complexity threshold is 10. |
| 534 - 550 | CyclomaticComplexity | The method setAddressSuffix() has a Cyclomatic Complexity of 10. The configured cyclomatic complexity threshold is 10. |
| 564 - 580 | CyclomaticComplexity | The method setStreet() has a Cyclomatic Complexity of 10. The configured cyclomatic complexity threshold is 10. |
| 594 - 610 | CyclomaticComplexity | The method setHouseNo() has a Cyclomatic Complexity of 10. The configured cyclomatic complexity threshold is 10. |
| 624 - 640 | CyclomaticComplexity | The method setPOBox() has a Cyclomatic Complexity of 10. The configured cyclomatic complexity threshold is 10. |
| 654 - 670 | CyclomaticComplexity | The method setFloorNo() has a Cyclomatic Complexity of 10. The configured cyclomatic complexity threshold is 10. |
| 710 - 726 | CyclomaticComplexity | The method setCity() has a Cyclomatic Complexity of 10. The configured cyclomatic complexity threshold is 10. |
| 792 - 812 | CyclomaticComplexity | The method setPhone() has a Cyclomatic Complexity of 14. The configured cyclomatic complexity threshold is 10. |
| 792 - 812 | NPathComplexity | The method setPhone() has an NPath complexity of 270. The configured NPath complexity threshold is 200. |
| 826 - 846 | CyclomaticComplexity | The method setMobile() has a Cyclomatic Complexity of 14. The configured cyclomatic complexity threshold is 10. |
| 826 - 846 | NPathComplexity | The method setMobile() has an NPath complexity of 270. The configured NPath complexity threshold is 200. |
| 860 - 876 | CyclomaticComplexity | The method setEMail() has a Cyclomatic Complexity of 10. The configured cyclomatic complexity threshold is 10. |
Members
public
- $AddressSuffix
—
string
The AddressSuffix Meta informations extracted from the WSDL - minOccurs: 0 - maxLength: 35 - documentation: Excludes unsupported characters. - $City
—
string
The City Meta informations extracted from the WSDL - maxLength: 35 - documentation: Excludes unsupported characters. - $Country
—
string
The Country Meta informations extracted from the WSDL - minOccurs: 0 - documentation: The ISO country code. - $EMail
—
string
The EMail Meta informations extracted from the WSDL - minOccurs: 0 - documentation: The email address. | Excludes unsupported characters. - $FirstName
—
string
The FirstName Meta informations extracted from the WSDL - minOccurs: 0 - maxLength: 35 - documentation: Excludes unsupported characters. - $FloorNo
—
string
The FloorNo Meta informations extracted from the WSDL - minOccurs: 0 - maxLength: 5 - documentation: Excludes unsupported characters. - $Hauskey
—
int
The Hauskey Meta informations extracted from the WSDL - minOccurs: 0 - totalDigits: 13 - $HouseNo
—
string
The HouseNo Meta informations extracted from the WSDL - minOccurs: 0 - maxLength: 10 - documentation: Excludes unsupported characters. - $LabelAddress
—
\Diglin\Swisspost\StructType\LabelAddress
The LabelAddress Meta informations extracted from the WSDL - minOccurs: 0 - $MailboxNo
—
int
The MailboxNo Meta informations extracted from the WSDL - minOccurs: 0 - totalDigits: 10 - $Mobile
—
string
The Mobile Meta informations extracted from the WSDL - minOccurs: 0 - documentation: Defines a valid phone number. | Excludes unsupported characters. - $Name1
—
string
The Name1 Meta informations extracted from the WSDL - maxLength: 35 - documentation: Excludes unsupported characters. - $Name2
—
string
The Name2 Meta informations extracted from the WSDL - minOccurs: 0 - maxLength: 35 - documentation: Excludes unsupported characters. - $Name3
—
string
The Name3 Meta informations extracted from the WSDL - minOccurs: 0 - maxLength: 35 - documentation: Excludes unsupported characters. - $POBox
—
string
The POBox Meta informations extracted from the WSDL - minOccurs: 0 - maxLength: 35 - documentation: Excludes unsupported characters. - $PersonallyAddressed
—
Diglin\Swisspost\StructType\bool
The PersonallyAddressed Meta informations extracted from the WSDL - minOccurs: 0 - $Phone
—
string
The Phone Meta informations extracted from the WSDL - minOccurs: 0 - documentation: Defines a valid phone number. | Excludes unsupported characters. - $PostIdent
—
string
The PostIdent Meta informations extracted from the WSDL - minOccurs: 0 - maxLength: 15 - documentation: Excludes unsupported characters. - $Street
—
string
The Street Meta informations extracted from the WSDL - minOccurs: 0 - maxLength: 35 - documentation: Excludes unsupported characters. - $Title
—
string
The Title Meta informations extracted from the WSDL - minOccurs: 0 - maxLength: 35 - documentation: Excludes unsupported characters. - $ZIP
—
string
The ZIP Meta informations extracted from the WSDL - minOccurs: 1 - maxLength: 10 - totalDigits: 6 - documentation: Excludes unsupported characters.
Methods
public
- __construct() — Constructor method for Recipient
- __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
- getAddressSuffix() — Get AddressSuffix value
- getCity() — Get City value
- getCountry() — Get Country value
- getEMail() — Get EMail value
- getFirstName() — Get FirstName value
- getFloorNo() — Get FloorNo value
- getHauskey() — Get Hauskey value
- getHouseNo() — Get HouseNo value
- getLabelAddress() — Get LabelAddress value
- getMailboxNo() — Get MailboxNo value
- getMobile() — Get Mobile value
- getName1() — Get Name1 value
- getName2() — Get Name2 value
- getName3() — Get Name3 value
- getPOBox() — Get POBox value
- getPersonallyAddressed() — Get PersonallyAddressed value
- getPhone() — Get Phone value
- getPostIdent() — Get PostIdent value
- getStreet() — Get Street value
- getTitle() — Get Title value
- getZIP() — Get ZIP value
- setAddressSuffix() — Set AddressSuffix value
- setCity() — Set City value
- setCountry() — Set Country value
- setEMail() — Set EMail value
- setFirstName() — Set FirstName value
- setFloorNo() — Set FloorNo value
- setHauskey() — Set Hauskey value
- setHouseNo() — Set HouseNo value
- setLabelAddress() — Set LabelAddress value
- setMailboxNo() — Set MailboxNo value
- setMobile() — Set Mobile value
- setName1() — Set Name1 value
- setName2() — Set Name2 value
- setName3() — Set Name3 value
- setPOBox() — Set POBox value
- setPersonallyAddressed() — Set PersonallyAddressed value
- setPhone() — Set Phone value
- setPostIdent() — Set PostIdent value
- setStreet() — Set Street value
- setTitle() — Set Title value
- setZIP() — Set ZIP value