package io.renren.vo;

import java.math.BigDecimal;
import java.util.List;

import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 内部代发申请 请求连连参数
 * @author lsy
 */

@Data
@EqualsAndHashCode
public class TransferMorepyeeParams {
	
	private String timestamp;
    private String oid_partner;
    private String notify_url;
    private String pay_expire;//订单有效期，单位：分钟，默认3天
    private String funds_flag;//垫资标识Y：支持垫资N：不支持垫资
    private OrderInfo orderInfo;
    private PayerInfo payerInfo;
    private List<PayeeInfo> payeeInfo;

	/**
	 * 商户订单信息
	 */
	@Data
	public class OrderInfo {
		private String txn_seqno;
	    private String txn_time;
	    private BigDecimal total_amount;
	    private String txn_purpose;
	    private String order_info;
	}
	
	/**
	 * 付款方信息
	 */
	@Data
	public class PayerInfo{
		private String payer_id;
		private String payer_type;
		private String password;
	    private String random_key;
	    private String payer_accttype;
	    private String pap_agree_no;
	    
	}
	
	/**
	 * 收款方信息
	 */
	@Data
	public class PayeeInfo{
		private String payee_id;
		private String payee_type;
		private String payee_accttype;
		private String payee_amount;
	}
}
