コード例 #1
0
 public function check()
 {
     RequestCheckUtil::checkNotNull($this->templateContent, "templateContent");
     RequestCheckUtil::checkMaxLength($this->templateContent, 8000, "templateContent");
     RequestCheckUtil::checkNotNull($this->templateName, "templateName");
     RequestCheckUtil::checkMaxLength($this->templateName, 20, "templateName");
 }
コード例 #2
0
 public function check()
 {
     RequestCheckUtil::checkNotNull($this->endDate, "endDate");
     RequestCheckUtil::checkNotNull($this->serviceStaffId, "serviceStaffId");
     RequestCheckUtil::checkMaxLength($this->serviceStaffId, 1900, "serviceStaffId");
     RequestCheckUtil::checkNotNull($this->startDate, "startDate");
 }
コード例 #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->cooperateId, "cooperateId");
     RequestCheckUtil::checkNotNull($this->endRemainDays, "endRemainDays");
     RequestCheckUtil::checkNotNull($this->endRemark, "endRemark");
     RequestCheckUtil::checkMaxLength($this->endRemark, 2000, "endRemark");
 }
コード例 #5
0
 public function check()
 {
     RequestCheckUtil::checkNotNull($this->extEntityId, "extEntityId");
     RequestCheckUtil::checkNotNull($this->extEntityType, "extEntityType");
     RequestCheckUtil::checkNotNull($this->itemId, "itemId");
     RequestCheckUtil::checkNotNull($this->userNick, "userNick");
     RequestCheckUtil::checkMaxLength($this->userNick, 64, "userNick");
 }
コード例 #6
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");
 }
コード例 #7
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");
 }
コード例 #8
0
 public function check()
 {
     RequestCheckUtil::checkMaxLength($this->itemCode, 64, "itemCode");
     RequestCheckUtil::checkMinValue($this->pageNo, 1, "pageNo");
     RequestCheckUtil::checkMaxValue($this->pageSize, 50, "pageSize");
     RequestCheckUtil::checkMinValue($this->pageSize, 1, "pageSize");
     RequestCheckUtil::checkMaxLength($this->title, 255, "title");
 }
コード例 #9
0
 public function check()
 {
     RequestCheckUtil::checkMaxLength($this->receiverAddress, 228, "receiverAddress");
     RequestCheckUtil::checkMaxLength($this->receiverCity, 32, "receiverCity");
     RequestCheckUtil::checkMaxLength($this->receiverDistrict, 32, "receiverDistrict");
     RequestCheckUtil::checkMaxLength($this->receiverMobile, 11, "receiverMobile");
     RequestCheckUtil::checkMaxLength($this->receiverName, 50, "receiverName");
     RequestCheckUtil::checkMaxLength($this->receiverPhone, 30, "receiverPhone");
     RequestCheckUtil::checkMaxLength($this->receiverState, 32, "receiverState");
     RequestCheckUtil::checkMaxLength($this->receiverZip, 6, "receiverZip");
     RequestCheckUtil::checkNotNull($this->tid, "tid");
 }
コード例 #10
0
 public function check()
 {
     RequestCheckUtil::checkNotNull($this->authType, "authType");
     RequestCheckUtil::checkNotNull($this->authorizeEndTime, "authorizeEndTime");
     RequestCheckUtil::checkNotNull($this->authorizeStartTime, "authorizeStartTime");
     RequestCheckUtil::checkNotNull($this->consignUserNick, "consignUserNick");
     RequestCheckUtil::checkNotNull($this->itemIdList, "itemIdList");
     RequestCheckUtil::checkNotNull($this->name, "name");
     RequestCheckUtil::checkMaxLength($this->name, 255, "name");
     RequestCheckUtil::checkNotNull($this->ruleCode, "ruleCode");
 }
コード例 #11
0
 public function check()
 {
     RequestCheckUtil::checkMaxLength($this->extraInfo, 25000, "extraInfo");
     RequestCheckUtil::checkNotNull($this->productId, "productId");
 }
コード例 #12
0
 public function check()
 {
     RequestCheckUtil::checkNotNull($this->refundId, "refundId");
     RequestCheckUtil::checkNotNull($this->refuseMessage, "refuseMessage");
     RequestCheckUtil::checkMaxLength($this->refuseMessage, 200, "refuseMessage");
 }
コード例 #13
0
 public function check()
 {
     RequestCheckUtil::checkNotNull($this->agentCostPercent, "agentCostPercent");
     RequestCheckUtil::checkMaxValue($this->agentCostPercent, 99999, "agentCostPercent");
     RequestCheckUtil::checkMinValue($this->agentCostPercent, 100, "agentCostPercent");
     RequestCheckUtil::checkNotNull($this->dealerCostPercent, "dealerCostPercent");
     RequestCheckUtil::checkMaxValue($this->dealerCostPercent, 99999, "dealerCostPercent");
     RequestCheckUtil::checkMinValue($this->dealerCostPercent, 100, "dealerCostPercent");
     RequestCheckUtil::checkNotNull($this->name, "name");
     RequestCheckUtil::checkMaxLength($this->name, 10, "name");
     RequestCheckUtil::checkNotNull($this->retailHighPercent, "retailHighPercent");
     RequestCheckUtil::checkMaxValue($this->retailHighPercent, 99999, "retailHighPercent");
     RequestCheckUtil::checkMinValue($this->retailHighPercent, 100, "retailHighPercent");
     RequestCheckUtil::checkNotNull($this->retailLowPercent, "retailLowPercent");
     RequestCheckUtil::checkMaxValue($this->retailLowPercent, 99999, "retailLowPercent");
     RequestCheckUtil::checkMinValue($this->retailLowPercent, 100, "retailLowPercent");
 }
