public static MonetaryAmount sum ( MonetaryAmount a , MonetaryAmount b ) { MoneyUtils . checkAmountParameter ( Objects . requireNonNull ( a ) , Objects . requireNonNull ( b . getCurrency ( ) ) ) ; return a . add ( b ) ; }
Adds two monetary together