public enum TradePriceNegotiationMethod extends Enum<TradePriceNegotiationMethod>
Enum Constant and Description |
---|
DealSpread
Deal Spread.
|
None
Default value.
|
PercentOfPar
Percent of Par.
|
UpfrontAmount
Upfront Amount.
|
UpfrontAmountAndDealSpread
Upfront Amount and Deal Spread.
|
UpfrontAmountAndPercentOfPar
Upfront Amount and Percent of Par.
|
UpfrontAmountAndUpfrontPoints
Upfront Amount and Upfront points.
|
UpfrontPoints
Upfront Points.
|
Modifier and Type | Method and Description |
---|---|
static TradePriceNegotiationMethod |
forValue(int value)
Returns enum value for the int representation
|
int |
getValue()
Gets current value.
|
static TradePriceNegotiationMethod |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TradePriceNegotiationMethod[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TradePriceNegotiationMethod None
public static final TradePriceNegotiationMethod PercentOfPar
public static final TradePriceNegotiationMethod DealSpread
public static final TradePriceNegotiationMethod UpfrontPoints
public static final TradePriceNegotiationMethod UpfrontAmount
public static final TradePriceNegotiationMethod UpfrontAmountAndPercentOfPar
public static final TradePriceNegotiationMethod UpfrontAmountAndDealSpread
public static final TradePriceNegotiationMethod UpfrontAmountAndUpfrontPoints
public static TradePriceNegotiationMethod[] values()
for (TradePriceNegotiationMethod c : TradePriceNegotiationMethod.values()) System.out.println(c);
public static TradePriceNegotiationMethod valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic int getValue()
public static TradePriceNegotiationMethod forValue(int value)
value
- valueCopyright © 2014–2025 Onix Solutions. All rights reserved.