23 public function __construct(
28 public function getId() :
string{
return $this->id; }
30 public function getName() :
string{
return $this->name; }
32 public static function read(ByteBufferReader $in) :
self{
33 $storeId = CommonTypes::getString($in);
34 $storeName = CommonTypes::getString($in);
42 public function write(ByteBufferWriter $out) :
void{
43 CommonTypes::putString($out, $this->
id);
44 CommonTypes::putString($out, $this->name);