Caplin FXIntegrationAPI Documentation - Version 6.2.0

Message Builder Example - InterventionLegTradeDetailsFields

package com.caplin.examples.fxapi.generated.motif.fx.tradedetails.TradeDetailsPartsDef; 

import com.caplin.generated.motif.fx.tradedetails.TradeDetailsPartsDef;

public class InterventionLegTradeDetailsFieldsExample {
    public static void main(String[] args) {
                    		
		TradeDetailsPartsDef.InterventionLegTradeDetailsFields interventionLegTradeDetailsFields =
		TradeDetailsPartsDef.InterventionLegTradeDetailsFields
			.newBuilder()
			.setWarningMessage("You do not have sufficient credit for EUR")
			.build();
            
    }
}