cn.com.antcloud.api.ato.v1_0.model.ActivePayOrder Maven / Gradle / Ivy
//
// Copyright (c) 2020-present antgroup.com, https://www.antgroup.com
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
//
//
package cn.com.antcloud.api.ato.v1_0.model;
import java.lang.Long;
import java.lang.String;
import java.util.Date;
import javax.validation.constraints.Min;
import javax.validation.constraints.NotNull;
/**
* 主动支付单据 */
public class ActivePayOrder {
@NotNull
private String tradeNo;
@NotNull
private String tradeStatus;
private String statusReasonCode;
private String statusReasonMsg;
@Min(1)
private Long totalAmount;
@Min(1)
private Long paidAmount;
@Min(1)
private Long receiptAmount;
private Date gmtPay;
/**
* 支付宝支付订单号,用于拉起主动支付页面 */
public String getTradeNo() {
return this.tradeNo;
}
/**
* 支付宝支付订单号,用于拉起主动支付页面 */
public void setTradeNo(String tradeNo) {
this.tradeNo = tradeNo;
}
/**
* 状态
* INIT:交易创建
* FAILED:付款失败
* SUCCESS:付款成功 */
public String getTradeStatus() {
return this.tradeStatus;
}
/**
* 状态
* INIT:交易创建
* FAILED:付款失败
* SUCCESS:付款成功 */
public void setTradeStatus(String tradeStatus) {
this.tradeStatus = tradeStatus;
}
/**
* 状态原因码 */
public String getStatusReasonCode() {
return this.statusReasonCode;
}
/**
* 状态原因码 */
public void setStatusReasonCode(String statusReasonCode) {
this.statusReasonCode = statusReasonCode;
}
/**
* 超时关闭 */
public String getStatusReasonMsg() {
return this.statusReasonMsg;
}
/**
* 超时关闭 */
public void setStatusReasonMsg(String statusReasonMsg) {
this.statusReasonMsg = statusReasonMsg;
}
/**
* 本次交易支付的订单金额,单位为分
* 付款成功或付款成功之后的状态必填 */
public Long getTotalAmount() {
return this.totalAmount;
}
/**
* 本次交易支付的订单金额,单位为分
* 付款成功或付款成功之后的状态必填 */
public void setTotalAmount(Long totalAmount) {
this.totalAmount = totalAmount;
}
/**
* 用户在交易中支付的金额,单位为分
* 付款成功的状态必填 */
public Long getPaidAmount() {
return this.paidAmount;
}
/**
* 用户在交易中支付的金额,单位为分
* 付款成功的状态必填 */
public void setPaidAmount(Long paidAmount) {
this.paidAmount = paidAmount;
}
/**
* 商家在交易中实际收到的款项,单位为分
* 付款成功的状态必填 */
public Long getReceiptAmount() {
return this.receiptAmount;
}
/**
* 商家在交易中实际收到的款项,单位为分
* 付款成功的状态必填 */
public void setReceiptAmount(Long receiptAmount) {
this.receiptAmount = receiptAmount;
}
/**
* 交易支付时间
* 付款成功的状态必填 */
public Date getGmtPay() {
return this.gmtPay;
}
/**
* 交易支付时间
* 付款成功的状态必填 */
public void setGmtPay(Date gmtPay) {
this.gmtPay = gmtPay;
}
}