public class ProratedBorrowing extends Object implements ProratedLoanContractEvent, org.joda.beans.ImmutableBean
Modifier and Type | Class and Description |
---|---|
static class |
ProratedBorrowing.Builder
The bean-builder for
ProratedBorrowing . |
static class |
ProratedBorrowing.Meta
The meta-bean for
ProratedBorrowing . |
Modifier | Constructor and Description |
---|---|
protected |
ProratedBorrowing(ProratedBorrowing.Builder builder)
Restricted constructor.
|
Modifier and Type | Method and Description |
---|---|
static ProratedBorrowing.Builder |
builder()
Returns a builder used to create an instance of the bean.
|
boolean |
equals(Object obj) |
com.opengamma.strata.basics.currency.CurrencyAmount |
getAmount()
Gets the contract event share amount.
|
java.time.LocalDate |
getEffectiveDate()
Gets the effective date of the event.
|
LoanContractEventType |
getType()
Return type BorrowingEvent.
|
int |
hashCode() |
static ProratedBorrowing.Meta |
meta()
The meta-bean for
ProratedBorrowing . |
ProratedBorrowing.Meta |
metaBean() |
ProratedBorrowing.Builder |
toBuilder()
Returns a builder that allows this bean to be mutated.
|
String |
toString() |
protected void |
toString(StringBuilder buf) |
protected ProratedBorrowing(ProratedBorrowing.Builder builder)
builder
- the builder to copy from, not nullpublic LoanContractEventType getType()
getType
in interface ProratedLoanContractEvent
public static ProratedBorrowing.Meta meta()
ProratedBorrowing
.public static ProratedBorrowing.Builder builder()
public ProratedBorrowing.Meta metaBean()
metaBean
in interface org.joda.beans.Bean
public java.time.LocalDate getEffectiveDate()
getEffectiveDate
in interface ProratedLoanContractEvent
public com.opengamma.strata.basics.currency.CurrencyAmount getAmount()
The event share amount represents the amount of the event, and must be non-negative.
getAmount
in interface ProratedLoanContractEvent
public ProratedBorrowing.Builder toBuilder()
protected void toString(StringBuilder buf)
Copyright © 2018. All rights reserved.