Caplin FXIntegrationAPI Documentation - Version 8.4.0
Message Builder Example - SwapQuoteFields
package com.caplin.examples.fxapi.generated.motif.fx.rates.QuotePartsDef;
import java.math.BigInteger;
import com.caplin.generated.motif.fx.rates.QuotePartsDef;
public class SwapQuoteFieldsExample {
public static void main(String[] args) {
QuotePartsDef.SwapQuoteFields swapQuoteFields =
QuotePartsDef.SwapQuoteFields
.newBuilder()
.setSwapAskPips("49.34")
.setSwapAskPoints("0.004934")
.setSwapBidPips("41.71")
.setSwapBidPoints(BigDecimal.valueOf(0.004171))
.setSwapMidPoints("0.004553")
.build();
}
}