ChannelRelationGetReq.php 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  1. <?php
  2. namespace UnionOpenChannelRelationGet;
  3. class ChannelRelationGetReq{
  4. private $params=array();
  5. function __construct(){
  6. $this->params["@type"]="com.jd.union.open.gateway.api.dto.channel.relation.ChannelRelationGetReq";
  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 $inviteCode;
  16. public function setInviteCode($inviteCode){
  17. $this->params['inviteCode'] = $inviteCode;
  18. }
  19. public function getInviteCode(){
  20. return $this->inviteCode;
  21. }
  22. private $note;
  23. public function setNote($note){
  24. $this->params['note'] = $note;
  25. }
  26. public function getNote(){
  27. return $this->note;
  28. }
  29. private $channelNote;
  30. public function setChannelNote($channelNote){
  31. $this->params['channelNote'] = $channelNote;
  32. }
  33. public function getChannelNote(){
  34. return $this->channelNote;
  35. }
  36. function getInstance(){
  37. return $this->params;
  38. }
  39. }
  40. ?>