<?php
namespace jd_vop\request\order;
use jd_vop\request\Request;
class GetPromiseTips extends Request
{
protected static $uri = "api/order/getPromiseTips";
public $token;
public $skuId;
public $num;
public $province;
public $city;
public $county;
public $town;
public function __construct(string $token, string $skuId, string $num, int $province, int $city, int $county, int $town)
{
parent::__construct();
$this->token = $token;
$this->skuId = $skuId;
$this->num = $num;
$this->province = $province;
$this->city = $city;
$this->county = $county;
$this->town = $town;
}
public function params(): array
{
return [
'token' => $this->token,
'skuId' => $this->skuId,
'num' => $this->num,
'province' => $this->province,
'city' => $this->city,
'county' => $this->county,
'town' => $this->town,
];
}
}