mirror of
https://github.com/bisq-network/bisq.git
synced 2025-02-24 23:18:17 +01:00
Add isMoneyGramAccount to abstract PaymentAccount
This commit is contained in:
parent
bb6762a23e
commit
636fac9170
1 changed files with 4 additions and 0 deletions
|
@ -181,6 +181,10 @@ public abstract class PaymentAccount implements PersistablePayload {
|
|||
return this instanceof HalCashAccount;
|
||||
}
|
||||
|
||||
public boolean isMoneyGramAccount() {
|
||||
return this instanceof MoneyGramAccount;
|
||||
}
|
||||
|
||||
/**
|
||||
* Return an Optional of the trade currency for this payment account, or
|
||||
* Optional.empty() if none is found. If this payment account has a selected
|
||||
|
|
Loading…
Add table
Reference in a new issue