Caplin FXIntegrationAPI Documentation - Version 8.9.0

Message Builder Example - NettingComponents

package com.caplin.examples.fxapi.generated.motif.fx.settlementinstructions.SettlementInstructionsPartsDef; 

import java.math.BigInteger;

import com.caplin.generated.motif.fx.settlementinstructions.SettlementInstructionsPartsDef;

public class NettingComponentsExample {
    public static void main(String[] args) {
                    		
		SettlementInstructionsPartsDef.NettingComponents nettingComponents =
		SettlementInstructionsPartsDef.NettingComponents
			.newBuilder()
			.setAmount(BigDecimal.valueOf(0))
			.setBuySell("")
			.setTradeID("00001561")
			.build();
            
    }
}