コード例 #14
0
 public function check()
 {
     RequestCheckUtil::checkNotNull($this->auctionStatus, "auctionStatus");
     RequestCheckUtil::checkMaxLength($this->auctionStatus, 10, "auctionStatus");
     RequestCheckUtil::checkNotNull($this->checkToolMerchant, "checkToolMerchant");
     RequestCheckUtil::checkNotNull($this->city, "city");
     RequestCheckUtil::checkMaxLength($this->city, 20, "city");
     RequestCheckUtil::checkNotNull($this->description, "description");
     RequestCheckUtil::checkMaxLength($this->description, 25000, "description");
     RequestCheckUtil::checkMaxValue($this->etcAutoRefund, 100, "etcAutoRefund");
     RequestCheckUtil::checkMinValue($this->etcAutoRefund, 0, "etcAutoRefund");
     RequestCheckUtil::checkMaxValue($this->etcOverduePay, 100, "etcOverduePay");
     RequestCheckUtil::checkMinValue($this->etcOverduePay, 0, "etcOverduePay");
     RequestCheckUtil::checkNotNull($this->image1, "image1");
     RequestCheckUtil::checkMaxLength($this->listTime, 20, "listTime");
     RequestCheckUtil::checkNotNull($this->productId, "productId");
     RequestCheckUtil::checkNotNull($this->prov, "prov");
     RequestCheckUtil::checkMaxLength($this->prov, 20, "prov");
     RequestCheckUtil::checkNotNull($this->sellerCsPhone, "sellerCsPhone");
     RequestCheckUtil::checkNotNull($this->skus, "skus");
     RequestCheckUtil::checkNotNull($this->subStockAtBuy, "subStockAtBuy");
     RequestCheckUtil::checkNotNull($this->title, "title");
     RequestCheckUtil::checkMaxLength($this->title, 60, "title");
 }
コード例 #15
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");
 }
コード例 #16
0
 public function check()
 {
     RequestCheckUtil::checkMaxLength($this->channelName, 160, "channelName");
     RequestCheckUtil::checkNotNull($this->content, "content");
     RequestCheckUtil::checkMaxLength($this->content, 256, "content");
     RequestCheckUtil::checkMaxLength($this->logo, 256, "logo");
     RequestCheckUtil::checkNotNull($this->name, "name");
     RequestCheckUtil::checkMaxLength($this->name, 32, "name");
     RequestCheckUtil::checkNotNull($this->size, "size");
     RequestCheckUtil::checkMaxValue($this->size, 300, "size");
     RequestCheckUtil::checkMinValue($this->size, 60, "size");
     RequestCheckUtil::checkNotNull($this->style, "style");
     RequestCheckUtil::checkMaxLength($this->style, 50, "style");
     RequestCheckUtil::checkNotNull($this->type, "type");
     RequestCheckUtil::checkMaxLength($this->type, 10, "type");
 }
コード例 #17
0
 public function check()
 {
     RequestCheckUtil::checkMinValue($this->cid, 0, "cid");
     RequestCheckUtil::checkMaxLength($this->desc, 200000, "desc");
     RequestCheckUtil::checkMaxValue($this->num, 999999, "num");
     RequestCheckUtil::checkMinValue($this->num, 0, "num");
     RequestCheckUtil::checkNotNull($this->numIid, "numIid");
     RequestCheckUtil::checkMinValue($this->numIid, 1, "numIid");
     RequestCheckUtil::checkMaxLength($this->title, 60, "title");
 }
コード例 #18
0
 public function check()
 {
     RequestCheckUtil::checkNotNull($this->newName, "newName");
     RequestCheckUtil::checkMaxLength($this->newName, 50, "newName");
     RequestCheckUtil::checkNotNull($this->pictureId, "pictureId");
 }
コード例 #19
0
 public function check()
 {
     RequestCheckUtil::checkMaxLength($this->buyerNick, 64, "buyerNick");
     RequestCheckUtil::checkNotNull($this->isFinished, "isFinished");
     RequestCheckUtil::checkNotNull($this->orderItemList, "orderItemList");
     RequestCheckUtil::checkNotNull($this->orderSubType, "orderSubType");
     RequestCheckUtil::checkNotNull($this->orderType, "orderType");
     RequestCheckUtil::checkNotNull($this->outBizCode, "outBizCode");
     RequestCheckUtil::checkMaxLength($this->outBizCode, 128, "outBizCode");
     RequestCheckUtil::checkMaxLength($this->remark, 4000, "remark");
     RequestCheckUtil::checkNotNull($this->storeCode, "storeCode");
     RequestCheckUtil::checkMaxLength($this->storeCode, 64, "storeCode");
     RequestCheckUtil::checkMaxLength($this->tmsServiceCode, 64, "tmsServiceCode");
 }
