package com.jsowell.adapay.operation;

import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

import java.math.BigDecimal;

/**
 * 支付撤销操作对象
 */
@Getter
@Setter
@NoArgsConstructor
@AllArgsConstructor
public class PaymentReverseOperation extends AdapayOperationInfo{
    // 支付id
    private String paymentId;

    // 撤销金额
    private BigDecimal reverseAmt;

    // order/balance
    private String scenarioType;

    // scenarioType = balance 会员id不为空
    private String memberId;

    // scenarioType = order 订单编号不为空
    private String orderCode;
}
