package io.renren.modules.lianlian.vo;

import java.util.List;

import com.fasterxml.jackson.annotation.JsonProperty;

import lombok.Data;

/**
 * 电子回单下载 响应参数
 */
@Data
public class ReceiptDownloadResult {
	@JsonProperty("ret_code")
    private String retCode;
    @JsonProperty("ret_msg")
    private String retMsg;
    @JsonProperty("oid_partner")
    private String oidPartner;
    @JsonProperty("trade_accp_txno")
    private String tradeAccpTxno;
    @JsonProperty("total_amount")
    private String totalAmount;
    @JsonProperty("receipt_accp_txno")
    private String receiptAccpTxno;
    @JsonProperty("receipt_status")
    private String receiptStatus;
    @JsonProperty("receipt_sum_file")
    private String receiptSumFile;
    @JsonProperty("receiptInfo")
    private List<ReceiptInfo> receiptinfo;
    
    @Data
    public class ReceiptInfo {
    	@JsonProperty("receipt_filename")
        private String receiptFilename;
        private String amount;
        @JsonProperty("payer_type")
        private String payerType;
        @JsonProperty("payer_id")
        private String payerId;
        private String method;
        @JsonProperty("payee_type")
        private String payeeType;
        @JsonProperty("payee_id")
        private String payeeId;
    }
}
