eee
This commit is contained in:
@@ -0,0 +1,22 @@
|
||||
<?php
|
||||
|
||||
namespace wchat\wx\V3\Libs;
|
||||
|
||||
class GoodsInfo
|
||||
{
|
||||
public string $ProductId;
|
||||
public int $Quantity;
|
||||
public int $OrigPrice;
|
||||
public int $ActualPrice;
|
||||
public string $Attach;
|
||||
|
||||
public function __construct(array $data)
|
||||
{
|
||||
$this->ProductId = $data['ProductId'];
|
||||
$this->Quantity = $data['Quantity'];
|
||||
$this->OrigPrice = $data['OrigPrice'];
|
||||
$this->ActualPrice = $data['ActualPrice'];
|
||||
$this->Attach = $data['Attach'];
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user