MfaInnerSendCodeToMobileRequest.php 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768
  1. <?php
  2. class MfaInnerSendCodeToMobileRequest
  3. {
  4. private $apiParas = array();
  5. public function getApiMethodName(){
  6. return "jingdong.mfa.inner.sendCodeToMobile";
  7. }
  8. public function getApiParas(){
  9. if(empty($this->apiParas)){
  10. return "{}";
  11. }
  12. return $this->apiParas;
  13. }
  14. public function check(){
  15. }
  16. public function putOtherTextParam($key, $value){
  17. $this->apiParas[$key] = $value;
  18. $this->$key = $value;
  19. }
  20. private $version;
  21. public function setVersion($version){
  22. $this->version = $version;
  23. }
  24. public function getVersion(){
  25. return $this->version;
  26. }
  27. private $rKey;
  28. public function setRKey($rKey){
  29. $this->rKey = $rKey;
  30. $this->apiParas["rKey"] = $rKey;
  31. }
  32. public function getRKey(){
  33. return $this->rKey;
  34. }
  35. private $validateType;
  36. public function setValidateType($validateType){
  37. $this->validateType = $validateType;
  38. $this->apiParas["validateType"] = $validateType;
  39. }
  40. public function getValidateType(){
  41. return $this->validateType;
  42. }
  43. }