SecretThemeReq.php 706 B

12345678910111213141516171819202122232425262728293031323334353637
  1. <?php
  2. namespace UnionOpenPromotionSecretthemeQuery;
  3. class SecretThemeReq{
  4. private $params=array();
  5. function __construct(){
  6. $this->params["@type"]="com.jd.union.open.gateway.api.dto.promotion.secret.SecretThemeReq";
  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 $queryType;
  16. public function setQueryType($queryType){
  17. $this->params['queryType'] = $queryType;
  18. }
  19. public function getQueryType(){
  20. return $this->queryType;
  21. }
  22. function getInstance(){
  23. return $this->params;
  24. }
  25. }
  26. ?>