Code Duplication    Length = 80-80 lines in 14 locations

src/Soap/Type/AddShipmentDelvResponse.php 1 location

@@ 20-99 (lines=80) @@
17
 * @date 2018/04/06
18
 * @codeVersion 0.0.1
19
 */
20
class AddShipmentDelvResponse extends AbstractStructBase
21
{
22
    /**
23
     * The addShipmentDelvResult
24
     * Meta informations extracted from the WSDL
25
     * - maxOccurs: 1
26
     * - minOccurs: 0
27
     *
28
     * @var string
29
     */
30
    public $addShipmentDelvResult;
31
32
    /**
33
     * Constructor method for addShipmentDelvResponse
34
     *
35
     * @uses AddShipmentDelvResponse::setAddShipmentDelvResult()
36
     *
37
     * @param string $addShipmentDelvResult
38
     */
39
    public function __construct($addShipmentDelvResult = null)
40
    {
41
        $this
42
            ->setAddShipmentDelvResult($addShipmentDelvResult);
43
    }
44
45
    /**
46
     * Get addShipmentDelvResult value
47
     *
48
     * @return string|null
49
     */
50
    public function getAddShipmentDelvResult()
51
    {
52
        return $this->addShipmentDelvResult;
53
    }
54
55
    /**
56
     * Set addShipmentDelvResult value
57
     *
58
     * @param string $addShipmentDelvResult
59
     *
60
     * @return \Alhoqbani\SmsaWebService\Soap\Type\AddShipmentDelvResponse
61
     */
62
    public function setAddShipmentDelvResult($addShipmentDelvResult = null)
63
    {
64
        // validation for constraint: string
65
        if (!is_null($addShipmentDelvResult) && !is_string($addShipmentDelvResult)) {
66
            throw new \InvalidArgumentException(sprintf('Invalid value, please provide a string, "%s" given', gettype($addShipmentDelvResult)), __LINE__);
67
        }
68
        $this->addShipmentDelvResult = $addShipmentDelvResult;
69
70
        return $this;
71
    }
72
73
    /**
74
     * Method called when an object has been exported with var_export() functions
75
     * It allows to return an object instantiated with the values
76
     *
77
     * @see AbstractStructBase::__set_state()
78
     *
79
     * @uses AbstractStructBase::__set_state()
80
     *
81
     * @param array $array the exported values
82
     *
83
     * @return \Alhoqbani\SmsaWebService\Soap\Type\AddShipmentDelvResponse
84
     */
85
    public static function __set_state(array $array)
86
    {
87
        return parent::__set_state($array);
88
    }
89
90
    /**
91
     * Method returning the class name
92
     *
93
     * @return string __CLASS__
94
     */
95
    public function __toString()
96
    {
97
        return __CLASS__;
98
    }
99
}
100

src/Soap/Type/AddShipmentResponse.php 1 location

@@ 20-99 (lines=80) @@
17
 * @date 2018/04/06
18
 * @codeVersion 0.0.1
19
 */
20
class AddShipmentResponse extends AbstractStructBase
21
{
22
    /**
23
     * The addShipmentResult
24
     * Meta informations extracted from the WSDL
25
     * - maxOccurs: 1
26
     * - minOccurs: 0
27
     *
28
     * @var string
29
     */
30
    public $addShipmentResult;
31
32
    /**
33
     * Constructor method for addShipmentResponse
34
     *
35
     * @uses AddShipmentResponse::setAddShipmentResult()
36
     *
37
     * @param string $addShipmentResult
38
     */
39
    public function __construct($addShipmentResult = null)
40
    {
41
        $this
42
            ->setAddShipmentResult($addShipmentResult);
43
    }
44
45
    /**
46
     * Get addShipmentResult value
47
     *
48
     * @return string|null
49
     */
50
    public function getAddShipmentResult()
51
    {
52
        return $this->addShipmentResult;
53
    }
54
55
    /**
56
     * Set addShipmentResult value
57
     *
58
     * @param string $addShipmentResult
59
     *
60
     * @return \Alhoqbani\SmsaWebService\Soap\Type\AddShipmentResponse
61
     */
62
    public function setAddShipmentResult($addShipmentResult = null)
63
    {
64
        // validation for constraint: string
65
        if (!is_null($addShipmentResult) && !is_string($addShipmentResult)) {
66
            throw new \InvalidArgumentException(sprintf('Invalid value, please provide a string, "%s" given', gettype($addShipmentResult)), __LINE__);
67
        }
68
        $this->addShipmentResult = $addShipmentResult;
69
70
        return $this;
71
    }
72
73
    /**
74
     * Method called when an object has been exported with var_export() functions
75
     * It allows to return an object instantiated with the values
76
     *
77
     * @see AbstractStructBase::__set_state()
78
     *
79
     * @uses AbstractStructBase::__set_state()
80
     *
81
     * @param array $array the exported values
82
     *
83
     * @return \Alhoqbani\SmsaWebService\Soap\Type\AddShipmentResponse
84
     */
85
    public static function __set_state(array $array)
86
    {
87
        return parent::__set_state($array);
88
    }
89
90
    /**
91
     * Method returning the class name
92
     *
93
     * @return string __CLASS__
94
     */
95
    public function __toString()
96
    {
97
        return __CLASS__;
98
    }
99
}
100

