Created
August 11, 2020 10:35
-
-
Save ashkrit/8627da54f1bfb267be85cd0b28ed9b25 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class FXTradeTemplate$REPLACE { | |
static RuleSchema<FXTransaction> tradeSchema = schema("Trade", schema -> { | |
schema.attribute("source", FXTransaction::getSource); | |
schema.attribute("target", FXTransaction::getTarget); | |
schema.attribute("amount", FXTransaction::getAmount); | |
schema.attribute("date", FXTransaction::getTransactionDate); | |
schema.attribute("bankCode", FXTransaction::getBankCode); | |
schema.attribute("accountNo", FXTransaction::getAccountNum); | |
}); | |
public RuleEngine<FXTransaction> create() { | |
RuleEngine<FXTransaction> ds = null; | |
//CODE | |
return ds; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment