123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314 |
- <?php
- /**
- * ALIPAY API: alipay.ins.data.dsb.image.upload request
- *
- * @author auto create
- * @since 1.0, 2019-01-07 20:51:15
- */
- class AlipayInsDataDsbImageUploadRequest
- {
- /**
- * 保险公司定损单号,唯一标识一个定损单的id
- **/
- private $estimateNo;
-
- /**
- * 车架号
- **/
- private $frameNo;
-
- /**
- * 图片二进制字节流,上传图片是文件提交方式的必须提供该字段。
- 提供可下载的图片url或图片存储拉取方式的保司可不传该字段
- **/
- private $imageContent;
-
- /**
- * 图像格式类型,目前仅支持jpg格式
- **/
- private $imageFormat;
-
- /**
- * 图像文件名称
- **/
- private $imageName;
-
- /**
- * 图像文件在存储上的路径,与蚂蚁接口负责人确定上传方式是图片url拉取、通过oss拉取等方式可行后传入该字段。
- 该字段与图片二进制流参数选传其一。
- **/
- private $imagePath;
-
- /**
- * 图片扩展属性信息json格式,如照片拍摄参数等
- **/
- private $imageProperties;
-
- /**
- * 图片来源描述,如weixin、app等
- **/
- private $imageSource;
-
- /**
- * 照片存储类型,枚举值如下
- OSS-阿里云oss存储
- SELF-自建类型
- **/
- private $imageStoreType;
-
- /**
- * 图片类型,比如:car_damage(车损图像)、certificate(证照图像)、material(资料图像)、other(其他图像)
- **/
- private $imageType;
-
- /**
- * 车牌号
- **/
- private $licenseNo;
-
- /**
- * 报案号,2017-10-12后接入的公司必传该字段
- **/
- private $reportNo;
-
- /**
- * 照片拍摄时间,精确到秒,格式yyyyMMddHHmmss
- **/
- private $shootTime;
- private $apiParas = array();
- private $terminalType;
- private $terminalInfo;
- private $prodCode;
- private $apiVersion="1.0";
- private $notifyUrl;
- private $returnUrl;
- private $needEncrypt=false;
-
- public function setEstimateNo($estimateNo)
- {
- $this->estimateNo = $estimateNo;
- $this->apiParas["estimate_no"] = $estimateNo;
- }
- public function getEstimateNo()
- {
- return $this->estimateNo;
- }
- public function setFrameNo($frameNo)
- {
- $this->frameNo = $frameNo;
- $this->apiParas["frame_no"] = $frameNo;
- }
- public function getFrameNo()
- {
- return $this->frameNo;
- }
- public function setImageContent($imageContent)
- {
- $this->imageContent = $imageContent;
- $this->apiParas["image_content"] = $imageContent;
- }
- public function getImageContent()
- {
- return $this->imageContent;
- }
- public function setImageFormat($imageFormat)
- {
- $this->imageFormat = $imageFormat;
- $this->apiParas["image_format"] = $imageFormat;
- }
- public function getImageFormat()
- {
- return $this->imageFormat;
- }
- public function setImageName($imageName)
- {
- $this->imageName = $imageName;
- $this->apiParas["image_name"] = $imageName;
- }
- public function getImageName()
- {
- return $this->imageName;
- }
- public function setImagePath($imagePath)
- {
- $this->imagePath = $imagePath;
- $this->apiParas["image_path"] = $imagePath;
- }
- public function getImagePath()
- {
- return $this->imagePath;
- }
- public function setImageProperties($imageProperties)
- {
- $this->imageProperties = $imageProperties;
- $this->apiParas["image_properties"] = $imageProperties;
- }
- public function getImageProperties()
- {
- return $this->imageProperties;
- }
- public function setImageSource($imageSource)
- {
- $this->imageSource = $imageSource;
- $this->apiParas["image_source"] = $imageSource;
- }
- public function getImageSource()
- {
- return $this->imageSource;
- }
- public function setImageStoreType($imageStoreType)
- {
- $this->imageStoreType = $imageStoreType;
- $this->apiParas["image_store_type"] = $imageStoreType;
- }
- public function getImageStoreType()
- {
- return $this->imageStoreType;
- }
- public function setImageType($imageType)
- {
- $this->imageType = $imageType;
- $this->apiParas["image_type"] = $imageType;
- }
- public function getImageType()
- {
- return $this->imageType;
- }
- public function setLicenseNo($licenseNo)
- {
- $this->licenseNo = $licenseNo;
- $this->apiParas["license_no"] = $licenseNo;
- }
- public function getLicenseNo()
- {
- return $this->licenseNo;
- }
- public function setReportNo($reportNo)
- {
- $this->reportNo = $reportNo;
- $this->apiParas["report_no"] = $reportNo;
- }
- public function getReportNo()
- {
- return $this->reportNo;
- }
- public function setShootTime($shootTime)
- {
- $this->shootTime = $shootTime;
- $this->apiParas["shoot_time"] = $shootTime;
- }
- public function getShootTime()
- {
- return $this->shootTime;
- }
- public function getApiMethodName()
- {
- return "alipay.ins.data.dsb.image.upload";
- }
- public function setNotifyUrl($notifyUrl)
- {
- $this->notifyUrl=$notifyUrl;
- }
- public function getNotifyUrl()
- {
- return $this->notifyUrl;
- }
- public function setReturnUrl($returnUrl)
- {
- $this->returnUrl=$returnUrl;
- }
- public function getReturnUrl()
- {
- return $this->returnUrl;
- }
- public function getApiParas()
- {
- return $this->apiParas;
- }
- public function getTerminalType()
- {
- return $this->terminalType;
- }
- public function setTerminalType($terminalType)
- {
- $this->terminalType = $terminalType;
- }
- public function getTerminalInfo()
- {
- return $this->terminalInfo;
- }
- public function setTerminalInfo($terminalInfo)
- {
- $this->terminalInfo = $terminalInfo;
- }
- public function getProdCode()
- {
- return $this->prodCode;
- }
- public function setProdCode($prodCode)
- {
- $this->prodCode = $prodCode;
- }
- public function setApiVersion($apiVersion)
- {
- $this->apiVersion=$apiVersion;
- }
- public function getApiVersion()
- {
- return $this->apiVersion;
- }
- public function setNeedEncrypt($needEncrypt)
- {
- $this->needEncrypt=$needEncrypt;
- }
- public function getNeedEncrypt()
- {
- return $this->needEncrypt;
- }
- }
|