src/Soap/Type/AddShipMPSResponse.php 1 location

@@ 20-99 (lines=80) @@
17
 * @date 2018/04/06
18
 * @codeVersion 0.0.1
19
 */
20
class AddShipMPSResponse extends AbstractStructBase
21
{
22
    /**
23
     * The addShipMPSResult
24
     * Meta informations extracted from the WSDL
25
     * - maxOccurs: 1
26
     * - minOccurs: 0
27
     *
28
     * @var string
29
     */
30
    public $addShipMPSResult;
31
32
    /**
33
     * Constructor method for addShipMPSResponse
34
     *
35
     * @uses AddShipMPSResponse::setAddShipMPSResult()
36
     *
37
     * @param string $addShipMPSResult
38
     */
39
    public function __construct($addShipMPSResult = null)
40
    {
41
        $this
42
            ->setAddShipMPSResult($addShipMPSResult);
43
    }
44
45
    /**
46
     * Get addShipMPSResult value
47
     *
48
     * @return string|null
49
     */
50
    public function getAddShipMPSResult()
51
    {
52
        return $this->addShipMPSResult;
53
    }
54
55
    /**
56
     * Set addShipMPSResult value
57
     *
58
     * @param string $addShipMPSResult
59
     *
60
     * @return \Alhoqbani\SmsaWebService\Soap\Type\AddShipMPSResponse
61
     */
62
    public function setAddShipMPSResult($addShipMPSResult = null)
63
    {
64
        // validation for constraint: string
65
        if (!is_null($addShipMPSResult) && !is_string($addShipMPSResult)) {
66
            throw new \InvalidArgumentException(sprintf('Invalid value, please provide a string, "%s" given', gettype($addShipMPSResult)), __LINE__);
67
        }
68
        $this->addShipMPSResult = $addShipMPSResult;
69
70
        return $this;
71
    }
72
73
    /**
74
     * Method called when an object has been exported with var_export() functions
75
     * It allows to return an object instantiated with the values
76
     *
77
     * @see AbstractStructBase::__set_state()
78
     *
79
     * @uses AbstractStructBase::__set_state()
80
     *
81
     * @param array $array the exported values
82
     *
83
     * @return \Alhoqbani\SmsaWebService\Soap\Type\AddShipMPSResponse
84
     */
85
    public static function __set_state(array $array)
86
    {
87
        return parent::__set_state($array);
88
    }
89
90
    /**
91
     * Method returning the class name
92
     *
93
     * @return string __CLASS__
94
     */
95
    public function __toString()
96
    {
97
        return __CLASS__;
98
    }
99
}
100

src/Soap/Type/AddShipResponse.php 1 location

@@ 20-99 (lines=80) @@
17
 * @date 2018/04/06
18
 * @codeVersion 0.0.1
19
 */
