package com.yuchen.saas.payment.api.vo.moreOrderRefund;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

@Data
public class OrderRefundableCostDetailVO {

    @ApiModelProperty(name = "totalRefundCost", value = "总的可退金额")
    private Long totalRefundCost;
    @ApiModelProperty(name = "invoiceType", value = "开票类型(p:电子增值税普通发票(默认) ps:电子收购发票 c:纸质普通发票 cs:纸质收购票 s:增值税专用发票 py:成品油 q:全电普票(数电普票) w:全电专票(数电专票) qs:全电收购)")
    private String invoiceType;

    @ApiModelProperty(name = "invoiceStatus", value = "开票状态(0:开票中 1:开票成功 2:开票失败 3:红冲中(待退票) 4:已红冲(已退票) 5:被驳回 6:重开发票申请中 7:待作废 8:已作废 9:未开票 10:被驳回且重新申请 11:待红冲 12:红冲失败)")
    private Integer invoiceStatus;
    @ApiModelProperty(name = "RefundableCostDetail", value = "可退费用项明细 ")
    private List<RefundableCostDetail> refundableCostDetail;
    @Data
    public static class RefundableCostDetail{
        @ApiModelProperty(name = "itemRefundCost", value = "可退金额")
        private Long refundCost;
        @ApiModelProperty(name = "itemName", value = "费用项目名称")
        private String itemName;
        @ApiModelProperty(name = "itemNo", value = "费用编号")
        private String itemNo;
        @ApiModelProperty(name = "isRefund", value = "是否支持退款(1:是;0:否)")
        private Integer isRefund;
    }

}
