Caplin FXIntegrationAPI Documentation - Version 8.9.0
Message Builder Example - SalesSyntheticComponentLegTradeConfirmationFields
package com.caplin.examples.fxapi.generated.motif.fx.tradeconfirmation.TradeConfPartsDef;
import java.math.BigInteger;
import com.caplin.generated.motif.fx.tradeconfirmation.TradeConfPartsDef;
public class SalesSyntheticComponentLegTradeConfirmationFieldsExample {
public static void main(String[] args) {
TradeConfPartsDef.SalesSyntheticComponentLegTradeConfirmationFields salesSyntheticComponentLegTradeConfirmationFields =
TradeConfPartsDef.SalesSyntheticComponentLegTradeConfirmationFields
.newBuilder()
.setAllInRateDPS("5")
.setFwdMidPoints(BigDecimal.valueOf(0.005390))
.setTraderFwdPoints(BigDecimal.valueOf(0.005390))
.build();
}
}