20
class AddShipResponse extends AbstractStructBase
21
{
22
    /**
23
     * The addShipResult
24
     * Meta informations extracted from the WSDL
25
     * - maxOccurs: 1
26
     * - minOccurs: 0
27
     *
28
     * @var string
29
     */
30
    public $addShipResult;
31
32
    /**
33
     * Constructor method for addShipResponse
34
     *
35
     * @uses AddShipResponse::setAddShipResult()
36
     *
37
     * @param string $addShipResult
38
     */
39
    public function __construct($addShipResult = null)
40
    {
41
        $this
42
            ->setAddShipResult($addShipResult);
43
    }
44
45
    /**
46
     * Get addShipResult value
47
     *
48
     * @return string|null
49
     */
50
    public function getAddShipResult()
51
    {
52
        return $this->addShipResult;
53
    }
54
55
    /**
56
     * Set addShipResult value
57
     *
58
     * @param string $addShipResult
59
     *
60
     * @return \Alhoqbani\SmsaWebService\Soap\Type\AddShipResponse
61
     */
62
    public function setAddShipResult($addShipResult = null)
63
    {
64
        // validation for constraint: string
65
        if (!is_null($addShipResult) && !is_string($addShipResult)) {
66
            throw new \InvalidArgumentException(sprintf('Invalid value, please provide a string, "%s" given', gettype($addShipResult)), __LINE__);
67
        }
68
        $this->addShipResult = $addShipResult;
69
70
        return $this;
71
    }
72
73
    /**
74
     * Method called when an object has been exported with var_export() functions
75
     * It allows to return an object instantiated with the values
76
     *
77
     * @see AbstractStructBase::__set_state()
78
     *
79
     * @uses AbstractStructBase::__set_state()
80
     *
81
     * @param array $array the exported values
82
     *
83
     * @return \Alhoqbani\SmsaWebService\Soap\Type\AddShipResponse
84
     */
85
    public static function __set_state(array $array)
86
    {
87
        return parent::__set_state($array);
88
    }
89
90
    /**
91
     * Method returning the class name
92
     *
93
     * @return string __CLASS__
94
     */
95
    public function __toString()
96
    {
97
        return __CLASS__;
98
    }
99
}
100

src/Soap/Type/CancelShipmentResponse.php 1 location

@@ 20-99 (lines=80) @@
17
 * @date 2018/04/06
18
 * @codeVersion 0.0.1
19
 */
20
class CancelShipmentResponse extends AbstractStructBase
21
{
22
    /**
23
     * The cancelShipmentResult
24
     * Meta informations extracted from the WSDL
25
     * - maxOccurs: 1
26
     * - minOccurs: 0
27
     *
28
     * @var string
29
     */
30
    public $cancelShipmentResult;
31
32
    /**
33
     * Constructor method for cancelShipmentResponse
34
     *
35
     * @uses CancelShipmentResponse::setCancelShipmentResult()
36
     *
37
     * @param string $cancelShipmentResult
38
     */
39
    public function __construct($cancelShipmentResult = null)
40
    {
41
        $this
42
            ->setCancelShipmentResult($cancelShipmentResult);
43
    }
44
45
    /**
46
     * Get cancelShipmentResult value
47
     *
48
     * @return string|null
49
     */
50
    public function getCancelShipmentResult()
51
    {
52
        return $this->cancelShipmentResult;
53
    }
54
55
    /**
56
     * Set cancelShipmentResult value
57
     *
58
     * @param string $cancelShipmentResult
59
     *
60
     * @return \Alhoqbani\SmsaWebService\Soap\Type\CancelShipmentResponse
61
     */
62
    public function setCancelShipmentResult($cancelShipmentResult = null)
63
    {
64
        // validation for constraint: string
65
        if (!is_null($cancelShipmentResult) && !is_string($cancelShipmentResult)) {
66
            throw new \InvalidArgumentException(sprintf('Invalid value, please provide a string, "%s" given', gettype($cancelShipmentResult)), __LINE__);
67
        }
68
        $this->cancelShipmentResult = $cancelShipmentResult;
69
70
        return $this;
71
    }
72
73
    /**
74
     * Method called when an object has been exported with var_export() functions
75
     * It allows to return an object instantiated with the values
76
     *
77
     * @see AbstractStructBase::__set_state()
78
     *
79
     * @uses AbstractStructBase::__set_state()
80
     *
81
     * @param array $array the exported values
82
     *
83
     * @return \Alhoqbani\SmsaWebService\Soap\Type\CancelShipmentResponse
84
     */
85
    public static function __set_state(array $array)
86
    {
87
        return parent::__set_state($array);
88
    }
89
90
    /**
91
     * Method returning the class name
92
     *
93
     * @return string __CLASS__
94
     */
95
    public function __toString()
96
    {
97
        return __CLASS__;
98
    }
99
}
100

src/Soap/Type/GetAllRetails.php 1 location

@@ 20-99 (lines=80) @@
17
 * @date 2018/04/06
18
 * @codeVersion 0.0.1
19
 */
