PddAdApiPlanDeleteRequest.php 869 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. <?php
  2. namespace Com\Pdd\Pop\Sdk\Api\Request;
  3. use Com\Pdd\Pop\Sdk\PopBaseHttpRequest;
  4. use Com\Pdd\Pop\Sdk\PopBaseJsonEntity;
  5. class PddAdApiPlanDeleteRequest extends PopBaseHttpRequest
  6. {
  7. public function __construct()
  8. {
  9. }
  10. /**
  11. * @JsonProperty(Long, "planId")
  12. */
  13. private $planId;
  14. /**
  15. * @JsonProperty(Integer, "scenesType")
  16. */
  17. private $scenesType;
  18. protected function setUserParams(&$params)
  19. {
  20. $this->setUserParam($params, "planId", $this->planId);
  21. $this->setUserParam($params, "scenesType", $this->scenesType);
  22. }
  23. public function getVersion()
  24. {
  25. return "V1";
  26. }
  27. public function getDataType()
  28. {
  29. return "JSON";
  30. }
  31. public function getType()
  32. {
  33. return "pdd.ad.api.plan.delete";
  34. }
  35. public function setPlanId($planId)
  36. {
  37. $this->planId = $planId;
  38. }
  39. public function setScenesType($scenesType)
  40. {
  41. $this->scenesType = $scenesType;
  42. }
  43. }