CpDefaultChannelGetReq.php 650 B

12345678910111213141516171819202122232425262728293031323334353637
  1. <?php
  2. namespace UnionOpenCpChannelDefaultGet;
  3. class CpDefaultChannelGetReq{
  4. private $params=array();
  5. function __construct(){
  6. $this->params["@type"]="com.jd.union.open.gateway.api.dto.cp.CpDefaultChannelReq";
  7. }
  8. private $pin;
  9. public function setPin($pin){
  10. $this->params['pin'] = $pin;
  11. }
  12. public function getPin(){
  13. return $this->pin;
  14. }
  15. private $id;
  16. public function setId($id){
  17. $this->params['id'] = $id;
  18. }
  19. public function getId(){
  20. return $this->id;
  21. }
  22. function getInstance(){
  23. return $this->params;
  24. }
  25. }
  26. ?>