public final class ProratedLoanTrade extends Object implements com.opengamma.strata.basics.CalculationTarget, ProratedTrade, org.joda.beans.ImmutableBean
Modifier and Type | Class and Description |
---|---|
static class |
ProratedLoanTrade.Builder
The bean-builder for
ProratedLoanTrade . |
static class |
ProratedLoanTrade.Meta
The meta-bean for
ProratedLoanTrade . |
Modifier and Type | Method and Description |
---|---|
static ProratedLoanTrade.Builder |
builder()
Returns a builder used to create an instance of the bean.
|
boolean |
equals(Object obj) |
LoanTradingAccrualSettlement |
getAccrualSettlementType()
Gets settlement accrued interest treatment, e.g.
|
double |
getAmount()
Gets the traded commitment amount.
|
LoanTradingAssoc |
getAssociation()
Gets governing loan association, e.g.
|
double |
getAverageLibor()
Gets average LIBOR fixing.
|
com.opengamma.strata.basics.StandardId |
getBuyer()
Gets buy counter party
|
com.opengamma.strata.product.common.BuySell |
getBuySell()
Gets whether the trade is 'Buy' or 'Sell'.
|
com.opengamma.strata.basics.currency.Currency |
getCurrency()
Gets trade currency.
|
LoanTradingDocType |
getDocumentationType()
Gets documentation type, e.g.
|
java.time.LocalDate |
getExpectedSettlementDate()
Gets the expected (legal) settlement date of the trade.
|
LoanTradingFormOfPurchase |
getFormOfPurchase()
Gets form of purchase, e.g.
|
com.opengamma.strata.product.TradeInfo |
getInfo()
Gets the additional trade information, defaulted to an empty instance.
|
double |
getOriginalAmount()
Gets the original traded commitment amount, amount may be adjusted for repayment on trade date.
|
com.opengamma.strata.collect.timeseries.LocalDateDoubleTimeSeries |
getPctShare()
Gets calculated series of prorated share of global facility.
|
double |
getPrice()
Gets the clean price of the trade.
|
ProratedFacility |
getProduct()
Gets the loan facility product that was agreed when the trade occurred.
|
com.opengamma.strata.basics.StandardId |
getSeller()
Gets sell counter party
|
LoanTradingType |
getTradeType()
Gets trade type, e.g.
|
int |
hashCode() |
boolean |
isCommitmentReductionCreditFlag()
Gets flag to waive CR credit.
|
boolean |
isDelayedCompensationFlag()
Gets waive delayed compensation flag.
|
boolean |
isPaydownOnTradeDate()
Gets flag to recognize repayment on trade date.
|
boolean |
isWhenIssuedFlag()
Gets a flag to indicate the dependency of a secondary market loan trade upon
the closing of a primary market loan structuring and syndication process.
|
static ProratedLoanTrade.Meta |
meta()
The meta-bean for
ProratedLoanTrade . |
ProratedLoanTrade.Meta |
metaBean() |
ProratedLoanTrade.Builder |
toBuilder()
Returns a builder that allows this bean to be mutated.
|
String |
toString() |
public static ProratedLoanTrade.Meta meta()
ProratedLoanTrade
.public static ProratedLoanTrade.Builder builder()
public ProratedLoanTrade.Meta metaBean()
metaBean
in interface org.joda.beans.Bean
public com.opengamma.strata.product.TradeInfo getInfo()
This allows additional information to be attached to the trade.
getInfo
in interface ProratedTrade
public ProratedFacility getProduct()
The product captures the contracted financial details of the trade.
getProduct
in interface ProratedTrade
public com.opengamma.strata.product.common.BuySell getBuySell()
public com.opengamma.strata.basics.StandardId getBuyer()
public com.opengamma.strata.basics.StandardId getSeller()
public double getAmount()
The global amount represents the principal amount, and must be non-negative.
The currency of the global amount is specified by currency
.
public double getOriginalAmount()
The global amount represents the principal amount, and must be non-negative.
The currency of the global amount is specified by currency
.
public com.opengamma.strata.basics.currency.Currency getCurrency()
public double getPrice()
public java.time.LocalDate getExpectedSettlementDate()
public boolean isDelayedCompensationFlag()
public LoanTradingAssoc getAssociation()
public LoanTradingFormOfPurchase getFormOfPurchase()
public LoanTradingDocType getDocumentationType()
public LoanTradingType getTradeType()
public boolean isWhenIssuedFlag()
public boolean isCommitmentReductionCreditFlag()
public boolean isPaydownOnTradeDate()
public LoanTradingAccrualSettlement getAccrualSettlementType()
public double getAverageLibor()
public com.opengamma.strata.collect.timeseries.LocalDateDoubleTimeSeries getPctShare()
public ProratedLoanTrade.Builder toBuilder()
Copyright © 2018. All rights reserved.