AlibabaAliqinFcIotCardofferRequest.php 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  1. <?php
  2. /**
  3. * TOP API: alibaba.aliqin.fc.iot.cardoffer request
  4. *
  5. * @author auto create
  6. * @since 1.0, 2017.04.21
  7. */
  8. class AlibabaAliqinFcIotCardofferRequest
  9. {
  10. /**
  11. * 具体ICCID的值
  12. **/
  13. private $billreal;
  14. /**
  15. * ICCID
  16. **/
  17. private $billsource;
  18. private $apiParas = array();
  19. public function setBillreal($billreal)
  20. {
  21. $this->billreal = $billreal;
  22. $this->apiParas["billreal"] = $billreal;
  23. }
  24. public function getBillreal()
  25. {
  26. return $this->billreal;
  27. }
  28. public function setBillsource($billsource)
  29. {
  30. $this->billsource = $billsource;
  31. $this->apiParas["billsource"] = $billsource;
  32. }
  33. public function getBillsource()
  34. {
  35. return $this->billsource;
  36. }
  37. public function getApiMethodName()
  38. {
  39. return "alibaba.aliqin.fc.iot.cardoffer";
  40. }
  41. public function getApiParas()
  42. {
  43. return $this->apiParas;
  44. }
  45. public function check()
  46. {
  47. RequestCheckUtil::checkNotNull($this->billreal,"billreal");
  48. RequestCheckUtil::checkNotNull($this->billsource,"billsource");
  49. }
  50. public function putOtherTextParam($key, $value) {
  51. $this->apiParas[$key] = $value;
  52. $this->$key = $value;
  53. }
  54. }