Caplin FXIntegrationAPI Documentation - Version 3.58.0

Message Builder Example - Quote

package com.caplin.examples.fxapi.generated.motif.mm.rates.QuoteTypesDef; 

import java.math.BigInteger;

import com.caplin.generated.motif.mm.rates.QuotePartsDef;
import com.caplin.generated.motif.mm.rates.QuoteTypesDef;

public class QuoteExample {
    public static void main(String[] args) {
                    		
		QuoteTypesDef.Quote quote =
		QuoteTypesDef.Quote
			.newBuilder()
			.setCommonFields(
			QuotePartsDef.CommonFields
				.newBuilder()
				.setDepositInterestAmount("")
				.setDepositInterestRate("")
				.setDepositPrincipalPlusInterest("")
				.setDepositQuoteID("")
				.setLoanInterestAmount(BigDecimal.valueOf(0.0))
				.setLoanInterestRate("")
				.setLoanPrincipalPlusInterest("")
				.setLoanQuoteID("")
				.setOverallTimeout("")
				.build())
			.build();
            
    }
}