public static final class ProratedLoanTrade.Builder extends org.joda.beans.impl.direct.DirectFieldsBeanBuilder<ProratedLoanTrade>
ProratedLoanTrade
.Modifier and Type | Method and Description |
---|---|
ProratedLoanTrade.Builder |
accrualSettlementType(LoanTradingAccrualSettlement accrualSettlementType)
Sets settlement accrued interest treatment, e.g.
|
ProratedLoanTrade.Builder |
amount(double amount)
Sets the traded commitment amount.
|
ProratedLoanTrade.Builder |
association(LoanTradingAssoc association)
Sets governing loan association, e.g.
|
ProratedLoanTrade.Builder |
averageLibor(double averageLibor)
Sets average LIBOR fixing.
|
ProratedLoanTrade |
build() |
ProratedLoanTrade.Builder |
buyer(com.opengamma.strata.basics.StandardId buyer)
Sets buy counter party
|
ProratedLoanTrade.Builder |
buySell(com.opengamma.strata.product.common.BuySell buySell)
Sets whether the trade is 'Buy' or 'Sell'.
|
ProratedLoanTrade.Builder |
commitmentReductionCreditFlag(boolean commitmentReductionCreditFlag)
Sets flag to waive CR credit.
|
ProratedLoanTrade.Builder |
currency(com.opengamma.strata.basics.currency.Currency currency)
Sets trade currency.
|
ProratedLoanTrade.Builder |
delayedCompensationFlag(boolean delayedCompensationFlag)
Sets waive delayed compensation flag.
|
ProratedLoanTrade.Builder |
documentationType(LoanTradingDocType documentationType)
Sets documentation type, e.g.
|
ProratedLoanTrade.Builder |
expectedSettlementDate(java.time.LocalDate expectedSettlementDate)
Sets the expected (legal) settlement date of the trade.
|
ProratedLoanTrade.Builder |
formOfPurchase(LoanTradingFormOfPurchase formOfPurchase)
Sets form of purchase, e.g.
|
Object |
get(String propertyName) |
ProratedLoanTrade.Builder |
info(com.opengamma.strata.product.TradeInfo info)
Sets the additional trade information, defaulted to an empty instance.
|
ProratedLoanTrade.Builder |
originalAmount(double originalAmount)
Sets the original traded commitment amount, amount may be adjusted for repayment on trade date.
|
ProratedLoanTrade.Builder |
paydownOnTradeDate(boolean paydownOnTradeDate)
Sets flag to recognize repayment on trade date.
|
ProratedLoanTrade.Builder |
pctShare(com.opengamma.strata.collect.timeseries.LocalDateDoubleTimeSeries pctShare)
Sets calculated series of prorated share of global facility.
|
ProratedLoanTrade.Builder |
price(double price)
Sets the clean price of the trade.
|
ProratedLoanTrade.Builder |
product(ProratedFacility product)
Sets the loan facility product that was agreed when the trade occurred.
|
ProratedLoanTrade.Builder |
seller(com.opengamma.strata.basics.StandardId seller)
Sets sell counter party
|
ProratedLoanTrade.Builder |
set(org.joda.beans.MetaProperty<?> property,
Object value) |
ProratedLoanTrade.Builder |
set(String propertyName,
Object newValue) |
String |
toString() |
ProratedLoanTrade.Builder |
tradeType(LoanTradingType tradeType)
Sets trade type, e.g.
|
ProratedLoanTrade.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 Object get(String propertyName)
get
in interface org.joda.beans.BeanBuilder<ProratedLoanTrade>
get
in class org.joda.beans.impl.direct.DirectFieldsBeanBuilder<ProratedLoanTrade>
public ProratedLoanTrade.Builder set(String propertyName, Object newValue)
public ProratedLoanTrade.Builder set(org.joda.beans.MetaProperty<?> property, Object value)
set
in interface org.joda.beans.BeanBuilder<ProratedLoanTrade>
set
in class org.joda.beans.impl.direct.DirectFieldsBeanBuilder<ProratedLoanTrade>
public ProratedLoanTrade build()
public ProratedLoanTrade.Builder info(com.opengamma.strata.product.TradeInfo info)
This allows additional information to be attached to the trade.
info
- the new valuepublic ProratedLoanTrade.Builder product(ProratedFacility product)
The product captures the contracted financial details of the trade.
product
- the new value, not nullpublic ProratedLoanTrade.Builder buySell(com.opengamma.strata.product.common.BuySell buySell)
buySell
- the new value, not nullpublic ProratedLoanTrade.Builder buyer(com.opengamma.strata.basics.StandardId buyer)
buyer
- the new value, not nullpublic ProratedLoanTrade.Builder seller(com.opengamma.strata.basics.StandardId seller)
seller
- the new value, not nullpublic ProratedLoanTrade.Builder amount(double amount)
The global amount represents the principal amount, and must be non-negative.
The currency of the global amount is specified by currency
.
amount
- the new valuepublic ProratedLoanTrade.Builder originalAmount(double originalAmount)
The global amount represents the principal amount, and must be non-negative.
The currency of the global amount is specified by currency
.
originalAmount
- the new valuepublic ProratedLoanTrade.Builder currency(com.opengamma.strata.basics.currency.Currency currency)
currency
- the new value, not nullpublic ProratedLoanTrade.Builder price(double price)
price
- the new valuepublic ProratedLoanTrade.Builder expectedSettlementDate(java.time.LocalDate expectedSettlementDate)
expectedSettlementDate
- the new value, not nullpublic ProratedLoanTrade.Builder delayedCompensationFlag(boolean delayedCompensationFlag)
delayedCompensationFlag
- the new valuepublic ProratedLoanTrade.Builder association(LoanTradingAssoc association)
association
- the new valuepublic ProratedLoanTrade.Builder formOfPurchase(LoanTradingFormOfPurchase formOfPurchase)
formOfPurchase
- the new valuepublic ProratedLoanTrade.Builder documentationType(LoanTradingDocType documentationType)
documentationType
- the new valuepublic ProratedLoanTrade.Builder tradeType(LoanTradingType tradeType)
tradeType
- the new valuepublic ProratedLoanTrade.Builder whenIssuedFlag(boolean whenIssuedFlag)
whenIssuedFlag
- the new valuepublic ProratedLoanTrade.Builder commitmentReductionCreditFlag(boolean commitmentReductionCreditFlag)
commitmentReductionCreditFlag
- the new valuepublic ProratedLoanTrade.Builder paydownOnTradeDate(boolean paydownOnTradeDate)
paydownOnTradeDate
- the new valuepublic ProratedLoanTrade.Builder accrualSettlementType(LoanTradingAccrualSettlement accrualSettlementType)
accrualSettlementType
- the new valuepublic ProratedLoanTrade.Builder averageLibor(double averageLibor)
averageLibor
- the new valuepublic ProratedLoanTrade.Builder pctShare(com.opengamma.strata.collect.timeseries.LocalDateDoubleTimeSeries pctShare)
pctShare
- the new value, not nullpublic String toString()
toString
in class org.joda.beans.impl.direct.DirectFieldsBeanBuilder<ProratedLoanTrade>
Copyright © 2018. All rights reserved.