Add isMoneyGramAccount to abstract PaymentAccount

This commit is contained in:
ghubstan 2020-11-21 15:21:10 -03:00
parent bb6762a23e
commit 636fac9170
No known key found for this signature in database
GPG key ID: E35592D6800A861E

View file

@ -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