123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466 |
- <?php
- /**
- * dingtalk API: dingtalk.oapi.dingpay.bill.batchquery request
- *
- * @author auto create
- * @since 1.0, 2019.07.01
- */
- class OapiDingpayBillBatchqueryRequest
- {
- /**
- * 申请支付者userid
- **/
- private $applyPayOperatorUserid;
-
- /**
- * INCOME收入、EXPENSE支出
- **/
- private $billCategory;
-
- /**
- * 业务代码
- **/
- private $bizCode;
-
- /**
- * 创单者userid
- **/
- private $createOperatorUserid;
-
- /**
- * 扩展属性
- **/
- private $extension;
-
- /**
- * 申请付款开始时间
- **/
- private $gmtApplyPayBeginTime;
-
- /**
- * 申请付款截止时间
- **/
- private $gmtApplyPayEndTime;
-
- /**
- * 创单开始时间
- **/
- private $gmtCreateBeginTime;
-
- /**
- * 创单截止时间
- **/
- private $gmtCreateEndTime;
-
- /**
- * 完成付款开始时间
- **/
- private $gmtPayBeginTime;
-
- /**
- * 完成付款截止时间
- **/
- private $gmtPayEndTime;
-
- /**
- * 最大金额(单位:分)
- **/
- private $maxAmount;
-
- /**
- * 最小金额(单位:分)
- **/
- private $minAmount;
-
- /**
- * 第一次调用传空,后面翻页根据上次response的nextKey回传
- **/
- private $nextKey;
-
- /**
- * 页码,从1开始
- **/
- private $pageNum;
-
- /**
- * 每页大小
- **/
- private $pageSize;
-
- /**
- * 支付渠道列表
- **/
- private $payChannelList;
-
- /**
- * 支付渠道方付款者实际出资UID
- **/
- private $payChannelPayerRealUid;
-
- /**
- * 收款者corpId或者userId
- **/
- private $payeeId;
-
- /**
- * 收款者类型
- **/
- private $payeeUserType;
-
- /**
- * 付款者corpId或者userId
- **/
- private $payerId;
-
- /**
- * 付款者类型
- **/
- private $payerUserType;
-
- /**
- * 收款人账户类型
- **/
- private $receiptorTypeList;
-
- /**
- * 查询的条目数
- **/
- private $size;
-
- /**
- * 状态列表
- **/
- private $statusList;
-
- /**
- * 中止支付原因
- **/
- private $terminationReason;
-
- /**
- * 标题
- **/
- private $title;
-
- private $apiParas = array();
-
- public function setApplyPayOperatorUserid($applyPayOperatorUserid)
- {
- $this->applyPayOperatorUserid = $applyPayOperatorUserid;
- $this->apiParas["apply_pay_operator_userid"] = $applyPayOperatorUserid;
- }
- public function getApplyPayOperatorUserid()
- {
- return $this->applyPayOperatorUserid;
- }
- public function setBillCategory($billCategory)
- {
- $this->billCategory = $billCategory;
- $this->apiParas["bill_category"] = $billCategory;
- }
- public function getBillCategory()
- {
- return $this->billCategory;
- }
- public function setBizCode($bizCode)
- {
- $this->bizCode = $bizCode;
- $this->apiParas["biz_code"] = $bizCode;
- }
- public function getBizCode()
- {
- return $this->bizCode;
- }
- public function setCreateOperatorUserid($createOperatorUserid)
- {
- $this->createOperatorUserid = $createOperatorUserid;
- $this->apiParas["create_operator_userid"] = $createOperatorUserid;
- }
- public function getCreateOperatorUserid()
- {
- return $this->createOperatorUserid;
- }
- public function setExtension($extension)
- {
- $this->extension = $extension;
- $this->apiParas["extension"] = $extension;
- }
- public function getExtension()
- {
- return $this->extension;
- }
- public function setGmtApplyPayBeginTime($gmtApplyPayBeginTime)
- {
- $this->gmtApplyPayBeginTime = $gmtApplyPayBeginTime;
- $this->apiParas["gmt_apply_pay_begin_time"] = $gmtApplyPayBeginTime;
- }
- public function getGmtApplyPayBeginTime()
- {
- return $this->gmtApplyPayBeginTime;
- }
- public function setGmtApplyPayEndTime($gmtApplyPayEndTime)
- {
- $this->gmtApplyPayEndTime = $gmtApplyPayEndTime;
- $this->apiParas["gmt_apply_pay_end_time"] = $gmtApplyPayEndTime;
- }
- public function getGmtApplyPayEndTime()
- {
- return $this->gmtApplyPayEndTime;
- }
- public function setGmtCreateBeginTime($gmtCreateBeginTime)
- {
- $this->gmtCreateBeginTime = $gmtCreateBeginTime;
- $this->apiParas["gmt_create_begin_time"] = $gmtCreateBeginTime;
- }
- public function getGmtCreateBeginTime()
- {
- return $this->gmtCreateBeginTime;
- }
- public function setGmtCreateEndTime($gmtCreateEndTime)
- {
- $this->gmtCreateEndTime = $gmtCreateEndTime;
- $this->apiParas["gmt_create_end_time"] = $gmtCreateEndTime;
- }
- public function getGmtCreateEndTime()
- {
- return $this->gmtCreateEndTime;
- }
- public function setGmtPayBeginTime($gmtPayBeginTime)
- {
- $this->gmtPayBeginTime = $gmtPayBeginTime;
- $this->apiParas["gmt_pay_begin_time"] = $gmtPayBeginTime;
- }
- public function getGmtPayBeginTime()
- {
- return $this->gmtPayBeginTime;
- }
- public function setGmtPayEndTime($gmtPayEndTime)
- {
- $this->gmtPayEndTime = $gmtPayEndTime;
- $this->apiParas["gmt_pay_end_time"] = $gmtPayEndTime;
- }
- public function getGmtPayEndTime()
- {
- return $this->gmtPayEndTime;
- }
- public function setMaxAmount($maxAmount)
- {
- $this->maxAmount = $maxAmount;
- $this->apiParas["max_amount"] = $maxAmount;
- }
- public function getMaxAmount()
- {
- return $this->maxAmount;
- }
- public function setMinAmount($minAmount)
- {
- $this->minAmount = $minAmount;
- $this->apiParas["min_amount"] = $minAmount;
- }
- public function getMinAmount()
- {
- return $this->minAmount;
- }
- public function setNextKey($nextKey)
- {
- $this->nextKey = $nextKey;
- $this->apiParas["next_key"] = $nextKey;
- }
- public function getNextKey()
- {
- return $this->nextKey;
- }
- public function setPageNum($pageNum)
- {
- $this->pageNum = $pageNum;
- $this->apiParas["page_num"] = $pageNum;
- }
- public function getPageNum()
- {
- return $this->pageNum;
- }
- public function setPageSize($pageSize)
- {
- $this->pageSize = $pageSize;
- $this->apiParas["page_size"] = $pageSize;
- }
- public function getPageSize()
- {
- return $this->pageSize;
- }
- public function setPayChannelList($payChannelList)
- {
- $this->payChannelList = $payChannelList;
- $this->apiParas["pay_channel_list"] = $payChannelList;
- }
- public function getPayChannelList()
- {
- return $this->payChannelList;
- }
- public function setPayChannelPayerRealUid($payChannelPayerRealUid)
- {
- $this->payChannelPayerRealUid = $payChannelPayerRealUid;
- $this->apiParas["pay_channel_payer_real_uid"] = $payChannelPayerRealUid;
- }
- public function getPayChannelPayerRealUid()
- {
- return $this->payChannelPayerRealUid;
- }
- public function setPayeeId($payeeId)
- {
- $this->payeeId = $payeeId;
- $this->apiParas["payee_id"] = $payeeId;
- }
- public function getPayeeId()
- {
- return $this->payeeId;
- }
- public function setPayeeUserType($payeeUserType)
- {
- $this->payeeUserType = $payeeUserType;
- $this->apiParas["payee_user_type"] = $payeeUserType;
- }
- public function getPayeeUserType()
- {
- return $this->payeeUserType;
- }
- public function setPayerId($payerId)
- {
- $this->payerId = $payerId;
- $this->apiParas["payer_id"] = $payerId;
- }
- public function getPayerId()
- {
- return $this->payerId;
- }
- public function setPayerUserType($payerUserType)
- {
- $this->payerUserType = $payerUserType;
- $this->apiParas["payer_user_type"] = $payerUserType;
- }
- public function getPayerUserType()
- {
- return $this->payerUserType;
- }
- public function setReceiptorTypeList($receiptorTypeList)
- {
- $this->receiptorTypeList = $receiptorTypeList;
- $this->apiParas["receiptor_type_list"] = $receiptorTypeList;
- }
- public function getReceiptorTypeList()
- {
- return $this->receiptorTypeList;
- }
- public function setSize($size)
- {
- $this->size = $size;
- $this->apiParas["size"] = $size;
- }
- public function getSize()
- {
- return $this->size;
- }
- public function setStatusList($statusList)
- {
- $this->statusList = $statusList;
- $this->apiParas["status_list"] = $statusList;
- }
- public function getStatusList()
- {
- return $this->statusList;
- }
- public function setTerminationReason($terminationReason)
- {
- $this->terminationReason = $terminationReason;
- $this->apiParas["termination_reason"] = $terminationReason;
- }
- public function getTerminationReason()
- {
- return $this->terminationReason;
- }
- public function setTitle($title)
- {
- $this->title = $title;
- $this->apiParas["title"] = $title;
- }
- public function getTitle()
- {
- return $this->title;
- }
- public function getApiMethodName()
- {
- return "dingtalk.oapi.dingpay.bill.batchquery";
- }
-
- public function getApiParas()
- {
- return $this->apiParas;
- }
-
- public function check()
- {
-
- RequestCheckUtil::checkMaxListSize($this->payChannelList,20,"payChannelList");
- RequestCheckUtil::checkMaxListSize($this->receiptorTypeList,20,"receiptorTypeList");
- RequestCheckUtil::checkMaxListSize($this->statusList,20,"statusList");
- }
-
- public function putOtherTextParam($key, $value) {
- $this->apiParas[$key] = $value;
- $this->$key = $value;
- }
- }
|