20
class GetAllRetails extends AbstractStructBase
21
{
22
    /**
23
     * The passkey
24
     * Meta informations extracted from the WSDL
25
     * - maxOccurs: 1
26
     * - minOccurs: 0
27
     *
28
     * @var string
29
     */
30
    public $passkey;
31
32
    /**
33
     * Constructor method for getAllRetails
34
     *
35
     * @uses GetAllRetails::setPasskey()
36
     *
37
     * @param string $passkey
38
     */
39
    public function __construct($passkey = null)
40
    {
41
        $this
42
            ->setPasskey($passkey);
43
    }
44
45
    /**
46
     * Get passkey value
47
     *
48
     * @return string|null
49
     */
50
    public function getPasskey()
51
    {
52
        return $this->passkey;
53
    }
54
55
    /**
56
     * Set passkey value
57
     *
58
     * @param string $passkey
59
     *
60
     * @return \Alhoqbani\SmsaWebService\Soap\Type\GetAllRetails
61
     */
62
    public function setPasskey($passkey = null)
63
    {
64
        // validation for constraint: string
65
        if (!is_null($passkey) && !is_string($passkey)) {
66
            throw new \InvalidArgumentException(sprintf('Invalid value, please provide a string, "%s" given', gettype($passkey)), __LINE__);
67
        }
68
        $this->passkey = $passkey;
69
70
        return $this;
71
    }
72
73
    /**
74
     * Method called when an object has been exported with var_export() functions
75
     * It allows to return an object instantiated with the values
76
     *
77
     * @see AbstractStructBase::__set_state()
78
     *
79
     * @uses AbstractStructBase::__set_state()
80
     *
81
     * @param array $array the exported values
82
     *
83
     * @return \Alhoqbani\SmsaWebService\Soap\Type\GetAllRetails
84
     */
85
    public static function __set_state(array $array)
86
    {
87
        return parent::__set_state($array);
88
    }
89
90
    /**
91
     * Method returning the class name
92
     *
93
     * @return string __CLASS__
94
     */
95
    public function __toString()
96
    {
97
        return __CLASS__;
98
    }
99
}
100

src/Soap/Type/GetPDFBrResponse.php 1 location

@@ 20-99 (lines=80) @@
17
 * @date 2018/04/06
18
 * @codeVersion 0.0.1
19
 */
20
class GetPDFBrResponse extends AbstractStructBase
21
{
22
    /**
23
     * The getPDFBrResult
24
     * Meta informations extracted from the WSDL
25
     * - maxOccurs: 1
26
     * - minOccurs: 0
27
     *
28
     * @var string
29
     */
30
    public $getPDFBrResult;
31
32
    /**
33
     * Constructor method for getPDFBrResponse
34
     *
35
     * @uses GetPDFBrResponse::setGetPDFBrResult()
36
     *
37
     * @param string $getPDFBrResult
38
     */
39
    public function __construct($getPDFBrResult = null)
40
    {
41
        $this
42
            ->setGetPDFBrResult($getPDFBrResult);
43
    }
44
45
    /**
46
     * Get getPDFBrResult value
47
     *
48
     * @return string|null
49
     */
50
    public function getGetPDFBrResult()
51
    {
52
        return $this->getPDFBrResult;
53
    }
54
55
    /**
56
     * Set getPDFBrResult value
57
     *
58
     * @param string $getPDFBrResult
59
     *
60
     * @return \Alhoqbani\SmsaWebService\Soap\Type\GetPDFBrResponse
61
     */
62
    public function setGetPDFBrResult($getPDFBrResult = null)
63
    {
64
        // validation for constraint: string
65
        if (!is_null($getPDFBrResult) && !is_string($getPDFBrResult)) {
66
            throw new \InvalidArgumentException(sprintf('Invalid value, please provide a string, "%s" given', gettype($getPDFBrResult)), __LINE__);
67
        }
68
        $this->getPDFBrResult = $getPDFBrResult;
69
70
        return $this;
71
    }
72
73
    /**
74
     * Method called when an object has been exported with var_export() functions
75
     * It allows to return an object instantiated with the values
76
     *
77
     * @see AbstractStructBase::__set_state()
78
     *
79
     * @uses AbstractStructBase::__set_state()
80
     *
81
     * @param array $array the exported values
82
     *
83
     * @return \Alhoqbani\SmsaWebService\Soap\Type\GetPDFBrResponse
84
     */
85
    public static function __set_state(array $array)
86
    {
87
        return parent::__set_state($array);
88
    }
89
90
    /**
91
     * Method returning the class name
92
     *
93
     * @return string __CLASS__
94
     */
95
    public function __toString()
96
    {
97
        return __CLASS__;
98
    }
99
}
100