コード例 #20
0
 public function check()
 {
     RequestCheckUtil::checkMaxLength($this->binds, 512, "binds");
     RequestCheckUtil::checkNotNull($this->cid, "cid");
     RequestCheckUtil::checkMaxLength($this->extraInfo, 25000, "extraInfo");
     RequestCheckUtil::checkNotNull($this->image, "image");
 }
コード例 #21
0
 public function check()
 {
     RequestCheckUtil::checkNotNull($this->nick, "nick");
     RequestCheckUtil::checkMaxLength($this->nick, 500, "nick");
 }
コード例 #22
0
 public function check()
 {
     RequestCheckUtil::checkNotNull($this->orderCode, "orderCode");
     RequestCheckUtil::checkMaxLength($this->orderCode, 64, "orderCode");
 }
コード例 #23
0
 public function check()
 {
     RequestCheckUtil::checkNotNull($this->managerId, "managerId");
     RequestCheckUtil::checkMaxLength($this->managerId, 128, "managerId");
 }
コード例 #24
0
 public function check()
 {
     RequestCheckUtil::checkNotNull($this->assumer, "assumer");
     RequestCheckUtil::checkNotNull($this->name, "name");
     RequestCheckUtil::checkMaxLength($this->name, 50, "name");
     RequestCheckUtil::checkNotNull($this->templateAddFees, "templateAddFees");
     RequestCheckUtil::checkNotNull($this->templateAddStandards, "templateAddStandards");
     RequestCheckUtil::checkNotNull($this->templateDests, "templateDests");
     RequestCheckUtil::checkNotNull($this->templateStartFees, "templateStartFees");
     RequestCheckUtil::checkNotNull($this->templateStartStandards, "templateStartStandards");
     RequestCheckUtil::checkNotNull($this->templateTypes, "templateTypes");
     RequestCheckUtil::checkNotNull($this->valuation, "valuation");
 }
コード例 #25
0
 public function check()
 {
     RequestCheckUtil::checkNotNull($this->addr, "addr");
     RequestCheckUtil::checkNotNull($this->city, "city");
     RequestCheckUtil::checkNotNull($this->contactName, "contactName");
     RequestCheckUtil::checkMaxLength($this->memo, 256, "memo");
     RequestCheckUtil::checkNotNull($this->province, "province");
     RequestCheckUtil::checkMaxLength($this->sellerCompany, 20, "sellerCompany");
 }
コード例 #26
0
 public function check()
 {
     RequestCheckUtil::checkMaxLength($this->auctionStatus, 10, "auctionStatus");
     RequestCheckUtil::checkMaxLength($this->city, 20, "city");
     RequestCheckUtil::checkMaxLength($this->description, 25000, "description");
     RequestCheckUtil::checkMaxValue($this->etcAutoRefund, 100, "etcAutoRefund");
     RequestCheckUtil::checkMinValue($this->etcAutoRefund, 0, "etcAutoRefund");
     RequestCheckUtil::checkMaxValue($this->etcOverduePay, 100, "etcOverduePay");
     RequestCheckUtil::checkMinValue($this->etcOverduePay, 0, "etcOverduePay");
     RequestCheckUtil::checkNotNull($this->itemId, "itemId");
     RequestCheckUtil::checkMaxLength($this->listTime, 20, "listTime");
     RequestCheckUtil::checkMaxLength($this->prov, 20, "prov");
     RequestCheckUtil::checkMaxLength($this->title, 60, "title");
 }
コード例 #27
0
 public function check()
 {
     RequestCheckUtil::checkNotNull($this->gradeId, "gradeId");
     RequestCheckUtil::checkNotNull($this->name, "name");
     RequestCheckUtil::checkMaxLength($this->name, 20, "name");
 }
コード例 #28
0
 public function check()
 {
     RequestCheckUtil::checkNotNull($this->image, "image");
     RequestCheckUtil::checkMaxValue($this->labelPrice, 999999999, "labelPrice");
     RequestCheckUtil::checkMinValue($this->labelPrice, 0, "labelPrice");
     RequestCheckUtil::checkNotNull($this->productId, "productId");
     RequestCheckUtil::checkMaxLength($this->specPropsAlias, 60, "specPropsAlias");
 }
コード例 #29
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");
 }
コード例 #30
0
 public function check()
 {
     RequestCheckUtil::checkNotNull($this->content, "content");
     RequestCheckUtil::checkMaxLength($this->content, 5000, "content");
     RequestCheckUtil::checkMaxLength($this->exContent, 500, "exContent");
     RequestCheckUtil::checkMaxLength($this->targetAppkey, 256, "targetAppkey");
     RequestCheckUtil::checkNotNull($this->topic, "topic");
     RequestCheckUtil::checkMaxLength($this->topic, 256, "topic");
 }