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