Caplin FXIntegrationAPI Documentation - Version 6.2.0
Message Builder Example - CommonPrecisionFields
package com.caplin.examples.fxapi.generated.motif.fx.precision.PrecisionPartsDef;
import java.math.BigInteger;
import com.caplin.generated.motif.fx.precision.PrecisionPartsDef;
public class CommonPrecisionFieldsExample {
public static void main(String[] args) {
PrecisionPartsDef.CommonPrecisionFields commonPrecisionFields =
PrecisionPartsDef.CommonPrecisionFields
.newBuilder()
.setAmountDPS(BigDecimal.valueOf(2))
.build();
}
}