package com.za.bean.request

data class PaymentInfoRequest(
    var userOrderId: Int? = null,
    val taskOrderId: Int? = null)

//  private int userOrderId;
//    private int taskOrderId;
//    private int onSite;//是否在现场 1是 0否
//    private Integer orderPayDetailId;//订单支付明细ID
//    private String userPhone;//客户号码，客户不在现场时必填
data class CustomerPaymentCreateRequest(val userOrderId: Int? = null,
                                        val taskOrderId: Int? = null,
                                        val onSite: Int? = null,
                                        val orderPayDetailId: Int? = null,
                                        val userPhone: String? = null)

// private int userOrderId;
//    private int taskOrderId;
//    private Float amount;
//    private String payData;//二维码链接
//    private String payCode;//付款编号
//    private String plateNumber;//车牌号
data class CustomerPaymentCreateBean(val userOrderId: Int? = null,
                                     val taskOrderId: Int? = null,
                                     val amount: Float? = null,
                                     val payData: String? = null,
                                     val payCode: String? = null,
                                     val plateNumber: String? = null)

//private Integer userOrderId;
//private Integer taskOrderId;
//private Float payAmount; //收款金额
//private Float unitPrice;//单价  //如果单价为 null 并且payItem 为2 则为超限无单价项目
//private Float mileage;//公里数
//private Integer orderPayDetailId;//订单支付明细ID
//private String updateRemark;//支付项目  1.现金项目  2超限项目
//private Float calculateAmount;//计算金额
//private Float adjustAmount;//调整金额
//private boolean askPayment;

data class PaymentUpdateRequest(val userOrderId: Int? = null,
                                val taskOrderId: Int? = null,
                                val payAmount: Float? = null,
                                val unitPrice: Float? = null,
                                val mileage: Float? = null,
                                val orderPayDetailId: Int? = null,
                                val updateRemark: String? = null,
                                val calculateAmount: Float? = null,
                                val adjustAmount: Float? = null,
                                val askPayment: Boolean? = null)