public final class CashSwaptionSettlement extends Object implements SwaptionSettlement, org.joda.beans.ImmutableBean, Serializable
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.
| Modifier and Type | Class and Description |
|---|---|
static class |
CashSwaptionSettlement.Meta
The meta-bean for
CashSwaptionSettlement. |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
CashSwaptionSettlementMethod |
getMethod()
Gets the cash settlement method.
|
LocalDate |
getSettlementDate()
Gets the settlement date.
|
SettlementType |
getSettlementType()
Gets the settlement type of swaption.
|
int |
hashCode() |
static CashSwaptionSettlement.Meta |
meta()
The meta-bean for
CashSwaptionSettlement. |
CashSwaptionSettlement.Meta |
metaBean() |
static CashSwaptionSettlement |
of(LocalDate settlementDate,
CashSwaptionSettlementMethod method)
Obtains an instance from the settlement date and method.
|
String |
toString() |
public static CashSwaptionSettlement of(LocalDate settlementDate, CashSwaptionSettlementMethod method)
settlementDate - the settlement datemethod - the settlement methodpublic SettlementType getSettlementType()
SwaptionSettlement
The settlement type is cash settlement or physical settlement, defined in SettlementType.
getSettlementType in interface SwaptionSettlementpublic static CashSwaptionSettlement.Meta meta()
CashSwaptionSettlement.public CashSwaptionSettlement.Meta metaBean()
metaBean in interface org.joda.beans.Beanpublic LocalDate getSettlementDate()
The payoff of the option is settled at this date.
public CashSwaptionSettlementMethod getMethod()
The settlement rate of the cash settled swaption is specified by respective cash settlement methods.
Copyright 2009-Present by OpenGamma Inc. and individual contributors
Apache v2 licensed
Additional documentation can be found at strata.opengamma.io.