Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
278 changes: 278 additions & 0 deletions jd/request/AscQueryListRequest.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,278 @@
<?php
namespace Jd\request;

class AscQueryListRequest
{
private $apiParas = array();
private $buId;
private $operatePin;
private $operateNick;
private $serviceId;
private $orderId;
private $applyTimeBegin;
private $applyTimeEnd;
private $finishTimeBegin;
private $finishTimeEnd;
private $verificationCode;
private $expressCode;
private $orderType;
private $processResult;
private $customerPin;
private $customerName;
private $customerTel;
private $approveTimeBegin;
private $approveTimeEnd;
private $pageSize;
private $extJsonStr;
private $pageNumber;

public function getApiMethodName()
{
return "jingdong.asc.query.list";
}

public function getApiParas()
{
return json_encode($this->apiParas);
}

public function check()
{}

public function putOtherTextParam($key, $value)
{
$this->apiParas[$key] = $value;
$this->$key = $value;
}

public function setBuId($buId)
{
$this->buId = $buId;
$this->apiParas["buId"] = $buId;
}

public function getBuId()
{
return $this->buId;
}

public function setOperatePin($operatePin)
{
$this->operatePin = $operatePin;
$this->apiParas["operatePin"] = $operatePin;
}

public function getOperatePin()
{
return $this->operatePin;
}

public function setOperateNick($operateNick)
{
$this->operateNick = $operateNick;
$this->apiParas["operateNick"] = $operateNick;
}

public function getOperateNick()
{
return $this->operateNick;
}

public function setServiceId($serviceId)
{
$this->serviceId = $serviceId;
$this->apiParas["serviceId"] = $serviceId;
}

public function getServiceId()
{
return $this->serviceId;
}

public function setOrderId($orderId)
{
$this->orderId = $orderId;
$this->apiParas["orderId"] = $orderId;
}

public function getOrderId()
{
return $this->orderId;
}

public function setApplyTimeBegin($applyTimeBegin)
{
$this->applyTimeBegin = $applyTimeBegin;
$this->apiParas["applyTimeBegin"] = $applyTimeBegin;
}

public function getApplyTimeBegin()
{
return $this->applyTimeBegin;
}

public function setApplyTimeEnd($applyTimeEnd)
{
$this->applyTimeEnd = $applyTimeEnd;
$this->apiParas["applyTimeEnd"] = $applyTimeEnd;
}

public function getApplyTimeEnd()
{
return $this->applyTimeEnd;
}

public function setFinishTimeBegin($finishTimeBegin)
{
$this->finishTimeBegin = $finishTimeBegin;
$this->apiParas["finishTimeBegin"] = $finishTimeBegin;
}

public function getFinishTimeBegin()
{
return $this->finishTimeBegin;
}

public function setFinishTimeEnd($finishTimeEnd)
{
$this->finishTimeEnd = $finishTimeEnd;
$this->apiParas["finishTimeEnd"] = $finishTimeEnd;
}

public function getFinishTimeEnd()
{
return $this->finishTimeEnd;
}

public function setVerificationCode($verificationCode)
{
$this->verificationCode = $verificationCode;
$this->apiParas["verificationCode"] = $verificationCode;
}

public function getVerificationCode()
{
return $this->verificationCode;
}

public function setExpressCode($expressCode)
{
$this->expressCode = $expressCode;
$this->apiParas["expressCode"] = $expressCode;
}

public function getExpressCode()
{
return $this->expressCode;
}

public function setOrderType($orderType)
{
$this->orderType = $orderType;
$this->apiParas["orderType"] = $orderType;
}

public function getOrderType()
{
return $this->orderType;
}

public function setProcessResult($processResult)
{
$this->processResult = $processResult;
$this->apiParas["processResult"] = $processResult;
}

public function getProcessResult()
{
return $this->processResult;
}

public function setCustomerPin($customerPin)
{
$this->customerPin = $customerPin;
$this->apiParas["customerPin"] = $customerPin;
}

public function getCustomerPin()
{
return $this->customerPin;
}

public function setCustomerName($customerName)
{
$this->customerName = $customerName;
$this->apiParas["customerName"] = $customerName;
}

public function getCustomerName()
{
return $this->customerName;
}

public function setCustomerTel($customerTel)
{
$this->customerTel = $customerTel;
$this->apiParas["customerTel"] = $customerTel;
}

public function getCustomerTel()
{
return $this->customerTel;
}

public function setApproveTimeBegin($approveTimeBegin)
{
$this->approveTimeBegin = $approveTimeBegin;
$this->apiParas["approveTimeBegin"] = $approveTimeBegin;
}

public function getApproveTimeBegin()
{
return $this->approveTimeBegin;
}

public function setApproveTimeEnd($approveTimeEnd)
{
$this->approveTimeEnd = $approveTimeEnd;
$this->apiParas["approveTimeEnd"] = $approveTimeEnd;
}

public function getApproveTimeEnd()
{
return $this->approveTimeEnd;
}

public function setPageNumber($pageNumber)
{
$this->pageNumber = $pageNumber;
$this->apiParas["pageNumber"] = $pageNumber;
}

public function getPageNumber()
{
return $this->pageNumber;
}

public function setPageSize($pageSize)
{
$this->pageSize = $pageSize;
$this->apiParas["pageSize"] = $pageSize;
}

public function getPageSize()
{
return $this->pageSize;
}

public function setExtJsonStr($extJsonStr)
{
$this->extJsonStr = $extJsonStr;
$this->apiParas["extJsonStr"] = $extJsonStr;
}

public function getExtJsonStr()
{
return $this->extJsonStr;
}
}
39 changes: 39 additions & 0 deletions jd/request/DeliveryCompanyRequest.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
<?php
namespace Jd\request;

class Request
{
private $apiParas = array();
private $fields;

public function getApiMethodName()
{
return "360buy.get.vender.all.delivery.company";
}

public function getApiParas()
{
return json_encode($this->apiParas);
}

public function check()
{
}

public function putOtherTextParam($key, $value)
{
$this->apiParas[$key] = $value;
$this->$key = $value;
}

public function setFields($fields)
{
$this->fields = $fields;
$this->apiParas["fields"] = $fields;
}

public function getFields()
{
return $this->fields;
}
}
74 changes: 74 additions & 0 deletions jd/request/PopOrderNotPayOrderInfoRequest.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,74 @@
<?php
namespace Jd\request;

class PopOrderNotPayOrderInfoRequest
{
private $apiParas = array();
private $startDate;
private $endDate;
private $page;
private $pageSize;

public function getApiMethodName()
{
return "jingdong.pop.order.notPayOrderInfo";
}

public function getApiParas()
{
return json_encode($this->apiParas);
}

public function check()
{}

public function putOtherTextParam($key, $value)
{
$this->apiParas[$key] = $value;
$this->$key = $value;
}

public function setStartDate($startDate)
{
$this->startDate = $startDate;
$this->apiParas["startDate"] = $startDate;
}

public function getStartDate()
{
return $this->startDate;
}

public function setEndDate($endDate)
{
$this->endDate = $endDate;
$this->apiParas["endDate"] = $endDate;
}

public function getEndDate()
{
return $this->endDate;
}

public function setPage($page)
{
$this->page = $page;
$this->apiParas["page"] = $page;
}

public function getPage()
{
return $this->page;
}

public function setPageSize($pageSize)
{
$this->pageSize = $pageSize;
$this->apiParas["pageSize"] = $pageSize;
}

public function getPageSize()
{
return $this->pageSize;
}
}