コード例 #1
0
 public function check()
 {
     RequestCheckUtil::checkMaxListSize($this->groupNames, 20, "groupNames");
     RequestCheckUtil::checkMinValue($this->pageNo, 1, "pageNo");
     RequestCheckUtil::checkMaxValue($this->pageSize, 100, "pageSize");
     RequestCheckUtil::checkMinValue($this->pageSize, 1, "pageSize");
 }
コード例 #2
0
 public function check()
 {
     RequestCheckUtil::checkNotNull($this->destItemList, "destItemList");
     RequestCheckUtil::checkMaxListSize($this->destItemList, 20, "destItemList");
     RequestCheckUtil::checkNotNull($this->itemId, "itemId");
     RequestCheckUtil::checkMaxListSize($this->proportionList, 20, "proportionList");
 }
コード例 #3
0
 public function check()
 {
     RequestCheckUtil::checkNotNull($this->groupName, "groupName");
     RequestCheckUtil::checkMaxLength($this->groupName, 32, "groupName");
     RequestCheckUtil::checkNotNull($this->nicks, "nicks");
     RequestCheckUtil::checkMaxListSize($this->nicks, 200, "nicks");
 }
コード例 #4
0
 public function check()
 {
     RequestCheckUtil::checkNotNull($this->itemId, "itemId");
     RequestCheckUtil::checkNotNull($this->ownerUserId, "ownerUserId");
     RequestCheckUtil::checkNotNull($this->proportion, "proportion");
     RequestCheckUtil::checkMaxListSize($this->proportion, 20, "proportion");
 }
コード例 #5
0
 public function check()
 {
     RequestCheckUtil::checkNotNull($this->endDate, "endDate");
     RequestCheckUtil::checkNotNull($this->serviceStaffId, "serviceStaffId");
     RequestCheckUtil::checkMaxListSize($this->serviceStaffId, 30, "serviceStaffId");
     RequestCheckUtil::checkNotNull($this->startDate, "startDate");
 }
コード例 #6
0
 public function check()
 {
     RequestCheckUtil::checkNotNull($this->btime, "btime");
     RequestCheckUtil::checkNotNull($this->etime, "etime");
     RequestCheckUtil::checkNotNull($this->queryIds, "queryIds");
     RequestCheckUtil::checkMaxListSize($this->queryIds, 30, "queryIds");
 }
コード例 #7
0
 public function check()
 {
     RequestCheckUtil::checkNotNull($this->fields, "fields");
     RequestCheckUtil::checkMaxListSize($this->fields, 100, "fields");
     RequestCheckUtil::checkNotNull($this->refundId, "refundId");
     RequestCheckUtil::checkMaxValue($this->refundId, 9223372036854775807, "refundId");
     RequestCheckUtil::checkMinValue($this->refundId, 1, "refundId");
 }
コード例 #8
0
 public function check()
 {
     RequestCheckUtil::checkMaxLength($this->description, 20, "description");
     RequestCheckUtil::checkNotNull($this->name, "name");
     RequestCheckUtil::checkMaxLength($this->name, 20, "name");
     RequestCheckUtil::checkNotNull($this->nick, "nick");
     RequestCheckUtil::checkMaxLength($this->nick, 500, "nick");
     RequestCheckUtil::checkMaxListSize($this->permissionCodes, 2000, "permissionCodes");
 }
コード例 #9
0
 public function check()
 {
     RequestCheckUtil::checkNotNull($this->btime, "btime");
     RequestCheckUtil::checkMaxLength($this->btime, 19, "btime");
     RequestCheckUtil::checkNotNull($this->etime, "etime");
     RequestCheckUtil::checkMaxLength($this->etime, 19, "etime");
     RequestCheckUtil::checkNotNull($this->uid, "uid");
     RequestCheckUtil::checkMaxListSize($this->uid, 30, "uid");
     RequestCheckUtil::checkMaxLength($this->uid, 1920, "uid");
 }
コード例 #10
0
 public function check()
 {
     RequestCheckUtil::checkMaxListSize($this->groupNames, 20, "groupNames");
 }
コード例 #11
0
 public function check()
 {
     RequestCheckUtil::checkNotNull($this->fields, "fields");
     RequestCheckUtil::checkMaxListSize($this->fields, 1000, "fields");
     RequestCheckUtil::checkMaxListSize($this->numIids, 1000, "numIids");
 }
