| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156 |
- <?php
- namespace Com\Pdd\Pop\Sdk\Api\Request;
- use Com\Pdd\Pop\Sdk\PopBaseHttpRequest;
- use Com\Pdd\Pop\Sdk\PopBaseJsonEntity;
- class PddCloudSecurityEventTrackingBatchOrderRequest extends PopBaseHttpRequest
- {
- public function __construct()
- {
- }
- /**
- * @JsonProperty(Integer, "eventType")
- */
- private $eventType;
- /**
- * @JsonProperty(List<\Com\Pdd\Pop\Sdk\Api\Request\PddCloudSecurityEventTrackingBatchOrderRequest_OrderEventsItem>, "orderEvents")
- */
- private $orderEvents;
- protected function setUserParams(&$params)
- {
- $this->setUserParam($params, "eventType", $this->eventType);
- $this->setUserParam($params, "orderEvents", $this->orderEvents);
- }
- public function getVersion()
- {
- return "V1";
- }
- public function getDataType()
- {
- return "JSON";
- }
- public function getType()
- {
- return "pdd.cloud.security.event.tracking.batch.order";
- }
- public function setEventType($eventType)
- {
- $this->eventType = $eventType;
- }
- public function setOrderEvents($orderEvents)
- {
- $this->orderEvents = $orderEvents;
- }
- }
- class PddCloudSecurityEventTrackingBatchOrderRequest_OrderEventsItem extends PopBaseJsonEntity
- {
- public function __construct()
- {
- }
- /**
- * @JsonProperty(List<Long>, "mallIdList")
- */
- private $mallIdList;
- /**
- * @JsonProperty(String, "operation")
- */
- private $operation;
- /**
- * @JsonProperty(List<String>, "orderList")
- */
- private $orderList;
- /**
- * @JsonProperty(String, "pati")
- */
- private $pati;
- /**
- * @JsonProperty(String, "sendTo")
- */
- private $sendTo;
- /**
- * @JsonProperty(Long, "timestamp")
- */
- private $timestamp;
- /**
- * @JsonProperty(String, "url")
- */
- private $url;
- /**
- * @JsonProperty(String, "userId")
- */
- private $userId;
- /**
- * @JsonProperty(String, "userIp")
- */
- private $userIp;
- public function setMallIdList($mallIdList)
- {
- $this->mallIdList = $mallIdList;
- }
- public function setOperation($operation)
- {
- $this->operation = $operation;
- }
- public function setOrderList($orderList)
- {
- $this->orderList = $orderList;
- }
- public function setPati($pati)
- {
- $this->pati = $pati;
- }
- public function setSendTo($sendTo)
- {
- $this->sendTo = $sendTo;
- }
- public function setTimestamp($timestamp)
- {
- $this->timestamp = $timestamp;
- }
- public function setUrl($url)
- {
- $this->url = $url;
- }
- public function setUserId($userId)
- {
- $this->userId = $userId;
- }
- public function setUserIp($userIp)
- {
- $this->userIp = $userIp;
- }
- }
|