No Description

UmengUappGetNewAccountsParam.class.php 2.8KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112
  1. <?php
  2. include_once (app_path('/libs/Umeng/').'com/alibaba/openapi/client/entity/SDKDomain.class.php');
  3. include_once (app_path('/libs/Umeng/').'com/alibaba/openapi/client/entity/ByteArray.class.php');
  4. class UmengUappGetNewAccountsParam {
  5. /**
  6. * @return 应用ID
  7. */
  8. public function getAppkey() {
  9. $tempResult = $this->sdkStdResult["appkey"];
  10. return $tempResult;
  11. }
  12. /**
  13. * 设置应用ID
  14. * @param String $appkey
  15. * 参数示例:<pre></pre>
  16. * 此参数必填 */
  17. public function setAppkey( $appkey) {
  18. $this->sdkStdResult["appkey"] = $appkey;
  19. }
  20. /**
  21. * @return 查询起始日期
  22. */
  23. public function getStartDate() {
  24. $tempResult = $this->sdkStdResult["startDate"];
  25. return $tempResult;
  26. }
  27. /**
  28. * 设置查询起始日期
  29. * @param String $startDate
  30. * 参数示例:<pre>2018-01-01</pre>
  31. * 此参数必填 */
  32. public function setStartDate( $startDate) {
  33. $this->sdkStdResult["startDate"] = $startDate;
  34. }
  35. /**
  36. * @return 查询截止日期
  37. */
  38. public function getEndDate() {
  39. $tempResult = $this->sdkStdResult["endDate"];
  40. return $tempResult;
  41. }
  42. /**
  43. * 设置查询截止日期
  44. * @param String $endDate
  45. * 参数示例:<pre>2018-01-01</pre>
  46. * 此参数必填 */
  47. public function setEndDate( $endDate) {
  48. $this->sdkStdResult["endDate"] = $endDate;
  49. }
  50. /**
  51. * @return 查询类型(按日daily,按周weekly,按月monthly 查询)
  52. */
  53. public function getPeriodType() {
  54. $tempResult = $this->sdkStdResult["periodType"];
  55. return $tempResult;
  56. }
  57. /**
  58. * 设置查询类型(按日daily,按周weekly,按月monthly 查询)
  59. * @param String $periodType
  60. * 参数示例:<pre>daily</pre>
  61. * 此参数为可选参数
  62. * 默认值:<pre>daily</pre>
  63. */
  64. public function setPeriodType( $periodType) {
  65. $this->sdkStdResult["periodType"] = $periodType;
  66. }
  67. /**
  68. * @return 渠道名称(仅限一个App%20Store)
  69. */
  70. public function getChannel() {
  71. $tempResult = $this->sdkStdResult["channel"];
  72. return $tempResult;
  73. }
  74. /**
  75. * 设置渠道名称(仅限一个App%20Store)
  76. * @param String $channel
  77. * 参数示例:<pre>App%20Store</pre>
  78. * 此参数为可选参数
  79. * 默认值:<pre></pre>
  80. */
  81. public function setChannel( $channel) {
  82. $this->sdkStdResult["channel"] = $channel;
  83. }
  84. private $sdkStdResult=array();
  85. public function getSdkStdResult(){
  86. return $this->sdkStdResult;
  87. }
  88. }
  89. ?>