All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.alipay.api.domain.AlipaySocialGiftOrderRefundModel Maven / Gradle / Ivy

package com.alipay.api.domain;

import com.alipay.api.AlipayObject;
import com.alipay.api.internal.mapping.ApiField;

/**
 * 用户商户发起退款
 *
 * @author auto create
 * @since 1.0, 2018-10-11 21:12:42
 */
public class AlipaySocialGiftOrderRefundModel extends AlipayObject {

	private static final long serialVersionUID = 3568964937465549151L;

	/**
	 * 商户再送礼平台的唯一ID,用于标识具体的调用业务方,需要先在送礼平台进行业务类型的分配之后才看使用。
	 */
	@ApiField("mid")
	private String mid;

	/**
	 * 对应送礼平台的主订单ID,可根据此进行订单查询
	 */
	@ApiField("order_id")
	private String orderId;

	/**
	 * 部分退款金额,该金额当退款类型为部分退款的时候,是必填的。部分退款以为这退部分金额。注意目前该接口只支持单次退款,即只允许单笔订单退一次。
	 */
	@ApiField("refund_price")
	private String refundPrice;

	/**
	 * 退款类型:
REFUND_ALL:全额退款, 取订单金额进行全额退款
REFUND_PARTLY:部分退款
默认为:REFUND_ALL
	 */
	@ApiField("refund_type")
	private String refundType;

	public String getMid() {
		return this.mid;
	}
	public void setMid(String mid) {
		this.mid = mid;
	}

	public String getOrderId() {
		return this.orderId;
	}
	public void setOrderId(String orderId) {
		this.orderId = orderId;
	}

	public String getRefundPrice() {
		return this.refundPrice;
	}
	public void setRefundPrice(String refundPrice) {
		this.refundPrice = refundPrice;
	}

	public String getRefundType() {
		return this.refundType;
	}
	public void setRefundType(String refundType) {
		this.refundType = refundType;
	}

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy