NativePrepayRequest.java
525 Bytes
package com.diligrp.cashier.pipeline.domain;
import java.time.LocalDateTime;
public class NativePrepayRequest extends OnlinePaymentRequest {
// 超时时间-秒
private final Long timeout;
public NativePrepayRequest(String paymentId, long amount, String goods, String description, LocalDateTime when,
Long timeout) {
super(paymentId, amount, goods, description, when);
this.timeout = timeout;
}
public Long getTimeout() {
return timeout;
}
}