ChannelInviteReq.php 943 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. <?php
  2. namespace UnionOpenChannelInvitecodeGet;
  3. class ChannelInviteReq{
  4. private $params=array();
  5. function __construct(){
  6. $this->params["@type"]="com.jd.union.open.gateway.api.dto.channel.invite.ChannelInviteReq";
  7. }
  8. private $inviteType;
  9. public function setInviteType($inviteType){
  10. $this->params['inviteType'] = $inviteType;
  11. }
  12. public function getInviteType(){
  13. return $this->inviteType;
  14. }
  15. private $channelType;
  16. public function setChannelType($channelType){
  17. $this->params['channelType'] = $channelType;
  18. }
  19. public function getChannelType(){
  20. return $this->channelType;
  21. }
  22. private $pin;
  23. public function setPin($pin){
  24. $this->params['pin'] = $pin;
  25. }
  26. public function getPin(){
  27. return $this->pin;
  28. }
  29. function getInstance(){
  30. return $this->params;
  31. }
  32. }
  33. ?>