优惠券订单及其他脚本

TbkDgPunishOrderGetRequest.php 773B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. <?php
  2. /**
  3. * TOP API: taobao.tbk.dg.punish.order.get request
  4. *
  5. * @author auto create
  6. * @since 1.0, 2019.04.04
  7. */
  8. class TbkDgPunishOrderGetRequest
  9. {
  10. /**
  11. * 入参的对象
  12. **/
  13. private $afOrderOption;
  14. private $apiParas = array();
  15. public function setAfOrderOption($afOrderOption)
  16. {
  17. $this->afOrderOption = $afOrderOption;
  18. $this->apiParas["af_order_option"] = $afOrderOption;
  19. }
  20. public function getAfOrderOption()
  21. {
  22. return $this->afOrderOption;
  23. }
  24. public function getApiMethodName()
  25. {
  26. return "taobao.tbk.dg.punish.order.get";
  27. }
  28. public function getApiParas()
  29. {
  30. return $this->apiParas;
  31. }
  32. public function check()
  33. {
  34. }
  35. public function putOtherTextParam($key, $value) {
  36. $this->apiParas[$key] = $value;
  37. $this->$key = $value;
  38. }
  39. }