Caplin FXIntegrationAPI Documentation - Version 6.2.0
Message Builder Example - AllocationLegFields
package com.caplin.examples.fxapi.generated.motif.fx.rates.QuotePartsDef;
import static com.caplin.motif.fx.config.DefaultDisplayFields.addDefaultSalesAllocationDetailsUpdateFields;
import com.caplin.generated.motif.fx.rates.QuotePartsDef;
public class AllocationLegFieldsExample {
public static void main(String[] args) {
QuotePartsDef.AllocationLegFields allocationLegFields =
QuotePartsDef.AllocationLegFields
.newBuilder()
.setAccount("Garfields|GARF")
.setDisplayFields(addDefaultSalesAllocationDetailsUpdateFields(/* See DefaultDisplayFields javadoc for parameters and available builder methods. */))
.setEntityDescription("Customer 1")
.setEntityId("CUSTONE")
.setFullName("")
.setIsReprice("")
.setMarkToMarket("12.45")
.setTOBOUser("client@customer.co.za")
.build();
}
}