Caplin FXIntegrationAPI Documentation - Version 8.9.0

Message Builder Example - SalesSyntheticComponentLegFields

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

import java.math.BigInteger;

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

public class SalesSyntheticComponentLegFieldsExample {
    public static void main(String[] args) {
                    		
		QuotePartsDef.SalesSyntheticComponentLegFields salesSyntheticComponentLegFields =
		QuotePartsDef.SalesSyntheticComponentLegFields
			.newBuilder()
			.setAllInRateDPS("5")
			.setFwdMidPoints(BigDecimal.valueOf(0.005390))
			.setTraderFwdAskPoints(BigDecimal.valueOf(0.001198))
			.setTraderFwdBidPoints(BigDecimal.valueOf(0.001198))
			.build();
            
    }
}