You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

133 lines
4.2 KiB
C#

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

using System;
using System.Collections.Generic;
using Aop.Api.Response;
namespace Aop.Api.Request
{
/// <summary>
/// AOP API: alipay.member.coupon.querylist
/// </summary>
public class AlipayMemberCouponQuerylistRequest : IAopRequest<AlipayMemberCouponQuerylistResponse>
{
/// <summary>
/// 红包发放者商户信息json格式。商户可以传自己的PID平台商可以传其它商户的PID用于查询指定商户的信息 目前仅支持如下key unique商户唯一标识 unique_type支持以下1种取值。 PID商户所在平台商的partner id[唯一]
/// </summary>
public string MerchantInfo { get; set; }
/// <summary>
/// 翻页页码翻页查询时使用表明当前要查询第几页若page_size为0则此字段不生效
/// </summary>
public string PageNo { get; set; }
/// <summary>
/// 翻页每页条数翻页查询时使用表明每页返回的记录数量范围为1至20为空或者为0时表示不使用翻页查询返回所有数量
/// </summary>
public string PageSize { get; set; }
/// <summary>
/// 优惠券状态列表,如果指定则只返回指定状态的优惠券. 目前状态主要有以下几种: VALID可使用 WRITED_OFF已核销, EXPIRED已过期 CLOSED已关闭 注意: 多个状态以逗号隔开
/// </summary>
public string Status { get; set; }
/// <summary>
/// 劵所有者买家用户信息必须是支付宝的用户json格式。 目前仅支持如下key unique用户唯一标识 unique_type支持以下1种取值。 UID用户支付宝账户的唯一ID OPENID用户支付宝账户在某商户下的唯一ID
/// </summary>
public string UserInfo { get; set; }
#region IAopRequest Members
private bool needEncrypt=false;
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 this.needEncrypt;
}
public void SetNotifyUrl(string notifyUrl){
this.notifyUrl = notifyUrl;
}
public string GetNotifyUrl(){
return this.notifyUrl;
}
public void SetReturnUrl(string returnUrl){
this.returnUrl = returnUrl;
}
public string GetReturnUrl(){
return this.returnUrl;
}
public void SetTerminalType(String terminalType){
this.terminalType=terminalType;
}
public string GetTerminalType(){
return this.terminalType;
}
public void SetTerminalInfo(String terminalInfo){
this.terminalInfo=terminalInfo;
}
public string GetTerminalInfo(){
return this.terminalInfo;
}
public void SetProdCode(String prodCode){
this.prodCode=prodCode;
}
public string GetProdCode(){
return this.prodCode;
}
public string GetApiName()
{
return "alipay.member.coupon.querylist";
}
public void SetApiVersion(string apiVersion){
this.apiVersion=apiVersion;
}
public string GetApiVersion(){
return this.apiVersion;
}
public IDictionary<string, string> GetParameters()
{
AopDictionary parameters = new AopDictionary();
parameters.Add("merchant_info", this.MerchantInfo);
parameters.Add("page_no", this.PageNo);
parameters.Add("page_size", this.PageSize);
parameters.Add("status", this.Status);
parameters.Add("user_info", this.UserInfo);
return parameters;
}
public AopObject GetBizModel()
{
return this.bizModel;
}
public void SetBizModel(AopObject bizModel)
{
this.bizModel = bizModel;
}
#endregion
}
}