mirror of
https://github.com/bisq-network/bisq.git
synced 2025-01-19 05:44:05 +01:00
Add sellerConfirmedPaymentReceiptDate to Trade
Signed-off-by: HenrikJannsen <boilingfrog@gmx.com>
This commit is contained in:
parent
91a70d89a4
commit
c2e8189571
@ -441,6 +441,11 @@ public abstract class Trade extends TradeModel {
|
||||
@Getter
|
||||
transient final private IntegerProperty assetTxProofResultUpdateProperty = new SimpleIntegerProperty();
|
||||
|
||||
// Added in v.1.9.13
|
||||
@Getter
|
||||
@Setter
|
||||
private long sellerConfirmedPaymentReceiptDate;
|
||||
|
||||
|
||||
///////////////////////////////////////////////////////////////////////////////////////////
|
||||
// Constructor, initialization
|
||||
@ -527,7 +532,8 @@ public abstract class Trade extends TradeModel {
|
||||
.map(msg -> msg.toProtoNetworkEnvelope().getChatMessage())
|
||||
.collect(Collectors.toList()))
|
||||
.setLockTime(lockTime)
|
||||
.setUid(uid);
|
||||
.setUid(uid)
|
||||
.setSellerConfirmedPaymentReceiptDate(sellerConfirmedPaymentReceiptDate);
|
||||
|
||||
Optional.ofNullable(takerFeeTxId).ifPresent(builder::setTakerFeeTxId);
|
||||
Optional.ofNullable(depositTxId).ifPresent(builder::setDepositTxId);
|
||||
@ -597,6 +603,8 @@ public abstract class Trade extends TradeModel {
|
||||
.map(ChatMessage::fromPayloadProto)
|
||||
.collect(Collectors.toList()));
|
||||
|
||||
trade.setSellerConfirmedPaymentReceiptDate(proto.getSellerConfirmedPaymentReceiptDate());
|
||||
|
||||
return trade;
|
||||
}
|
||||
|
||||
|
@ -1750,6 +1750,7 @@ message Trade {
|
||||
string counter_currency_extra_data = 37;
|
||||
string asset_tx_proof_result = 38; // name of AssetTxProofResult enum
|
||||
string uid = 39;
|
||||
int64 sellerConfirmedPaymentReceiptDate = 40;
|
||||
}
|
||||
|
||||
message BuyerAsMakerTrade {
|
||||
|
Loading…
Reference in New Issue
Block a user