package org.springblade.payment.cmcc.config;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * @Author: Silent
 * @Description 移动积分支付配置
 * @Date: Created in 11:35 2021/11/11
 * @Modified By:
 */
@Data
@Component
@ConfigurationProperties(prefix = "cmcc.pay")
@ApiModel("移动积分支付配置")
public class CmccPointConfig {
	@ApiModelProperty("请求地址")
	private String url;

	@ApiModelProperty("专区号")
	private String storeId;

	@ApiModelProperty("AesKey")
	private String aesKey;

	@ApiModelProperty("aesIv")
	private String aesIv;

	@ApiModelProperty("签名key")
	private String signKey;

	@ApiModelProperty("appId")
	private String appId;

	@ApiModelProperty("appkey")
	private String appkey;

	@ApiModelProperty("商户号")
	private String partnerId;

	@ApiModelProperty("回调地址，移动授权完成后，会回调到该地址，一般设置为首页地址，注意该地址不能有参数")
	private String callbackUrl;
}