コード例 #12
0
 public function check()
 {
     RequestCheckUtil::checkNotNull($this->companyCode, "companyCode");
     RequestCheckUtil::checkNotNull($this->outSid, "outSid");
     RequestCheckUtil::checkMaxListSize($this->subTid, 50, "subTid");
     RequestCheckUtil::checkNotNull($this->tid, "tid");
 }
コード例 #13
0
 public function check()
 {
     RequestCheckUtil::checkMaxListSize($this->fMessageIds, 200, "fMessageIds");
     RequestCheckUtil::checkNotNull($this->sMessageIds, "sMessageIds");
     RequestCheckUtil::checkMaxListSize($this->sMessageIds, 200, "sMessageIds");
 }
コード例 #14
0
 public function check()
 {
     RequestCheckUtil::checkNotNull($this->fields, "fields");
     RequestCheckUtil::checkMaxListSize($this->fields, 20, "fields");
     RequestCheckUtil::checkMaxValue($this->pageSize, 150, "pageSize");
     RequestCheckUtil::checkMinValue($this->pageSize, 1, "pageSize");
     RequestCheckUtil::checkMaxLength($this->peerNick, 32, "peerNick");
     RequestCheckUtil::checkNotNull($this->rateType, "rateType");
     RequestCheckUtil::checkNotNull($this->role, "role");
 }
コード例 #15
0
 public function check()
 {
     RequestCheckUtil::checkNotNull($this->dealerOrderIds, "dealerOrderIds");
     RequestCheckUtil::checkMaxListSize($this->dealerOrderIds, 50, "dealerOrderIds");
 }
コード例 #16
0
 public function check()
 {
     RequestCheckUtil::checkNotNull($this->pictureIds, "pictureIds");
     RequestCheckUtil::checkMaxListSize($this->pictureIds, 100, "pictureIds");
 }
コード例 #17
0
 public function check()
 {
     RequestCheckUtil::checkMaxListSize($this->attrKeys, 50, "attrKeys");
     RequestCheckUtil::checkNotNull($this->cid, "cid");
     RequestCheckUtil::checkMaxValue($this->type, 2, "type");
     RequestCheckUtil::checkMinValue($this->type, 1, "type");
 }
コード例 #18
0
 public function check()
 {
     RequestCheckUtil::checkNotNull($this->fields, "fields");
     RequestCheckUtil::checkMaxListSize($this->fields, 20, "fields");
     RequestCheckUtil::checkNotNull($this->tid, "tid");
 }
コード例 #19
0
 public function check()
 {
     RequestCheckUtil::checkNotNull($this->dealerOrderId, "dealerOrderId");
     RequestCheckUtil::checkMaxListSize($this->deleteDetailIds, 50, "deleteDetailIds");
     RequestCheckUtil::checkMaxListSize($this->detailIdPrices, 50, "detailIdPrices");
     RequestCheckUtil::checkMaxListSize($this->detailIdQuantities, 50, "detailIdQuantities");
 }
コード例 #20
0
 public function check()
 {
     RequestCheckUtil::checkMinValue($this->cid, 0, "cid");
     RequestCheckUtil::checkNotNull($this->fields, "fields");
     RequestCheckUtil::checkMaxListSize($this->sellerCids, 32, "sellerCids");
 }
コード例 #21
0
 public function check()
 {
     RequestCheckUtil::checkMaxListSize($this->inventoryTypeList, 20, "inventoryTypeList");
     RequestCheckUtil::checkNotNull($this->itemId, "itemId");
 }
コード例 #22
0
 public function check()
 {
     RequestCheckUtil::checkNotNull($this->cids, "cids");
     RequestCheckUtil::checkMaxListSize($this->cids, 20, "cids");
     RequestCheckUtil::checkNotNull($this->resourceId, "resourceId");
 }
コード例 #23
0
 public function check()
 {
     RequestCheckUtil::checkNotNull($this->fields, "fields");
     RequestCheckUtil::checkMaxListSize($this->fields, 100, "fields");
     RequestCheckUtil::checkMinValue($this->pageNo, 1, "pageNo");
     RequestCheckUtil::checkMaxValue($this->pageSize, 100, "pageSize");
     RequestCheckUtil::checkMinValue($this->pageSize, 1, "pageSize");
     RequestCheckUtil::checkNotNull($this->refundId, "refundId");
     RequestCheckUtil::checkMinValue($this->refundId, 1, "refundId");
 }
