Class Repayment
java.lang.Object
net.finmath.smartcontract.product.xml.AbstractEventRequireId
net.finmath.smartcontract.product.xml.LoanEvent
net.finmath.smartcontract.product.xml.LoanContractEvent
net.finmath.smartcontract.product.xml.Repayment
An event representing a principal repayment being made by the borrower.
Java class for Repayment complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="Repayment">
<complexContent>
<extension base="{http://www.fpml.org/FpML-5/confirmation}LoanContractEvent">
<sequence>
<element name="amount" type="{http://www.fpml.org/FpML-5/confirmation}MoneyWithParticipantShare"/>
<element name="price" type="{http://www.fpml.org/FpML-5/confirmation}NonNegativeDecimal" minOccurs="0"/>
<group ref="{http://www.fpml.org/FpML-5/confirmation}RepaymentType.model"/>
</sequence>
</extension>
</complexContent>
</complexType>
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected MoneyWithParticipantShareprotected Booleanprotected BigDecimalprotected booleanprotected BooleanFields inherited from class net.finmath.smartcontract.product.xml.LoanContractEvent
loanContractReferenceFields inherited from class net.finmath.smartcontract.product.xml.LoanEvent
agentPartyReference, borrowerPartyReference, businessEventGroupId, cashPayable, comment, effectiveDate, lenderPartyReference, previousInaccurateEventIdFields inherited from class net.finmath.smartcontract.product.xml.AbstractEventRequireId
eventIdentifier -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the value of the amount property.getPrice()Gets the value of the price property.Gets the value of the borrowerMandatory property.booleanGets the value of the refusalAllowed property.Gets the value of the scheduledRepayment property.voidSets the value of the amount property.voidsetBorrowerMandatory(Boolean value) Sets the value of the borrowerMandatory property.voidsetPrice(BigDecimal value) Sets the value of the price property.voidsetRefusalAllowed(boolean value) Sets the value of the refusalAllowed property.voidsetScheduledRepayment(Boolean value) Sets the value of the scheduledRepayment property.Methods inherited from class net.finmath.smartcontract.product.xml.LoanContractEvent
getLoanContractReference, setLoanContractReferenceMethods inherited from class net.finmath.smartcontract.product.xml.LoanEvent
getAgentPartyReference, getBorrowerPartyReference, getBusinessEventGroupId, getCashPayable, getComment, getEffectiveDate, getLenderPartyReference, getPreviousInaccurateEventId, setAgentPartyReference, setBorrowerPartyReference, setBusinessEventGroupId, setCashPayable, setComment, setEffectiveDate, setLenderPartyReference, setPreviousInaccurateEventIdMethods inherited from class net.finmath.smartcontract.product.xml.AbstractEventRequireId
getEventIdentifier
-
Field Details
-
amount
-
price
-
refusalAllowed
protected boolean refusalAllowed -
borrowerMandatory
-
scheduledRepayment
-
-
Constructor Details
-
Repayment
public Repayment()
-
-
Method Details
-
getAmount
Gets the value of the amount property.- Returns:
- possible object is
MoneyWithParticipantShare
-
getPrice
Gets the value of the price property.- Returns:
- possible object is
BigDecimal
-
setPrice
Sets the value of the price property.- Parameters:
value- allowed object isBigDecimal
-
isRefusalAllowed
public boolean isRefusalAllowed()Gets the value of the refusalAllowed property. -
setRefusalAllowed
public void setRefusalAllowed(boolean value) Sets the value of the refusalAllowed property. -
isBorrowerMandatory
-
setBorrowerMandatory
-
isScheduledRepayment
-
setScheduledRepayment
-