Modifier and Type | Method and Description |
---|---|
LoanTrade.Builder |
accrualSettlementType(LoanTradingAccrualSettlement accrualSettlementType)
Sets settlement accrued interest treatment, e.g.
|
LoanTrade.Builder |
adjustmentOnTradeDate(boolean adjustmentOnTradeDate)
Sets flag to adjust amount for commitment adjustment occurring on trade date.
|
LoanTrade.Builder |
amount(double amount)
Sets the traded commitment amount.
|
LoanTrade.Builder |
association(LoanTradingAssoc association)
Sets governing loan association, e.g.
|
LoanTrade.Builder |
averageLibor(double averageLibor)
Sets average LIBOR fixing.
|
LoanTrade |
build() |
LoanTrade.Builder |
buyer(com.opengamma.strata.basics.StandardId buyer)
Sets buy counter party
|
LoanTrade.Builder |
buySell(com.opengamma.strata.product.common.BuySell buySell)
Sets whether the trade is 'Buy' or 'Sell'.
|
LoanTrade.Builder |
commitmentReductionCreditFlag(boolean commitmentReductionCreditFlag)
Sets flag to waive CR credit.
|
LoanTrade.Builder |
currency(com.opengamma.strata.basics.currency.Currency currency)
Sets trade currency.
|
LoanTrade.Builder |
delayedCompensationFlag(boolean delayedCompensationFlag)
Sets waive delayed compensation flag.
|
LoanTrade.Builder |
documentationType(LoanTradingDocType documentationType)
Sets documentation type, e.g.
|
LoanTrade.Builder |
expectedSettlementDate(java.time.LocalDate expectedSettlementDate)
Sets the expected (legal) settlement date of the trade.
|
LoanTrade.Builder |
formOfPurchase(LoanTradingFormOfPurchase formOfPurchase)
Sets form of purchase, e.g.
|
Object |
get(String propertyName) |
LoanTrade.Builder |
info(com.opengamma.strata.product.TradeInfo info)
Sets the additional trade information, defaulted to an empty instance.
|
LoanTrade.Builder |
paydownOnTradeDate(boolean paydownOnTradeDate)
Sets flag to recognize repayment on trade date.
|
LoanTrade.Builder |
pctShare(com.opengamma.strata.collect.timeseries.LocalDateDoubleTimeSeries pctShare)
Sets calculated series of prorated share of global facility.
|
LoanTrade.Builder |
price(double price)
Sets the clean price of the trade.
|
LoanTrade.Builder |
product(Facility product)
Sets the loan product that was agreed when the trade occurred.
|
LoanTrade.Builder |
seller(com.opengamma.strata.basics.StandardId seller)
Sets sell counter party
|
LoanTrade.Builder |
set(org.joda.beans.MetaProperty<?> property,
Object value) |
LoanTrade.Builder |
set(String propertyName,
Object newValue) |
String |
toString() |
LoanTrade.Builder |
tradeType(LoanTradingType tradeType)
Sets trade type, e.g.
|
LoanTrade.Builder |
whenIssuedFlag(boolean whenIssuedFlag)
Sets a flag to indicate the dependency of a secondary market loan trade upon
the closing of a primary market loan structuring and syndication process.
|
public LoanTrade.Builder set(String propertyName, Object newValue)
public LoanTrade.Builder set(org.joda.beans.MetaProperty<?> property, Object value)
public LoanTrade build()
public LoanTrade.Builder info(com.opengamma.strata.product.TradeInfo info)
This allows additional information to be attached to the trade.
info
- the new valuepublic LoanTrade.Builder product(Facility product)
product
- the new value, not nullpublic LoanTrade.Builder buySell(com.opengamma.strata.product.common.BuySell buySell)
buySell
- the new value, not nullpublic LoanTrade.Builder buyer(com.opengamma.strata.basics.StandardId buyer)
buyer
- the new value, not nullpublic LoanTrade.Builder seller(com.opengamma.strata.basics.StandardId seller)
seller
- the new value, not nullpublic LoanTrade.Builder amount(double amount)
amount
- the new valuepublic LoanTrade.Builder currency(com.opengamma.strata.basics.currency.Currency currency)
currency
- the new valuepublic LoanTrade.Builder price(double price)
price
- the new valuepublic LoanTrade.Builder expectedSettlementDate(java.time.LocalDate expectedSettlementDate)
expectedSettlementDate
- the new value, not nullpublic LoanTrade.Builder delayedCompensationFlag(boolean delayedCompensationFlag)
delayedCompensationFlag
- the new valuepublic LoanTrade.Builder association(LoanTradingAssoc association)
association
- the new valuepublic LoanTrade.Builder formOfPurchase(LoanTradingFormOfPurchase formOfPurchase)
formOfPurchase
- the new valuepublic LoanTrade.Builder documentationType(LoanTradingDocType documentationType)
documentationType
- the new valuepublic LoanTrade.Builder tradeType(LoanTradingType tradeType)
tradeType
- the new valuepublic LoanTrade.Builder whenIssuedFlag(boolean whenIssuedFlag)
whenIssuedFlag
- the new valuepublic LoanTrade.Builder commitmentReductionCreditFlag(boolean commitmentReductionCreditFlag)
commitmentReductionCreditFlag
- the new valuepublic LoanTrade.Builder paydownOnTradeDate(boolean paydownOnTradeDate)
paydownOnTradeDate
- the new valuepublic LoanTrade.Builder adjustmentOnTradeDate(boolean adjustmentOnTradeDate)
adjustmentOnTradeDate
- the new valuepublic LoanTrade.Builder accrualSettlementType(LoanTradingAccrualSettlement accrualSettlementType)
accrualSettlementType
- the new valuepublic LoanTrade.Builder averageLibor(double averageLibor)
averageLibor
- the new valuepublic LoanTrade.Builder pctShare(com.opengamma.strata.collect.timeseries.LocalDateDoubleTimeSeries pctShare)
pctShare
- the new valueCopyright © 2018. All rights reserved.