| Total Complexity | 6 |
| Total Lines | 75 |
| Duplicated Lines | 0 % |
| Coverage | 0% |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 15 | class ImportMsgListParameter extends Parameter |
||
| 16 | { |
||
| 17 | /** |
||
| 18 | * @var array |
||
| 19 | */ |
||
| 20 | protected $properties = [ |
||
| 21 | 'From_Account', |
||
| 22 | 'SendTime', |
||
| 23 | 'MsgBody', |
||
| 24 | ]; |
||
| 25 | |||
| 26 | protected $required = ['From_Account', 'SendTime', 'MsgBody']; |
||
| 27 | |||
| 28 | /** |
||
| 29 | * |
||
| 30 | * @param string $value |
||
| 31 | * |
||
| 32 | * @return $this |
||
| 33 | */ |
||
| 34 | public function setFromAccount(string $value) |
||
| 35 | { |
||
| 36 | $this->setAttribute('From_Account', $value); |
||
| 37 | |||
| 38 | return $this; |
||
| 39 | } |
||
| 40 | |||
| 41 | /** |
||
| 42 | * |
||
| 43 | * @param int $value |
||
| 44 | * |
||
| 45 | * @return $this |
||
| 46 | */ |
||
| 47 | public function setSendTime(int $value) |
||
| 48 | { |
||
| 49 | $this->setAttribute('SendTime', $value); |
||
| 50 | |||
| 51 | return $this; |
||
| 52 | } |
||
| 53 | |||
| 54 | |||
| 55 | /** |
||
| 56 | * |
||
| 57 | * @param string $value |
||
| 58 | * |
||
| 59 | * @return $this |
||
| 60 | */ |
||
| 61 | public function setRandom(string $value) |
||
| 62 | { |
||
| 63 | $this->setAttribute('Random', $value); |
||
| 64 | |||
| 65 | return $this; |
||
| 66 | } |
||
| 67 | |||
| 68 | /** |
||
| 69 | * |
||
| 70 | * @param MessageInterface ...$value |
||
| 71 | * |
||
| 72 | * @return $this |
||
| 73 | */ |
||
| 74 | public function setMsgBody(MessageInterface ...$value) |
||
| 85 | } |
||
| 86 | |||
| 87 | public function transformToArray(array $appends = []): array |
||
| 90 | } |
||
| 91 | } |
||
| 92 |