package com.xingxi.unifiedpay.bean;


import lombok.Data;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import java.util.List;

@Getter
@Setter
@ToString(callSuper = true)
public class BiandanUnifiedpayQueryProfitSharingResponse extends BaseBiandanUnifiedpayResponse{

    private String orderId;
    private String profitSharingStatus;
    private List<Receiver> receivers;



    @Data
    public static class Receiver{
        private String receiverMchid;
        private Integer amount;
        private String description;

        /**
         * <pre>
         * 字段名：分账结果
         * 变量名：result
         * 是否必填：是
         * 类型：string (32)
         * 描述：
         *  分账结果，枚举值：
         *    PENDING：待分账
         *    SUCCESS：分账成功
         *    ADJUST：分账失败待调账
         *    RETURNED：已转回分账方
         *    CLOSED：已关闭
         * 示例值：SUCCESS
         * </pre>
         */
        private String result;

    }
}
