public static final class ResolvedIborCapFloorTrade.Builder extends org.joda.beans.impl.direct.DirectFieldsBeanBuilder<ResolvedIborCapFloorTrade>
ResolvedIborCapFloorTrade.| Modifier and Type | Method and Description |
|---|---|
ResolvedIborCapFloorTrade |
build() |
Object |
get(String propertyName) |
ResolvedIborCapFloorTrade.Builder |
info(TradeInfo info)
Sets the additional trade information, defaulted to an empty instance.
|
ResolvedIborCapFloorTrade.Builder |
premium(Payment premium)
Sets the optional premium of the product.
|
ResolvedIborCapFloorTrade.Builder |
product(ResolvedIborCapFloor product)
Sets the resolved Ibor cap/floor product.
|
ResolvedIborCapFloorTrade.Builder |
set(org.joda.beans.MetaProperty<?> property,
Object value) |
ResolvedIborCapFloorTrade.Builder |
set(String propertyName,
Object newValue) |
String |
toString() |
public Object get(String propertyName)
get in interface org.joda.beans.BeanBuilder<ResolvedIborCapFloorTrade>get in class org.joda.beans.impl.direct.DirectFieldsBeanBuilder<ResolvedIborCapFloorTrade>public ResolvedIborCapFloorTrade.Builder set(String propertyName, Object newValue)
public ResolvedIborCapFloorTrade.Builder set(org.joda.beans.MetaProperty<?> property, Object value)
set in interface org.joda.beans.BeanBuilder<ResolvedIborCapFloorTrade>set in class org.joda.beans.impl.direct.DirectFieldsBeanBuilder<ResolvedIborCapFloorTrade>public ResolvedIborCapFloorTrade build()
public ResolvedIborCapFloorTrade.Builder info(TradeInfo info)
This allows additional information to be attached to the trade.
info - the new value, not nullpublic ResolvedIborCapFloorTrade.Builder product(ResolvedIborCapFloor product)
The product captures the contracted financial details of the trade.
product - the new value, not nullpublic ResolvedIborCapFloorTrade.Builder premium(Payment 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<ResolvedIborCapFloorTrade>Copyright 2009-Present by OpenGamma Inc. and individual contributors
Apache v2 licensed
Additional documentation can be found at strata.opengamma.io.