| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262 | 
							- <?php
 
- /**
 
-  * ALIPAY API: ant.merchant.expand.attachment.upload.sync request
 
-  *
 
-  * @author auto create
 
-  * @since 1.0, 2019-06-03 19:46:15
 
-  */
 
- class AntMerchantExpandAttachmentUploadSyncRequest
 
- {
 
- 	/** 
 
- 	 * 附件的业务类型
 
- 	 **/
 
- 	private $bizType;
 
- 	
 
- 	/** 
 
- 	 * 附属信息,JSON格式
 
- 	 **/
 
- 	private $extInfo;
 
- 	
 
- 	/** 
 
- 	 * 文件字节流
 
- 	 **/
 
- 	private $fileContent;
 
- 	
 
- 	/** 
 
- 	 * 文档静态格式
 
- 	 **/
 
- 	private $fileFormat;
 
- 	
 
- 	/** 
 
- 	 * 文件链接
 
- 	 **/
 
- 	private $fileUrl;
 
- 	
 
- 	/** 
 
- 	 * 备注
 
- 	 **/
 
- 	private $memo;
 
- 	
 
- 	/** 
 
- 	 * 附件单据号
 
- 	 **/
 
- 	private $outBizNo;
 
- 	
 
- 	/** 
 
- 	 * 分区
 
- 	 **/
 
- 	private $partNo;
 
- 	
 
- 	/** 
 
- 	 * 附件的业务子类型
 
- 	 **/
 
- 	private $subBizType;
 
- 	
 
- 	/** 
 
- 	 * 附件子单据号
 
- 	 **/
 
- 	private $subOutBizNo;
 
- 	private $apiParas = array();
 
- 	private $terminalType;
 
- 	private $terminalInfo;
 
- 	private $prodCode;
 
- 	private $apiVersion="1.0";
 
- 	private $notifyUrl;
 
- 	private $returnUrl;
 
-     private $needEncrypt=false;
 
- 	
 
- 	public function setBizType($bizType)
 
- 	{
 
- 		$this->bizType = $bizType;
 
- 		$this->apiParas["biz_type"] = $bizType;
 
- 	}
 
- 	public function getBizType()
 
- 	{
 
- 		return $this->bizType;
 
- 	}
 
- 	public function setExtInfo($extInfo)
 
- 	{
 
- 		$this->extInfo = $extInfo;
 
- 		$this->apiParas["ext_info"] = $extInfo;
 
- 	}
 
- 	public function getExtInfo()
 
- 	{
 
- 		return $this->extInfo;
 
- 	}
 
- 	public function setFileContent($fileContent)
 
- 	{
 
- 		$this->fileContent = $fileContent;
 
- 		$this->apiParas["file_content"] = $fileContent;
 
- 	}
 
- 	public function getFileContent()
 
- 	{
 
- 		return $this->fileContent;
 
- 	}
 
- 	public function setFileFormat($fileFormat)
 
- 	{
 
- 		$this->fileFormat = $fileFormat;
 
- 		$this->apiParas["file_format"] = $fileFormat;
 
- 	}
 
- 	public function getFileFormat()
 
- 	{
 
- 		return $this->fileFormat;
 
- 	}
 
- 	public function setFileUrl($fileUrl)
 
- 	{
 
- 		$this->fileUrl = $fileUrl;
 
- 		$this->apiParas["file_url"] = $fileUrl;
 
- 	}
 
- 	public function getFileUrl()
 
- 	{
 
- 		return $this->fileUrl;
 
- 	}
 
- 	public function setMemo($memo)
 
- 	{
 
- 		$this->memo = $memo;
 
- 		$this->apiParas["memo"] = $memo;
 
- 	}
 
- 	public function getMemo()
 
- 	{
 
- 		return $this->memo;
 
- 	}
 
- 	public function setOutBizNo($outBizNo)
 
- 	{
 
- 		$this->outBizNo = $outBizNo;
 
- 		$this->apiParas["out_biz_no"] = $outBizNo;
 
- 	}
 
- 	public function getOutBizNo()
 
- 	{
 
- 		return $this->outBizNo;
 
- 	}
 
- 	public function setPartNo($partNo)
 
- 	{
 
- 		$this->partNo = $partNo;
 
- 		$this->apiParas["part_no"] = $partNo;
 
- 	}
 
- 	public function getPartNo()
 
- 	{
 
- 		return $this->partNo;
 
- 	}
 
- 	public function setSubBizType($subBizType)
 
- 	{
 
- 		$this->subBizType = $subBizType;
 
- 		$this->apiParas["sub_biz_type"] = $subBizType;
 
- 	}
 
- 	public function getSubBizType()
 
- 	{
 
- 		return $this->subBizType;
 
- 	}
 
- 	public function setSubOutBizNo($subOutBizNo)
 
- 	{
 
- 		$this->subOutBizNo = $subOutBizNo;
 
- 		$this->apiParas["sub_out_biz_no"] = $subOutBizNo;
 
- 	}
 
- 	public function getSubOutBizNo()
 
- 	{
 
- 		return $this->subOutBizNo;
 
- 	}
 
- 	public function getApiMethodName()
 
- 	{
 
- 		return "ant.merchant.expand.attachment.upload.sync";
 
- 	}
 
- 	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;
 
-   }
 
- }
 
 
  |