31323334353637
public static Price toFixPrice(Money money) { return new Price(money.getAmount().doubleValue()); } public static Currency toFixCurrency(Money money) { return new Currency(money.getCurrency().getCurrencyCode()); }
616617618619620621622623624625626
Date validUntil = new Date( expiry ); ValidUntilTime validTime = new ValidUntilTime( validUntil ); fixIOI.set( validTime ); //Currency Currency currency = new Currency( "USD" ); fixIOI.set( currency ); // *** Send message *** sendMessage(fixIOI); iois.add(ioi);