Caplin FXIntegrationAPI Documentation - Version 6.2.0
Message Builder Example - AllocationLegTradeConfirmationFields
package com.caplin.examples.fxapi.generated.motif.fx.tradeconfirmation.TradeConfPartsDef;
import static com.caplin.motif.fx.config.DefaultDisplayFields.addDefaultSalesAllocationDetailsUpdateFields;
import com.caplin.generated.motif.fx.tradeconfirmation.TradeConfPartsDef;
public class AllocationLegTradeConfirmationFieldsExample {
public static void main(String[] args) {
TradeConfPartsDef.AllocationLegTradeConfirmationFields allocationLegTradeConfirmationFields =
TradeConfPartsDef.AllocationLegTradeConfirmationFields
.newBuilder()
.setDisplayFields(addDefaultSalesAllocationDetailsUpdateFields(/* See DefaultDisplayFields javadoc for parameters and available builder methods. */))
.setMarkToMarket("12.45")
.build();
}
}