CouponReq.php 539 B

123456789101112131415161718192021222324252627
  1. <?php
  2. namespace UnionOpenCouponGiftStop;
  3. class CouponReq{
  4. private $params=array();
  5. function __construct(){
  6. $this->params["@type"]="com.jd.union.open.gateway.api.dto.coupon.gift.StopGiftCouponReq";
  7. }
  8. private $giftCouponKey;
  9. public function setGiftCouponKey($giftCouponKey){
  10. $this->params['giftCouponKey'] = $giftCouponKey;
  11. }
  12. public function getGiftCouponKey(){
  13. return $this->giftCouponKey;
  14. }
  15. function getInstance(){
  16. return $this->params;
  17. }
  18. }
  19. ?>