Caplin FXIntegrationAPI Documentation - Version 8.2.0

Message Builder Example - CapitalIncrease

package com.caplin.examples.fxapi.generated.motif.mm.capitalincrease.CapitalIncreaseTypesDef; 

import java.math.BigInteger;

import com.caplin.generated.motif.mm.capitalincrease.CapitalIncreasePartsDef;
import com.caplin.generated.motif.mm.capitalincrease.CapitalIncreaseTypesDef;

public class CapitalIncreaseExample {
    public static void main(String[] args) {
                    		
		CapitalIncreaseTypesDef.CapitalIncrease capitalIncrease =
		CapitalIncreaseTypesDef.CapitalIncrease
			.newBuilder()
			.setCapitalIncreaseFields(
			CapitalIncreasePartsDef.CapitalIncreaseFields
				.newBuilder()
				.setCurrency("USD")
				.setIncreasedAmount(BigDecimal.valueOf(0.0))
				.setInterestRate("")
				.setInterestRateDPS("")
				.setMaturityDate("")
				.setNoticePeriodDescription("")
				.setNumberOfDays("")
				.setOriginalAmount("")
				.setPrincipalAmount("")
				.setStartDate("20150620")
				.setTradeID("00001561")
				.setTradingType("")
				.build())
			.build();
            
    }
}