Caplin FXIntegrationAPI Documentation - Version 8.9.0

Message Builder Example - AllocationCommonFields

package com.caplin.examples.fxapi.generated.motif.fx.rates.QuotePartsDef; 

import java.math.BigInteger;

import com.caplin.generated.motif.fx.rates.QuotePartsDef;

public class AllocationCommonFieldsExample {
    public static void main(String[] args) {
                    		
		QuotePartsDef.AllocationCommonFields allocationCommonFields =
		QuotePartsDef.AllocationCommonFields
			.newBuilder()
			.setNetBuySell("")
			.setNetDealtAmount(BigDecimal.valueOf(1000000))
			.build();
            
    }
}