src/Soap/Type/GetPDFResponse.php 1 location

@@ 20-99 (lines=80) @@
17
 * @date 2018/04/06
18
 * @codeVersion 0.0.1
19
 */
20
class GetPDFResponse extends AbstractStructBase
21
{
22
    /**
23
     * The getPDFResult
24
     * Meta informations extracted from the WSDL
25
     * - maxOccurs: 1
26
     * - minOccurs: 0
27
     *
28
     * @var string
29
     */
30
    public $getPDFResult;
31
32
    /**
33
     * Constructor method for getPDFResponse
34
     *
35
     * @uses GetPDFResponse::setGetPDFResult()
36
     *
37
     * @param string $getPDFResult
38
     */
39
    public function __construct($getPDFResult = null)
40
    {
41
        $this
42
            ->setGetPDFResult($getPDFResult);
43
    }
44
45
    /**
46
     * Get getPDFResult value
47
     *
48
     * @return string|null
49
     */
50
    public function getGetPDFResult()
51
    {
52
        return $this->getPDFResult;
53
    }
54
55
    /**
56
     * Set getPDFResult value
57
     *
58
     * @param string $getPDFResult
59
     *
60
     * @return \Alhoqbani\SmsaWebService\Soap\Type\GetPDFResponse
61
     */
62
    public function setGetPDFResult($getPDFResult = null)
63
    {
64
        // validation for constraint: string
65
        if (!is_null($getPDFResult) && !is_string($getPDFResult)) {
66
            throw new \InvalidArgumentException(sprintf('Invalid value, please provide a string, "%s" given', gettype($getPDFResult)), __LINE__);
67
        }
68
        $this->getPDFResult = $getPDFResult;
69
70
        return $this;
71
    }
72
73
    /**
74
     * Method called when an object has been exported with var_export() functions
75
     * It allows to return an object instantiated with the values
76
     *
77
     * @see AbstractStructBase::__set_state()
78
     *
79
     * @uses AbstractStructBase::__set_state()
80
     *
81
     * @param array $array the exported values
82
     *
83
     * @return \Alhoqbani\SmsaWebService\Soap\Type\GetPDFResponse
84
     */
85
    public static function __set_state(array $array)
86
    {
87
        return parent::__set_state($array);
88
    }
89
90
    /**
91
     * Method returning the class name
92
     *
93
     * @return string __CLASS__
94
     */
95
    public function __toString()
96
    {
97
        return __CLASS__;
98
    }
99
}
100

src/Soap/Type/GetPDFSinoResponse.php 1 location

@@ 20-99 (lines=80) @@
17
 * @date 2018/04/06
18
 * @codeVersion 0.0.1
19
 */
20
class GetPDFSinoResponse extends AbstractStructBase
21
{
22
    /**
23
     * The getPDFSinoResult
24
     * Meta informations extracted from the WSDL
25
     * - maxOccurs: 1
26
     * - minOccurs: 0
27
     *
28
     * @var string
29
     */
30
    public $getPDFSinoResult;
31
32
    /**
33
     * Constructor method for getPDFSinoResponse
34
     *
35
     * @uses GetPDFSinoResponse::setGetPDFSinoResult()
36
     *
37
     * @param string $getPDFSinoResult
38
     */
39
    public function __construct($getPDFSinoResult = null)
40
    {
41
        $this
42
            ->setGetPDFSinoResult($getPDFSinoResult);
43
    }
44
45
    /**
46
     * Get getPDFSinoResult value
47
     *
48
     * @return string|null
49
     */
50
    public function getGetPDFSinoResult()
51
    {
52
        return $this->getPDFSinoResult;
53
    }
54
55
    /**
56
     * Set getPDFSinoResult value
57
     *
58
     * @param string $getPDFSinoResult
59
     *
60
     * @return \Alhoqbani\SmsaWebService\Soap\Type\GetPDFSinoResponse
61
     */
62
    public function setGetPDFSinoResult($getPDFSinoResult = null)
63
    {
64
        // validation for constraint: string
65
        if (!is_null($getPDFSinoResult) && !is_string($getPDFSinoResult)) {
66
            throw new \InvalidArgumentException(sprintf('Invalid value, please provide a string, "%s" given', gettype($getPDFSinoResult)), __LINE__);
67
        }
68
        $this->getPDFSinoResult = $getPDFSinoResult;
69
70
        return $this;
71
    }
72
73
    /**
74
     * Method called when an object has been exported with var_export() functions
75
     * It allows to return an object instantiated with the values
76
     *
77
     * @see AbstractStructBase::__set_state()
78
     *
79
     * @uses AbstractStructBase::__set_state()
80
     *
81
     * @param array $array the exported values
82
     *
83
     * @return \Alhoqbani\SmsaWebService\Soap\Type\GetPDFSinoResponse
84
     */
85
    public static function __set_state(array $array)
86
    {
87
        return parent::__set_state($array);
88
    }
89
90
    /**
91
     * Method returning the class name
92
     *
93
     * @return string __CLASS__
94
     */
95
    public function __toString()
96
    {
97
        return __CLASS__;
98
    }
99
}
100

src/Soap/Type/GetRTLCities.php 1 location

@@ 20-99 (lines=80) @@
17
 * @date 2018/04/06
18
 * @codeVersion 0.0.1
19
 */
20
class GetRTLCities extends AbstractStructBase
21
{
22
    /**
23
     * The passkey
24
     * Meta informations extracted from the WSDL
25
     * - maxOccurs: 1
26
     * - minOccurs: 0
27
     *
28
     * @var string
29
     */
30
    public $passkey;
31
32
    /**
33
     * Constructor method for getRTLCities
34
     *
35
     * @uses GetRTLCities::setPasskey()
36
     *
37
     * @param string $passkey
38
     */
39
    public function __construct($passkey = null)
40
    {
41
        $this
42
            ->setPasskey($passkey);
43
    }
44
45
    /**
46
     * Get passkey value
47
     *
48
     * @return string|null
49
     */
50
    public function getPasskey()
51
    {
52
        return $this->passkey;
53
    }
54
55
    /**
56
     * Set passkey value
57
     *
58
     * @param string $passkey
59
     *
60
     * @return \Alhoqbani\SmsaWebService\Soap\Type\GetRTLCities
61
     */
62
    public function setPasskey($passkey = null)
63
    {
64
        // validation for constraint: string
65
        if (!is_null($passkey) && !is_string($passkey)) {
66
            throw new \InvalidArgumentException(sprintf('Invalid value, please provide a string, "%s" given', gettype($passkey)), __LINE__);
67
        }
68
        $this->passkey = $passkey;
69
70
        return $this;
71
    }
72
73
    /**
74
     * Method called when an object has been exported with var_export() functions
75
     * It allows to return an object instantiated with the values
76
     *
77
     * @see AbstractStructBase::__set_state()
78
     *
79
     * @uses AbstractStructBase::__set_state()
80
     *
81
     * @param array $array the exported values
82
     *
83
     * @return \Alhoqbani\SmsaWebService\Soap\Type\GetRTLCities
84
     */
85
    public static function __set_state(array $array)
86
    {
87
        return parent::__set_state($array);
88
    }
89
90
    /**
91
     * Method returning the class name
92
     *
93
     * @return string __CLASS__
94
     */
95
    public function __toString()
96
    {
97
        return __CLASS__;
98
    }
99
}
100

src/Soap/Type/GetStatusByRefResponse.php 1 location

@@ 20-99 (lines=80) @@
17
 * @date 2018/04/06
18
 * @codeVersion 0.0.1
19
 */
20
class GetStatusByRefResponse extends AbstractStructBase
21
{
22
    /**
23
     * The getStatusByRefResult
24
     * Meta informations extracted from the WSDL
25
     * - maxOccurs: 1
26
     * - minOccurs: 0
27
     *
28
     * @var string
29
     */
30
    public $getStatusByRefResult;
31
32
    /**
33
     * Constructor method for getStatusByRefResponse
34
     *
35
     * @uses GetStatusByRefResponse::setGetStatusByRefResult()
36
     *
37
     * @param string $getStatusByRefResult
38
     */
39
    public function __construct($getStatusByRefResult = null)
40
    {
41
        $this
42
            ->setGetStatusByRefResult($getStatusByRefResult);
43
    }
44
45
    /**
46
     * Get getStatusByRefResult value
47
     *
48
     * @return string|null
49
     */
50
    public function getGetStatusByRefResult()
51
    {
52
        return $this->getStatusByRefResult;
53
    }
54
55
    /**
56
     * Set getStatusByRefResult value
57
     *
58
     * @param string $getStatusByRefResult
59
     *
60
     * @return \Alhoqbani\SmsaWebService\Soap\Type\GetStatusByRefResponse
61
     */
62
    public function setGetStatusByRefResult($getStatusByRefResult = null)
63
    {
64
        // validation for constraint: string
65
        if (!is_null($getStatusByRefResult) && !is_string($getStatusByRefResult)) {
66
            throw new \InvalidArgumentException(sprintf('Invalid value, please provide a string, "%s" given', gettype($getStatusByRefResult)), __LINE__);
67
        }
68
        $this->getStatusByRefResult = $getStatusByRefResult;
69
70
        return $this;
71
    }
72
73
    /**
74
     * Method called when an object has been exported with var_export() functions
75
     * It allows to return an object instantiated with the values
76
     *
77
     * @see AbstractStructBase::__set_state()
78
     *
79
     * @uses AbstractStructBase::__set_state()
80
     *
81
     * @param array $array the exported values
82
     *
83
     * @return \Alhoqbani\SmsaWebService\Soap\Type\GetStatusByRefResponse
84
     */
85
    public static function __set_state(array $array)
86
    {
87
        return parent::__set_state($array);
88
    }
89
90
    /**
91
     * Method returning the class name
92
     *
93
     * @return string __CLASS__
94
     */
95
    public function __toString()
96
    {
97
        return __CLASS__;
98
    }
99
}
100

