Files
jsowell-charger-web/jsowell-pile/src/main/java/com/jsowell/adapay/dto/SplitData.java
2024-12-31 16:17:37 +08:00

44 lines
947 B
Java
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
package com.jsowell.adapay.dto;
import lombok.Data;
import java.math.BigDecimal;
/**
* 订单分账数据
*/
@Data
public class SplitData {
// 分账用户 Member对象 的 id若是商户本身时传入0
private String memberId;
// 分账金额精确到分如0.501.00等,分账总金额必须等于主交易金额,金额不能为0.00
private String amount;
// 是否手续费承担方N-否Y-是,手续费承担方有且只能有一个
private String feeFlag;
// 控制台 主页面应用的app_id不上送默认取商户自身app_id
private String appId;
/**
* 电费分账比例
*/
private BigDecimal elecRatio;
/**
* 电费分账金额
*/
private BigDecimal elecAmount;
/**
* 服务费分账比例
*/
private BigDecimal serviceRatio;
/**
* 服务费分账金额
*/
private BigDecimal serviceAmount;
}