25 public function __construct(
26 private string $storeId,
27 private string $storeName
30 public function getStoreId() :
string{
return $this->storeId; }
32 public function getStoreName() :
string{
return $this->storeName; }
34 public static function read(ByteBufferReader $in) :
self{
35 $storeId = CommonTypes::getString($in);
36 $storeName = CommonTypes::getString($in);
38 return new self($storeId, $storeName);
41 public function write(ByteBufferWriter $out) :
void{
42 CommonTypes::putString($out, $this->storeId);
43 CommonTypes::putString($out, $this->storeName);