Files
juipnet/Infrastructure/ServiceClient/Alipay.AopSdk.Core/Request/AlipayMobilePublicInfoModifyRequest.cs
“wanyongkang” ed3b2c653e 接口文件
2024-04-10 13:55:27 +08:00

163 lines
3.9 KiB
C#
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
using System.Collections.Generic;
using Alipay.AopSdk.Core.Response;
namespace Alipay.AopSdk.Core.Request
{
/// <summary>
/// AOP API: alipay.mobile.public.info.modify
/// </summary>
public class AlipayMobilePublicInfoModifyRequest : IAopRequest<AlipayMobilePublicInfoModifyResponse>
{
/// <summary>
/// 服务窗名称2-20个字之间不得含有违反法律法规和公序良俗的相关信息不得侵害他人名誉权、知识产权、商业秘密等合法权利不得以太过广泛的、或产品、行业词组来命名女装、皮革批发不得以实名认证的媒体资质账号创建服务窗或媒体相关名称命名服务窗XX电视台、XX杂志等
/// </summary>
public string AppName { get; set; }
/// <summary>
/// 授权运营书企业商户若为被经营方授权需上传加盖公章的扫描件请使用照片上传接口上传图片获得image_url
/// </summary>
public string AuthPic { get; set; }
/// <summary>
/// 营业执照地址,建议尺寸 320 x 320px支持.jpg .jpeg .png 格式小于3M
/// </summary>
public string LicenseUrl { get; set; }
/// <summary>
/// 服务窗头像地址,建议尺寸 320 x 320px支持.jpg .jpeg .png 格式小于3M
/// </summary>
public string LogoUrl { get; set; }
/// <summary>
/// 服务窗欢迎语200字以内首次使用服务窗必须
/// </summary>
public string PublicGreeting { get; set; }
/// <summary>
/// 第一张门店照片地址,建议尺寸 320 x 320px支持.jpg .jpeg .png 格式小于3M
/// </summary>
public string ShopPic1 { get; set; }
/// <summary>
/// 第二张门店照片地址
/// </summary>
public string ShopPic2 { get; set; }
/// <summary>
/// 第三张门店照片地址
/// </summary>
public string ShopPic3 { get; set; }
#region IAopRequest Members
private bool needEncrypt;
private string apiVersion = "1.0";
private string terminalType;
private string terminalInfo;
private string prodCode;
private string notifyUrl;
private string returnUrl;
private AopObject bizModel;
public void SetNeedEncrypt(bool needEncrypt)
{
this.needEncrypt = needEncrypt;
}
public bool GetNeedEncrypt()
{
return needEncrypt;
}
public void SetNotifyUrl(string notifyUrl)
{
this.notifyUrl = notifyUrl;
}
public string GetNotifyUrl()
{
return notifyUrl;
}
public void SetReturnUrl(string returnUrl)
{
this.returnUrl = returnUrl;
}
public string GetReturnUrl()
{
return returnUrl;
}
public void SetTerminalType(string terminalType)
{
this.terminalType = terminalType;
}
public string GetTerminalType()
{
return terminalType;
}
public void SetTerminalInfo(string terminalInfo)
{
this.terminalInfo = terminalInfo;
}
public string GetTerminalInfo()
{
return terminalInfo;
}
public void SetProdCode(string prodCode)
{
this.prodCode = prodCode;
}
public string GetProdCode()
{
return prodCode;
}
public string GetApiName()
{
return "alipay.mobile.public.info.modify";
}
public void SetApiVersion(string apiVersion)
{
this.apiVersion = apiVersion;
}
public string GetApiVersion()
{
return apiVersion;
}
public IDictionary<string, string> GetParameters()
{
var parameters = new AopDictionary();
parameters.Add("app_name", AppName);
parameters.Add("auth_pic", AuthPic);
parameters.Add("license_url", LicenseUrl);
parameters.Add("logo_url", LogoUrl);
parameters.Add("public_greeting", PublicGreeting);
parameters.Add("shop_pic1", ShopPic1);
parameters.Add("shop_pic2", ShopPic2);
parameters.Add("shop_pic3", ShopPic3);
return parameters;
}
public AopObject GetBizModel()
{
return bizModel;
}
public void SetBizModel(AopObject bizModel)
{
this.bizModel = bizModel;
}
#endregion
}
}