| 1 |
<?php |
| 2 |
|
| 3 |
/** |
| 4 |
* Description of ExternalOrderItemAttribute |
| 5 |
* |
| 6 |
* @author Ali2Woo Team |
| 7 |
*/ |
| 8 |
|
| 9 |
namespace AliNext_Lite;; |
| 10 |
|
| 11 |
class ExternalOrderItemAttribute |
| 12 |
{ |
| 13 |
|
| 14 |
function __construct( |
| 15 |
private ?string $name = null, |
| 16 |
private ?string $value = null, |
| 17 |
) { |
| 18 |
|
| 19 |
} |
| 20 |
|
| 21 |
public function getName(): ?string |
| 22 |
{ |
| 23 |
return $this->name; |
| 24 |
} |
| 25 |
|
| 26 |
public function setName(?string $name): self |
| 27 |
{ |
| 28 |
$this->name = $name; |
| 29 |
|
| 30 |
return $this; |
| 31 |
} |
| 32 |
|
| 33 |
public function getValue(): ?string |
| 34 |
{ |
| 35 |
return $this->value; |
| 36 |
} |
| 37 |
|
| 38 |
public function setValue(?string $value): self |
| 39 |
{ |
| 40 |
$this->value = $value; |
| 41 |
|
| 42 |
return $this; |
| 43 |
} |
| 44 |
} |
| 45 |
|