public final class ProratedAccruingFee extends Object implements org.joda.beans.ImmutableBean
An accrual defines specific interest accrual terms (start date, end date, rate, day count convention) over a specific borrowed amount.
* Over the course of a contract, multiple repayments of the contract amount may occur. A borrowing always results in a new contract.
This is the standard representation but for usage within the calculation framework, a contracted must be expanded into canonical form and prorated against a single trade.
Modifier and Type | Class and Description |
---|---|
static class |
ProratedAccruingFee.Builder
The bean-builder for
ProratedAccruingFee . |
static class |
ProratedAccruingFee.Meta
The meta-bean for
ProratedAccruingFee . |
Modifier and Type | Method and Description |
---|---|
static ProratedAccruingFee.Builder |
builder()
Returns a builder used to create an instance of the bean.
|
boolean |
equals(Object obj) |
ProratedAccrual |
getAccrual()
Gets the share fee accrual representation.
|
com.google.common.collect.ImmutableList<ProratedAccrual> |
getAccrualSchedule()
Gets generated accrual schedule.
|
com.opengamma.strata.basics.StandardId |
getId()
Gets the internal id of this fee.
|
java.time.LocalDate |
getPaymentDate()
Gets the payment date of the contract.
|
String |
getType()
Gets the fee type, for now just a free form string.
|
int |
hashCode() |
static ProratedAccruingFee.Meta |
meta()
The meta-bean for
ProratedAccruingFee . |
ProratedAccruingFee.Meta |
metaBean() |
ProratedAccruingFee.Builder |
toBuilder()
Returns a builder that allows this bean to be mutated.
|
String |
toString() |
public static ProratedAccruingFee.Meta meta()
ProratedAccruingFee
.public static ProratedAccruingFee.Builder builder()
public ProratedAccruingFee.Meta metaBean()
metaBean
in interface org.joda.beans.Bean
public com.opengamma.strata.basics.StandardId getId()
public String getType()
public ProratedAccrual getAccrual()
public com.google.common.collect.ImmutableList<ProratedAccrual> getAccrualSchedule()
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 ProratedAccruingFee.Builder toBuilder()
Copyright © 2018. All rights reserved.