public static final class IborCapFloorTrade.Builder extends org.joda.beans.impl.direct.DirectFieldsBeanBuilder<IborCapFloorTrade>
IborCapFloorTrade.| Modifier and Type | Method and Description |
|---|---|
IborCapFloorTrade |
build() |
Object |
get(String propertyName) |
IborCapFloorTrade.Builder |
info(TradeInfo info)
Sets the additional trade information, defaulted to an empty instance.
|
IborCapFloorTrade.Builder |
premium(AdjustablePayment premium)
Sets the optional premium of the product.
|
IborCapFloorTrade.Builder |
product(IborCapFloor product)
Sets the cap/floor product that was agreed when the trade occurred.
|
IborCapFloorTrade.Builder |
set(org.joda.beans.MetaProperty<?> property,
Object value) |
IborCapFloorTrade.Builder |
set(String propertyName,
Object newValue) |
String |
toString() |
public Object get(String propertyName)
get in interface org.joda.beans.BeanBuilder<IborCapFloorTrade>get in class org.joda.beans.impl.direct.DirectFieldsBeanBuilder<IborCapFloorTrade>public IborCapFloorTrade.Builder set(String propertyName, Object newValue)
public IborCapFloorTrade.Builder set(org.joda.beans.MetaProperty<?> property, Object value)
set in interface org.joda.beans.BeanBuilder<IborCapFloorTrade>set in class org.joda.beans.impl.direct.DirectFieldsBeanBuilder<IborCapFloorTrade>public IborCapFloorTrade build()
public IborCapFloorTrade.Builder info(TradeInfo info)
This allows additional information to be attached to the trade.
info - the new value, not nullpublic IborCapFloorTrade.Builder product(IborCapFloor product)
The product captures the contracted financial details of the trade.
product - the new value, not nullpublic IborCapFloorTrade.Builder premium(AdjustablePayment premium)
For most Ibor cap/floor products, a premium is paid upfront. This typically occurs instead of periodic payments based on fixed or Ibor rates over the lifetime of the product.
The premium sign must be compatible with the product Pay/Receive flag.
premium - the new valuepublic String toString()
toString in class org.joda.beans.impl.direct.DirectFieldsBeanBuilder<IborCapFloorTrade>Copyright 2009-Present by OpenGamma Inc. and individual contributors
Apache v2 licensed
Additional documentation can be found at strata.opengamma.io.