Caplin FXIntegrationAPI Documentation - Version 6.2.0
Message Builder Example - OrderPriceTouchedNotification
package com.caplin.examples.fxapi.generated.motif.fx.notifications.NotificationsTypesDef;
import java.math.BigInteger;
import com.caplin.generated.motif.fx.notifications.NotificationsTypesDef;
public class OrderPriceTouchedNotificationExample {
public static void main(String[] args) {
NotificationsTypesDef.OrderPriceTouchedNotification orderPriceTouchedNotification =
NotificationsTypesDef.OrderPriceTouchedNotification
.newBuilder()
.setAmount("0")
.setBuySell("")
.setCurrencyPair("")
.setDealtCurrency("GBP")
.setOrderID("")
.setSpotRate(BigDecimal.valueOf(1.08341))
.setSpotRateDPS(5)
.setTenor("1M")
.build();
}
}