137 lines
2.3 KiB
PHP
Executable file
137 lines
2.3 KiB
PHP
Executable file
<?php
|
||
/**
|
||
* ALIPAY API: alipay.merchant.solcreditserviceprod.image.upload request
|
||
*
|
||
* @author auto create
|
||
* @since 1.0, 2024-11-14 20:02:20
|
||
*/
|
||
class AlipayMerchantSolcreditserviceprodImageUploadRequest
|
||
{
|
||
/**
|
||
* 商户logo:MERCHANT_LOGO
|
||
商品图片:PRODUCT_PICTURE
|
||
**/
|
||
private $bizType;
|
||
|
||
/**
|
||
* 二进制字节流。
|
||
商户logo图片文件大小不超过 60KB,图片尺寸大小需保证 160*160。
|
||
商品图片文件大小不超过 800KB,图片尺寸大小需保证 750*750。
|
||
**/
|
||
private $file;
|
||
|
||
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 setFile($file)
|
||
{
|
||
$this->file = $file;
|
||
$this->apiParas["file"] = $file;
|
||
}
|
||
|
||
public function getFile()
|
||
{
|
||
return $this->file;
|
||
}
|
||
|
||
public function getApiMethodName()
|
||
{
|
||
return "alipay.merchant.solcreditserviceprod.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;
|
||
}
|
||
|
||
}
|