public final class ProratedLoanContract extends Object implements org.joda.beans.ImmutableBean
Modifier and Type | Class and Description |
---|---|
static class |
ProratedLoanContract.Builder
The bean-builder for
ProratedLoanContract . |
static class |
ProratedLoanContract.Meta
The meta-bean for
ProratedLoanContract . |
Modifier and Type | Method and Description |
---|---|
static ProratedLoanContract.Builder |
builder()
Returns a builder used to create an instance of the bean.
|
boolean |
equals(Object obj) |
ProratedAccrual |
getAccrual()
Gets contract accrual, fixed or floating.
|
com.google.common.collect.ImmutableList<ProratedAccrual> |
getAccrualSchedule()
Gets normalized set of sub-accruals based on contract-level events.
|
com.google.common.collect.ImmutableList<ProratedLoanContractEvent> |
getEvents()
Gets events (Borrowing, Repayment) associated with this contract.
|
com.opengamma.strata.basics.StandardId |
getId()
Gets the internal id of this contract
|
java.time.LocalDate |
getPaymentDate()
Gets the payment date of the contract.
|
int |
hashCode() |
static ProratedLoanContract.Meta |
meta()
The meta-bean for
ProratedLoanContract . |
ProratedLoanContract.Meta |
metaBean() |
ProratedLoanContract.Builder |
toBuilder()
Returns a builder that allows this bean to be mutated.
|
String |
toString() |
public static ProratedLoanContract.Meta meta()
ProratedLoanContract
.public static ProratedLoanContract.Builder builder()
public ProratedLoanContract.Meta metaBean()
metaBean
in interface org.joda.beans.Bean
public com.opengamma.strata.basics.StandardId getId()
public ProratedAccrual getAccrual()
public java.time.LocalDate getPaymentDate()
Interest pays on this date. Usually identical to end date unless end date is a holiday. Payment date is given, not calculated.
public com.google.common.collect.ImmutableList<ProratedLoanContractEvent> getEvents()
A loan contract may have of zero or more events.
public com.google.common.collect.ImmutableList<ProratedAccrual> getAccrualSchedule()
public ProratedLoanContract.Builder toBuilder()
Copyright © 2018. All rights reserved.