| Modifier and Type | Method and Description |
|---|---|
CmsTrade |
build() |
Object |
get(String propertyName) |
CmsTrade.Builder |
info(TradeInfo info)
Sets the additional trade information, defaulted to an empty instance.
|
CmsTrade.Builder |
premium(AdjustablePayment premium)
Sets the optional premium of the product.
|
CmsTrade.Builder |
product(Cms product)
Sets the CMS product that was agreed when the trade occurred.
|
CmsTrade.Builder |
set(org.joda.beans.MetaProperty<?> property,
Object value) |
CmsTrade.Builder |
set(String propertyName,
Object newValue) |
String |
toString() |
public CmsTrade.Builder set(String propertyName, Object newValue)
public CmsTrade.Builder set(org.joda.beans.MetaProperty<?> property, Object value)
public CmsTrade build()
public CmsTrade.Builder info(TradeInfo info)
This allows additional information to be attached to the trade.
info - the new value, not nullpublic CmsTrade.Builder product(Cms product)
The product captures the contracted financial details of the trade.
product - the new value, not nullpublic CmsTrade.Builder premium(AdjustablePayment 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 valueCopyright 2009-Present by OpenGamma Inc. and individual contributors
Apache v2 licensed
Additional documentation can be found at strata.opengamma.io.