PddVasOrderSearchRequest.php 2.8 KB
Newer Older
李光春's avatar
李光春 已提交
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154
<?php
namespace Com\Pdd\Pop\Sdk\Api\Request;

use Com\Pdd\Pop\Sdk\PopBaseHttpRequest;
use Com\Pdd\Pop\Sdk\PopBaseJsonEntity;

class PddVasOrderSearchRequest extends PopBaseHttpRequest
{
    public function __construct()
	{

	}
	/**
	* @JsonProperty(Long, "create_time_end")
	*/
	private $createTimeEnd;

	/**
	* @JsonProperty(Long, "create_time_start")
	*/
	private $createTimeStart;

	/**
	* @JsonProperty(Long, "mall_id")
	*/
	private $mallId;

	/**
	* @JsonProperty(String, "order_sn")
	*/
	private $orderSn;

	/**
	* @JsonProperty(Integer, "order_status")
	*/
	private $orderStatus;

	/**
	* @JsonProperty(Integer, "page")
	*/
	private $page;

	/**
	* @JsonProperty(Integer, "page_size")
	*/
	private $pageSize;

	/**
	* @JsonProperty(Long, "pay_time_end")
	*/
	private $payTimeEnd;

	/**
	* @JsonProperty(Long, "pay_time_start")
	*/
	private $payTimeStart;

	/**
	* @JsonProperty(Long, "sku_id")
	*/
	private $skuId;

	/**
	* @JsonProperty(Integer, "refund_status")
	*/
	private $refundStatus;

	protected function setUserParams(&$params)
	{
		$this->setUserParam($params, "create_time_end", $this->createTimeEnd);
		$this->setUserParam($params, "create_time_start", $this->createTimeStart);
		$this->setUserParam($params, "mall_id", $this->mallId);
		$this->setUserParam($params, "order_sn", $this->orderSn);
		$this->setUserParam($params, "order_status", $this->orderStatus);
		$this->setUserParam($params, "page", $this->page);
		$this->setUserParam($params, "page_size", $this->pageSize);
		$this->setUserParam($params, "pay_time_end", $this->payTimeEnd);
		$this->setUserParam($params, "pay_time_start", $this->payTimeStart);
		$this->setUserParam($params, "sku_id", $this->skuId);
		$this->setUserParam($params, "refund_status", $this->refundStatus);

	}

	public function getVersion()
	{
		return "V1";
	}

	public function getDataType()
	{
		return "JSON";
	}

	public function getType()
	{
		return "pdd.vas.order.search";
	}

	public function setCreateTimeEnd($createTimeEnd)
	{
		$this->createTimeEnd = $createTimeEnd;
	}

	public function setCreateTimeStart($createTimeStart)
	{
		$this->createTimeStart = $createTimeStart;
	}

	public function setMallId($mallId)
	{
		$this->mallId = $mallId;
	}

	public function setOrderSn($orderSn)
	{
		$this->orderSn = $orderSn;
	}

	public function setOrderStatus($orderStatus)
	{
		$this->orderStatus = $orderStatus;
	}

	public function setPage($page)
	{
		$this->page = $page;
	}

	public function setPageSize($pageSize)
	{
		$this->pageSize = $pageSize;
	}

	public function setPayTimeEnd($payTimeEnd)
	{
		$this->payTimeEnd = $payTimeEnd;
	}

	public function setPayTimeStart($payTimeStart)
	{
		$this->payTimeStart = $payTimeStart;
	}

	public function setSkuId($skuId)
	{
		$this->skuId = $skuId;
	}

	public function setRefundStatus($refundStatus)
	{
		$this->refundStatus = $refundStatus;
	}

}