src/Soap/Type/GetStatusResponse.php 1 location

@@ 20-99 (lines=80) @@
17
 * @date 2018/04/06
18
 * @codeVersion 0.0.1
19
 */
20
class GetStatusResponse extends AbstractStructBase
21
{
22
    /**
23
     * The getStatusResult
24
     * Meta informations extracted from the WSDL
25
     * - maxOccurs: 1
26
     * - minOccurs: 0
27
     *
28
     * @var string
29
     */
30
    public $getStatusResult;
31
32
    /**
33
     * Constructor method for getStatusResponse
34
     *
35
     * @uses GetStatusResponse::setGetStatusResult()
36
     *
37
     * @param string $getStatusResult
38
     */
39
    public function __construct($getStatusResult = null)
40
    {
41
        $this
42
            ->setGetStatusResult($getStatusResult);
43
    }
44
45
    /**
46
     * Get getStatusResult value
47
     *
48
     * @return string|null
49
     */
50
    public function getGetStatusResult()
51
    {
52
        return $this->getStatusResult;
53
    }
54
55
    /**
56
     * Set getStatusResult value
57
     *
58
     * @param string $getStatusResult
59
     *
60
     * @return \Alhoqbani\SmsaWebService\Soap\Type\GetStatusResponse
61
     */
62
    public function setGetStatusResult($getStatusResult = null)
63
    {
64
        // validation for constraint: string
65
        if (!is_null($getStatusResult) && !is_string($getStatusResult)) {
66
            throw new \InvalidArgumentException(sprintf('Invalid value, please provide a string, "%s" given', gettype($getStatusResult)), __LINE__);
67
        }
68
        $this->getStatusResult = $getStatusResult;
69
70
        return $this;
71
    }
72
73
    /**
74
     * Method called when an object has been exported with var_export() functions
75
     * It allows to return an object instantiated with the values
76
     *
77
     * @see AbstractStructBase::__set_state()
78
     *
79
     * @uses AbstractStructBase::__set_state()
80
     *
81
     * @param array $array the exported values
82
     *
83
     * @return \Alhoqbani\SmsaWebService\Soap\Type\GetStatusResponse
84
     */
85
    public static function __set_state(array $array)
86
    {
87
        return parent::__set_state($array);
88
    }
89
90
    /**
91
     * Method returning the class name
92
     *
93
     * @return string __CLASS__
94
     */
95
    public function __toString()
96
    {
97
        return __CLASS__;
98
    }
99
}
100

src/Soap/Type/SaphOrderReadyResponse.php 1 location

@@ 20-99 (lines=80) @@
17
 * @date 2018/04/06
18
 * @codeVersion 0.0.1
19
 */