コード例 #24
0
ファイル: ItemAddRequest.php プロジェクト: lonquan/taobao-sdk
 public function check()
 {
     RequestCheckUtil::checkNotNull($this->cid, "cid");
     RequestCheckUtil::checkMinValue($this->cid, 0, "cid");
     RequestCheckUtil::checkNotNull($this->desc, "desc");
     RequestCheckUtil::checkMaxLength($this->desc, 200000, "desc");
     RequestCheckUtil::checkMaxLength($this->features, 4000, "features");
     RequestCheckUtil::checkMaxLength($this->globalStockCountry, 30, "globalStockCountry");
     RequestCheckUtil::checkNotNull($this->locationCity, "locationCity");
     RequestCheckUtil::checkNotNull($this->locationState, "locationState");
     RequestCheckUtil::checkNotNull($this->num, "num");
     RequestCheckUtil::checkMaxValue($this->num, 900000000, "num");
     RequestCheckUtil::checkMinValue($this->num, 0, "num");
     RequestCheckUtil::checkMaxValue($this->paimaiInfoInterval, 60, "paimaiInfoInterval");
     RequestCheckUtil::checkMinValue($this->paimaiInfoInterval, 1, "paimaiInfoInterval");
     RequestCheckUtil::checkMaxValue($this->paimaiInfoMode, 3, "paimaiInfoMode");
     RequestCheckUtil::checkMinValue($this->paimaiInfoMode, 1, "paimaiInfoMode");
     RequestCheckUtil::checkMaxValue($this->paimaiInfoValidHour, 48, "paimaiInfoValidHour");
     RequestCheckUtil::checkMinValue($this->paimaiInfoValidHour, 1, "paimaiInfoValidHour");
     RequestCheckUtil::checkMaxValue($this->paimaiInfoValidMinute, 59, "paimaiInfoValidMinute");
     RequestCheckUtil::checkMinValue($this->paimaiInfoValidMinute, 0, "paimaiInfoValidMinute");
     RequestCheckUtil::checkMaxLength($this->propertyAlias, 800, "propertyAlias");
     RequestCheckUtil::checkMaxLength($this->sellPoint, 150, "sellPoint");
     RequestCheckUtil::checkMaxListSize($this->sellerCids, 10, "sellerCids");
     RequestCheckUtil::checkNotNull($this->stuffStatus, "stuffStatus");
     RequestCheckUtil::checkNotNull($this->title, "title");
     RequestCheckUtil::checkMaxLength($this->title, 120, "title");
     RequestCheckUtil::checkNotNull($this->type, "type");
 }
コード例 #25
0
 public function check()
 {
     RequestCheckUtil::checkNotNull($this->sellerNick, "sellerNick");
     RequestCheckUtil::checkMaxListSize($this->subTid, 50, "subTid");
     RequestCheckUtil::checkNotNull($this->tid, "tid");
 }
コード例 #26
0
 public function check()
 {
     RequestCheckUtil::checkMaxListSize($this->topics, 100, "topics");
 }
コード例 #27
0
 public function check()
 {
     RequestCheckUtil::checkMaxListSize($this->tagNames, 20, "tagNames");
     RequestCheckUtil::checkMaxListSize($this->tagTypes, 20, "tagTypes");
     RequestCheckUtil::checkNotNull($this->tid, "tid");
 }
コード例 #28
0
 public function check()
 {
     RequestCheckUtil::checkMaxListSize($this->fields, 20, "fields");
 }
コード例 #29
0
 public function check()
 {
     RequestCheckUtil::checkMaxListSize($this->itemIds, 20, "itemIds");
     RequestCheckUtil::checkMaxListSize($this->pids, 30, "pids");
 }
コード例 #30
0
 public function check()
 {
     RequestCheckUtil::checkNotNull($this->groupName, "groupName");
     RequestCheckUtil::checkNotNull($this->userNicks, "userNicks");
     RequestCheckUtil::checkMaxListSize($this->userNicks, 20, "userNicks");
 }