Class CashSwaptionSettlement
- java.lang.Object
 - 
- com.opengamma.strata.product.swaption.CashSwaptionSettlement
 
 
- 
- All Implemented Interfaces:
 SwaptionSettlement,Serializable,org.joda.beans.Bean,org.joda.beans.ImmutableBean
public final class CashSwaptionSettlement extends Object implements SwaptionSettlement, org.joda.beans.ImmutableBean, Serializable
Defines the cash settlement type for the payoff of a swaption.The settlement type is
SettlementType.CASH, This means that a cash amount is paid by the short party to the long party at the exercise date.- See Also:
 - Serialized Form
 
 
- 
- 
Nested Class Summary
Nested Classes Modifier and Type Class Description static classCashSwaptionSettlement.MetaThe meta-bean forCashSwaptionSettlement. 
- 
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)CashSwaptionSettlementMethodgetMethod()Gets the cash settlement method.LocalDategetSettlementDate()Gets the settlement date.SettlementTypegetSettlementType()Gets the settlement type of swaption.inthashCode()static CashSwaptionSettlement.Metameta()The meta-bean forCashSwaptionSettlement.CashSwaptionSettlement.MetametaBean()static CashSwaptionSettlementof(LocalDate settlementDate, CashSwaptionSettlementMethod method)Obtains an instance from the settlement date and method.StringtoString() 
 - 
 
- 
- 
Method Detail
- 
of
public static CashSwaptionSettlement of(LocalDate settlementDate, CashSwaptionSettlementMethod method)
Obtains an instance from the settlement date and method.- Parameters:
 settlementDate- the settlement datemethod- the settlement method- Returns:
 - the settlement
 
 
- 
getSettlementType
public SettlementType getSettlementType()
Description copied from interface:SwaptionSettlementGets the settlement type of swaption.The settlement type is cash settlement or physical settlement, defined in
SettlementType.- Specified by:
 getSettlementTypein interfaceSwaptionSettlement- Returns:
 - the settlement type
 
 
- 
meta
public static CashSwaptionSettlement.Meta meta()
The meta-bean forCashSwaptionSettlement.- Returns:
 - the meta-bean, not null
 
 
- 
metaBean
public CashSwaptionSettlement.Meta metaBean()
- Specified by:
 metaBeanin interfaceorg.joda.beans.Bean
 
- 
getSettlementDate
public LocalDate getSettlementDate()
Gets the settlement date.The payoff of the option is settled at this date.
- Returns:
 - the value of the property, not null
 
 
- 
getMethod
public CashSwaptionSettlementMethod getMethod()
Gets the cash settlement method.The settlement rate of the cash settled swaption is specified by respective cash settlement methods.
- Returns:
 - the value of the property, not null
 
 
 - 
 
 -