shop-php/extend/taobao/request/TbkDgNewuserOrderGetRequest.php
2023-10-10 14:54:50 +08:00

129 lines
2.4 KiB
PHP
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<?php
/**
* TOP API: taobao.tbk.dg.newuser.order.get request
*
* @author auto create
* @since 1.0, 2021.11.23
*/
class TbkDgNewuserOrderGetRequest
{
/**
* 活动id 活动名称与活动ID列表该字段已废弃
**/
private $activityId;
/**
* mm_xxx_xxx_xxx的第三位
**/
private $adzoneId;
/**
* 结束时间,当活动为淘宝活动,表示最晚结束时间;当活动为支付宝活动,表示最晚绑定时间;当活动为天猫活动,表示最晚领取红包的时间
**/
private $endTime;
/**
* 页码默认1
**/
private $pageNo;
/**
* 页大小默认201~100
**/
private $pageSize;
/**
* 开始时间,当活动为淘宝活动,表示最早注册时间;当活动为支付宝活动,表示最早绑定时间;当活动为天猫活动,表示最早领取红包时间
**/
private $startTime;
private $apiParas = array();
public function setActivityId($activityId)
{
$this->activityId = $activityId;
$this->apiParas["activity_id"] = $activityId;
}
public function getActivityId()
{
return $this->activityId;
}
public function setAdzoneId($adzoneId)
{
$this->adzoneId = $adzoneId;
$this->apiParas["adzone_id"] = $adzoneId;
}
public function getAdzoneId()
{
return $this->adzoneId;
}
public function setEndTime($endTime)
{
$this->endTime = $endTime;
$this->apiParas["end_time"] = $endTime;
}
public function getEndTime()
{
return $this->endTime;
}
public function setPageNo($pageNo)
{
$this->pageNo = $pageNo;
$this->apiParas["page_no"] = $pageNo;
}
public function getPageNo()
{
return $this->pageNo;
}
public function setPageSize($pageSize)
{
$this->pageSize = $pageSize;
$this->apiParas["page_size"] = $pageSize;
}
public function getPageSize()
{
return $this->pageSize;
}
public function setStartTime($startTime)
{
$this->startTime = $startTime;
$this->apiParas["start_time"] = $startTime;
}
public function getStartTime()
{
return $this->startTime;
}
public function getApiMethodName()
{
return "taobao.tbk.dg.newuser.order.get";
}
public function getApiParas()
{
return $this->apiParas;
}
public function check()
{
RequestCheckUtil::checkNotNull($this->activityId,"activityId");
}
public function putOtherTextParam($key, $value) {
$this->apiParas[$key] = $value;
$this->$key = $value;
}
}