| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859 |
- <?php
- class KplOpenNosecretpaySavetokenRequest
- {
- public function __construct()
- {
- $this->version = "1.0";
- }
- private $apiParas = array();
-
- public function getApiMethodName(){
- return "jd.kpl.open.nosecretpay.savetoken";
- }
-
- public function getApiParas(){
- if(empty($this->apiParas)){
- return "{}";
- }
- return $this->apiParas;
- }
-
- public function check(){
-
- }
-
- public function putOtherTextParam($key, $value){
- $this->apiParas[$key] = $value;
- $this->$key = $value;
- }
- private $version;
- public function setVersion($version){
- $this->version = $version;
- }
- public function getVersion(){
- return $this->version;
- }
- private $req;
- public function setReq($req){
- $this->apiParas['req'] = $req;
- }
- public function getReq(){
- return $this->apiParas['req'];
- }
- private $ptKey;
- public function setPtKey($ptKey){
- $this->apiParas['ptKey'] = $ptKey;
- }
- public function getPtKey(){
- return $this->apiParas['ptKey'];
- }
- }
- ?>
|