MfaInnerValidateMsgCodeRequest.php 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879
  1. <?php
  2. class MfaInnerValidateMsgCodeRequest
  3. {
  4. private $apiParas = array();
  5. public function getApiMethodName(){
  6. return "jingdong.mfa.inner.validateMsgCode";
  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 $msgCode;
  28. public function setMsgCode($msgCode){
  29. $this->msgCode = $msgCode;
  30. $this->apiParas["msgCode"] = $msgCode;
  31. }
  32. public function getMsgCode(){
  33. return $this->msgCode;
  34. }
  35. private $rKey;
  36. public function setRKey($rKey){
  37. $this->rKey = $rKey;
  38. $this->apiParas["rKey"] = $rKey;
  39. }
  40. public function getRKey(){
  41. return $this->rKey;
  42. }
  43. private $validateType;
  44. public function setValidateType($validateType){
  45. $this->validateType = $validateType;
  46. $this->apiParas["validateType"] = $validateType;
  47. }
  48. public function getValidateType(){
  49. return $this->validateType;
  50. }
  51. }