Exemplo n.º 1
0
 private ResolvedCapitalIndexedBondSettlement(LocalDate settlementDate, double price, BondPaymentPeriod payment)
 {
     JodaBeanUtils.notNull(settlementDate, "settlementDate");
     ArgChecker.notNegative(price, "price");
     JodaBeanUtils.notNull(payment, "payment");
     this.settlementDate = settlementDate;
     this.price          = price;
     this.payment        = payment;
 }
Exemplo n.º 2
0
 //-------------------------------------------------------------------------
 /// <summary>
 /// Obtains an instance from the settlement date, price and amount.
 /// </summary>
 /// <param name="settlementDate">  the settlement date </param>
 /// <param name="price">  the price at which the trade was agreed </param>
 /// <param name="amount">  the amount of the settlement </param>
 /// <returns> the settlement information </returns>
 public static ResolvedCapitalIndexedBondSettlement of(LocalDate settlementDate, double price, BondPaymentPeriod amount)
 {
     return(new ResolvedCapitalIndexedBondSettlement(settlementDate, price, amount));
 }