GetRTLRetailsResponse::getGetRTLRetailsResult()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 4
rs 10
c 0
b 0
f 0
cc 1
eloc 2
nc 1
nop 0
1
<?php
2
3
/*
4
 * This file is part of Smsa WebService package.
5
 * (c) Hamoud Alhoqbani <[email protected]>
6
 * For the full copyright and license information, please view the LICENSE
7
 * file that was distributed with this source code.
8
 */
9
10
namespace Alhoqbani\SmsaWebService\Soap\Type;
11
12
use \WsdlToPhp\PackageBase\AbstractStructBase;
13
14
/**
15
 * This class stands for getRTLRetailsResponse Type
16
 *
17
 * @date 2018/04/06
18
 * @codeVersion 0.0.1
19
 */
20
class GetRTLRetailsResponse extends AbstractStructBase
21
{
22
    /**
23
     * The getRTLRetailsResult
24
     * Meta informations extracted from the WSDL
25
     * - maxOccurs: 1
26
     * - minOccurs: 0
27
     *
28
     * @var \Alhoqbani\SmsaWebService\Soap\Type\GetRTLRetailsResult
29
     */
30
    public $getRTLRetailsResult;
31
32
    /**
33
     * Constructor method for getRTLRetailsResponse
34
     *
35
     * @uses GetRTLRetailsResponse::setGetRTLRetailsResult()
36
     *
37
     * @param \Alhoqbani\SmsaWebService\Soap\Type\GetRTLRetailsResult $getRTLRetailsResult
38
     */
39
    public function __construct(\Alhoqbani\SmsaWebService\Soap\Type\GetRTLRetailsResult $getRTLRetailsResult = null)
40
    {
41
        $this
42
            ->setGetRTLRetailsResult($getRTLRetailsResult);
43
    }
44
45
    /**
46
     * Get getRTLRetailsResult value
47
     *
48
     * @return \Alhoqbani\SmsaWebService\Soap\Type\GetRTLRetailsResult|null
49
     */
50
    public function getGetRTLRetailsResult()
51
    {
52
        return $this->getRTLRetailsResult;
53
    }
54
55
    /**
56
     * Set getRTLRetailsResult value
57
     *
58
     * @param \Alhoqbani\SmsaWebService\Soap\Type\GetRTLRetailsResult $getRTLRetailsResult
59
     *
60
     * @return \Alhoqbani\SmsaWebService\Soap\Type\GetRTLRetailsResponse
61
     */
62
    public function setGetRTLRetailsResult(\Alhoqbani\SmsaWebService\Soap\Type\GetRTLRetailsResult $getRTLRetailsResult = null)
63
    {
64
        $this->getRTLRetailsResult = $getRTLRetailsResult;
65
66
        return $this;
67
    }
68
69
    /**
70
     * Method called when an object has been exported with var_export() functions
71
     * It allows to return an object instantiated with the values
72
     *
73
     * @see AbstractStructBase::__set_state()
74
     *
75
     * @uses AbstractStructBase::__set_state()
76
     *
77
     * @param array $array the exported values
78
     *
79
     * @return \Alhoqbani\SmsaWebService\Soap\Type\GetRTLRetailsResponse
80
     */
81
    public static function __set_state(array $array)
82
    {
83
        return parent::__set_state($array);
84
    }
85
86
    /**
87
     * Method returning the class name
88
     *
89
     * @return string __CLASS__
90
     */
91
    public function __toString()
92
    {
93
        return __CLASS__;
94
    }
95
}
96