Diglin\Swisspost\StructType\ServiceCodeAttributes
This class stands for ServiceCodeAttributes StructType
Synopsis
class ServiceCodeAttributes
extends AbstractStructBase
{
- // members
- public $PRZL;
- public $FreeText;
- public $DeliveryDate;
- public $ParcelNo;
- public $ParcelTotal;
- public $DeliveryPlace;
- public bool $ProClima;
- public ReturnInfoType $ReturnInfo;
- public Dimensions $Dimensions;
- public UNNumbers $UNNumbers;
- // methods
- public void __construct()
- public array getPRZL()
- public ServiceCodeAttributes setPRZL()
- public ServiceCodeAttributes addToPRZL()
- public string|null getFreeText()
- public ServiceCodeAttributes setFreeText()
- public string|null getDeliveryDate()
- public ServiceCodeAttributes setDeliveryDate()
- public int|null getParcelNo()
- public ServiceCodeAttributes setParcelNo()
- public int|null getParcelTotal()
- public ServiceCodeAttributes setParcelTotal()
- public string|null getDeliveryPlace()
- public ServiceCodeAttributes setDeliveryPlace()
- public bool|null getProClima()
- public ServiceCodeAttributes setProClima()
- public ReturnInfoType|null getReturnInfo()
- public ServiceCodeAttributes setReturnInfo()
- public Dimensions|null getDimensions()
- public ServiceCodeAttributes setDimensions()
- public UNNumbers|null getUNNumbers()
- public ServiceCodeAttributes setUNNumbers()
- public static ServiceCodeAttributes __set_state()
- public string __toString()
Hierarchy
Extends
- WsdlToPhp\PackageBase\AbstractStructBase
Violations
PHPMessDetector
| Line | Rule | Message |
|---|---|---|
| 121 - 134 | ExcessiveParameterList | The method __construct has 10 parameters. Consider reducing the number of parameters to less than 10. |
| 196 - 212 | CyclomaticComplexity | The method setFreeText() has a Cyclomatic Complexity of 10. The configured cyclomatic complexity threshold is 10. |
| 308 - 324 | CyclomaticComplexity | The method setDeliveryPlace() has a Cyclomatic Complexity of 10. The configured cyclomatic complexity threshold is 10. |
Members
public
- $DeliveryDate
—
string
The DeliveryDate Meta informations extracted from the WSDL - minOccurs: 0 - $DeliveryPlace
—
string
The DeliveryPlace Meta informations extracted from the WSDL - minOccurs: 0 - maxLength: 35 - documentation: Excludes unsupported characters. - $Dimensions
—
\Diglin\Swisspost\StructType\Dimensions
The Dimensions Meta informations extracted from the WSDL - minOccurs: 0 - $FreeText
—
string
The FreeText Meta informations extracted from the WSDL - minOccurs: 0 - maxLength: 34 - documentation: Excludes unsupported characters. - $PRZL
—
array
The PRZL Meta informations extracted from the WSDL - maxOccurs: unbounded - minOccurs: 1 - documentation: Identifies a PRZL. - $ParcelNo
—
int
The ParcelNo Meta informations extracted from the WSDL - minOccurs: 0 - maxInclusive: 99 - minInclusive: 0 - $ParcelTotal
—
int
The ParcelTotal Meta informations extracted from the WSDL - minOccurs: 0 - maxInclusive: 99 - minInclusive: 0 - $ProClima
—
Diglin\Swisspost\StructType\bool
The ProClima Meta informations extracted from the WSDL - minOccurs: 0 - $ReturnInfo
—
\Diglin\Swisspost\StructType\ReturnInfoType
The ReturnInfo Meta informations extracted from the WSDL - minOccurs: 0 - $UNNumbers
—
\Diglin\Swisspost\StructType\UNNumbers
The UNNumbers Meta informations extracted from the WSDL - minOccurs: 0
Methods
public
- __construct() — Constructor method for ServiceCodeAttributes
- __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
- addToPRZL() — Add item to PRZL value
- getDeliveryDate() — Get DeliveryDate value
- getDeliveryPlace() — Get DeliveryPlace value
- getDimensions() — Get Dimensions value
- getFreeText() — Get FreeText value
- getPRZL() — Get PRZL value
- getParcelNo() — Get ParcelNo value
- getParcelTotal() — Get ParcelTotal value
- getProClima() — Get ProClima value
- getReturnInfo() — Get ReturnInfo value
- getUNNumbers() — Get UNNumbers value
- setDeliveryDate() — Set DeliveryDate value
- setDeliveryPlace() — Set DeliveryPlace value
- setDimensions() — Set Dimensions value
- setFreeText() — Set FreeText value
- setPRZL() — Set PRZL value
- setParcelNo() — Set ParcelNo value
- setParcelTotal() — Set ParcelTotal value
- setProClima() — Set ProClima value
- setReturnInfo() — Set ReturnInfo value
- setUNNumbers() — Set UNNumbers value