public final class AccruingFee extends Object implements org.joda.beans.ImmutableBean, Proratable<ProratedAccruingFee>
Modifier and Type | Class and Description |
---|---|
static class |
AccruingFee.Builder
The bean-builder for
AccruingFee . |
static class |
AccruingFee.Meta
The meta-bean for
AccruingFee . |
Modifier and Type | Method and Description |
---|---|
static AccruingFee.Builder |
builder()
Returns a builder used to create an instance of the bean.
|
boolean |
equals(Object obj) |
Accrual |
getAccrual()
Gets the global fee accrual representation.
|
com.opengamma.strata.basics.StandardId |
getId()
Gets the internal id of this fee
|
java.time.LocalDate |
getPaymentDate()
Gets the payment date of the fee.
|
String |
getType()
Gets the fee type, for now just a free form string.
|
int |
hashCode() |
static AccruingFee.Meta |
meta()
The meta-bean for
AccruingFee . |
AccruingFee.Meta |
metaBean() |
ProratedAccruingFee |
prorate(com.opengamma.strata.product.ProductTrade trade)
Return a prorated version of this fee given a loan trade.
|
AccruingFee.Builder |
toBuilder()
Returns a builder that allows this bean to be mutated.
|
String |
toString() |
public ProratedAccruingFee prorate(com.opengamma.strata.product.ProductTrade trade)
prorate
in interface Proratable<ProratedAccruingFee>
trade
- specific loan buy/sellpublic static AccruingFee.Meta meta()
AccruingFee
.public static AccruingFee.Builder builder()
public AccruingFee.Meta metaBean()
metaBean
in interface org.joda.beans.Bean
public com.opengamma.strata.basics.StandardId getId()
public String getType()
public Accrual 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 AccruingFee.Builder toBuilder()
Copyright © 2018. All rights reserved.