20
class SaphOrderReadyResponse extends AbstractStructBase
21
{
22
    /**
23
     * The saphOrderReadyResult
24
     * Meta informations extracted from the WSDL
25
     * - maxOccurs: 1
26
     * - minOccurs: 0
27
     *
28
     * @var string
29
     */
30
    public $saphOrderReadyResult;
31
32
    /**
33
     * Constructor method for saphOrderReadyResponse
34
     *
35
     * @uses SaphOrderReadyResponse::setSaphOrderReadyResult()
36
     *
37
     * @param string $saphOrderReadyResult
38
     */
39
    public function __construct($saphOrderReadyResult = null)
40
    {
41
        $this
42
            ->setSaphOrderReadyResult($saphOrderReadyResult);
43
    }
44
45
    /**
46
     * Get saphOrderReadyResult value
47
     *
48
     * @return string|null
49
     */
50
    public function getSaphOrderReadyResult()
51
    {
52
        return $this->saphOrderReadyResult;
53
    }
54
55
    /**
56
     * Set saphOrderReadyResult value
57
     *
58
     * @param string $saphOrderReadyResult
59
     *
60
     * @return \Alhoqbani\SmsaWebService\Soap\Type\SaphOrderReadyResponse
61
     */
62
    public function setSaphOrderReadyResult($saphOrderReadyResult = null)
63
    {
64
        // validation for constraint: string
65
        if (!is_null($saphOrderReadyResult) && !is_string($saphOrderReadyResult)) {
66
            throw new \InvalidArgumentException(sprintf('Invalid value, please provide a string, "%s" given', gettype($saphOrderReadyResult)), __LINE__);
67
        }
68
        $this->saphOrderReadyResult = $saphOrderReadyResult;
69
70
        return $this;
71
    }
72
73
    /**
74
     * Method called when an object has been exported with var_export() functions
75
     * It allows to return an object instantiated with the values
76
     *
77
     * @see AbstractStructBase::__set_state()
78
     *
79
     * @uses AbstractStructBase::__set_state()
80
     *
81
     * @param array $array the exported values
82
     *
83
     * @return \Alhoqbani\SmsaWebService\Soap\Type\SaphOrderReadyResponse
84
     */
85
    public static function __set_state(array $array)
86
    {
87
        return parent::__set_state($array);
88
    }
89
90
    /**
91
     * Method returning the class name
92
     *
93
     * @return string __CLASS__
94
     */
95
    public function __toString()
96
    {
97
        return __CLASS__;
98
    }
99
}
100

src/Soap/Type/StoShipmentResponse.php 1 location

@@ 20-99 (lines=80) @@
17
 * @date 2018/04/06
18
 * @codeVersion 0.0.1
19
 */
20
class StoShipmentResponse extends AbstractStructBase
21
{
22
    /**
23
     * The stoShipmentResult
24
     * Meta informations extracted from the WSDL
25
     * - maxOccurs: 1
26
     * - minOccurs: 0
27
     *
28
     * @var string
29
     */
30
    public $stoShipmentResult;
31
32
    /**
33
     * Constructor method for stoShipmentResponse
34
     *
35
     * @uses StoShipmentResponse::setStoShipmentResult()
36
     *
37
     * @param string $stoShipmentResult
38
     */
39
    public function __construct($stoShipmentResult = null)
40
    {
41
        $this
42
            ->setStoShipmentResult($stoShipmentResult);
43
    }
44
45
    /**
46
     * Get stoShipmentResult value
47
     *
48
     * @return string|null
49
     */
50
    public function getStoShipmentResult()
51
    {
52
        return $this->stoShipmentResult;
53
    }
54
55
    /**
56
     * Set stoShipmentResult value
57
     *
58
     * @param string $stoShipmentResult
59
     *
60
     * @return \Alhoqbani\SmsaWebService\Soap\Type\StoShipmentResponse
61
     */
62
    public function setStoShipmentResult($stoShipmentResult = null)
63
    {
64
        // validation for constraint: string
65
        if (!is_null($stoShipmentResult) && !is_string($stoShipmentResult)) {
66
            throw new \InvalidArgumentException(sprintf('Invalid value, please provide a string, "%s" given', gettype($stoShipmentResult)), __LINE__);
67
        }
68
        $this->stoShipmentResult = $stoShipmentResult;
69
70
        return $this;
71
    }
72
73
    /**
74
     * Method called when an object has been exported with var_export() functions
75
     * It allows to return an object instantiated with the values
76
     *
77
     * @see AbstractStructBase::__set_state()
78
     *
79
     * @uses AbstractStructBase::__set_state()
80
     *
81
     * @param array $array the exported values
82
     *
83
     * @return \Alhoqbani\SmsaWebService\Soap\Type\StoShipmentResponse
84
     */
85
    public static function __set_state(array $array)
86
    {
87
        return parent::__set_state($array);
88
    }
89
90
    /**
91
     * Method returning the class name
92
     *
93
     * @return string __CLASS__
94
     */
95
    public function __toString()
96
    {
97
        return __CLASS__;
98
    }
99
}
100