-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
ConnorCho
committed
Sep 14, 2018
1 parent
a687fb9
commit 132f662
Showing
6 changed files
with
176 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
<?php | ||
/** | ||
* @link https://www.init.lu | ||
* @author Cao Kang(caokang@outlook.com) | ||
* Date: 2018/9/14 | ||
* Time: 上午10:49 | ||
* Source: GetSkuGiftClient.php | ||
* Project: libjdvop | ||
*/ | ||
|
||
namespace Zeevin\Libjdvop\Product; | ||
|
||
|
||
class GetSkuGiftClient | ||
{ | ||
protected $domain = 'product'; | ||
protected $prefix = 'getSkuGift'; | ||
protected $method = 'POST'; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,148 @@ | ||
<?php | ||
/** | ||
* @link https://www.init.lu | ||
* @author Cao Kang(caokang@outlook.com) | ||
* Date: 2018/9/14 | ||
* Time: 上午10:47 | ||
* Source: Request.php | ||
* Project: libjdvop | ||
*/ | ||
|
||
namespace Zeevin\Libjdvop\Product\RequestAttribute\GetSkuGift; | ||
|
||
|
||
use JMS\Serializer\Annotation as JMS; | ||
use JMS\Serializer\Annotation\SerializedName; | ||
use Zeevin\Libjdvop\Core\BaseRequestAttribute; | ||
|
||
class Request extends BaseRequestAttribute | ||
{ | ||
/** | ||
* 商品编号 | ||
* @JMS\XmlElement(cdata=false) | ||
* @SerializedName("skuId") | ||
* @JMS\Type("string") | ||
*/ | ||
protected $skuId; | ||
/** | ||
* @JMS\XmlElement(cdata=false) | ||
* @SerializedName("province") | ||
* @JMS\Type("integer") | ||
*/ | ||
protected $province; | ||
/** | ||
* @JMS\XmlElement(cdata=false) | ||
* @SerializedName("city") | ||
* @JMS\Type("integer") | ||
*/ | ||
protected $city; | ||
/** | ||
* @JMS\XmlElement(cdata=false) | ||
* @SerializedName("county") | ||
* @JMS\Type("integer") | ||
*/ | ||
protected $county; | ||
/** | ||
* @JMS\XmlElement(cdata=false) | ||
* @SerializedName("town") | ||
* @JMS\Type("integer") | ||
*/ | ||
protected $town; | ||
|
||
/** | ||
* @return mixed | ||
*/ | ||
public function getSkuIds() | ||
{ | ||
return $this->skuIds; | ||
} | ||
|
||
/** | ||
* @param $skuId | ||
* | ||
* @return $this | ||
*/ | ||
public function setSkuId($skuId) | ||
{ | ||
$this->skuId = $skuId; | ||
return $this; | ||
} | ||
|
||
/** | ||
* @return mixed | ||
*/ | ||
public function getProvince() | ||
{ | ||
return $this->province; | ||
} | ||
|
||
/** | ||
* @param $province | ||
* | ||
* @return $this | ||
*/ | ||
public function setProvince($province) | ||
{ | ||
$this->province = $province; | ||
return $this; | ||
} | ||
|
||
/** | ||
* @return mixed | ||
*/ | ||
public function getCity() | ||
{ | ||
return $this->city; | ||
} | ||
|
||
/** | ||
* @param $city | ||
* | ||
* @return $this | ||
*/ | ||
public function setCity($city) | ||
{ | ||
$this->city = $city; | ||
return $this; | ||
} | ||
|
||
/** | ||
* @return mixed | ||
*/ | ||
public function getCounty() | ||
{ | ||
return $this->county; | ||
} | ||
|
||
/** | ||
* @param $county | ||
* | ||
* @return $this | ||
*/ | ||
public function setCounty($county) | ||
{ | ||
$this->county = $county; | ||
return $this; | ||
} | ||
|
||
/** | ||
* @return mixed | ||
*/ | ||
public function getTown() | ||
{ | ||
return $this->town; | ||
} | ||
|
||
/** | ||
* @param $town | ||
* | ||
* @return $this | ||
*/ | ||
public function setTown($town) | ||
{ | ||
$this->town = $town; | ||
return $this; | ||
} | ||
|
||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters