package com.wzj.soopin.transaction.domain.vo;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;

/**
 * 易生支付结果
 */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class EasypayTransResultVO {

    /**
     * 订单id
     */
    public Long orderId;

    /**
     * 支付单id
     */
    public Long payId;

    /**
     * 交易状态 0->待支付,1->已支付,2->退款中,3->已退款
     */
    public int transState;

    /**
     * 订单总金额
     */
    private BigDecimal totalAmount;

}
