Class CashPayable
java.lang.Object
net.finmath.smartcontract.product.xml.CashPayable
This structure represents payable cash, together with reference to any
withholding tax being applied. This is used as a generic cash flow container across all loan business
events (within the event header).
Java class for CashPayable complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="CashPayable"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <group ref="{http://www.fpml.org/FpML-5/confirmation}PayerReceiver.model"/> <element name="netAmount" type="{http://www.fpml.org/FpML-5/confirmation}NonNegativeMoney"/> <element name="taxWithholding" type="{http://www.fpml.org/FpML-5/confirmation}TaxWithholding" maxOccurs="unbounded" minOccurs="0"/> </sequence> </restriction> </complexContent> </complexType>
-
Field Summary
Modifier and TypeFieldDescriptionprotected NonNegativeMoney
protected AccountReference
protected PartyReference
protected AccountReference
protected PartyReference
protected List
<TaxWithholding> -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGets the value of the netAmount property.Gets the value of the payerAccountReference property.Gets the value of the payerPartyReference property.Gets the value of the receiverAccountReference property.Gets the value of the receiverPartyReference property.Gets the value of the taxWithholding property.void
setNetAmount
(NonNegativeMoney value) Sets the value of the netAmount property.void
Sets the value of the payerAccountReference property.void
Sets the value of the payerPartyReference property.void
Sets the value of the receiverAccountReference property.void
Sets the value of the receiverPartyReference property.
-
Field Details
-
payerPartyReference
-
payerAccountReference
-
receiverPartyReference
-
receiverAccountReference
-
netAmount
-
taxWithholding
-
-
Constructor Details
-
CashPayable
public CashPayable()
-
-
Method Details
-
getPayerPartyReference
Gets the value of the payerPartyReference property.- Returns:
- possible object is
PartyReference
-
setPayerPartyReference
Sets the value of the payerPartyReference property.- Parameters:
value
- allowed object isPartyReference
-
getPayerAccountReference
Gets the value of the payerAccountReference property.- Returns:
- possible object is
AccountReference
-
setPayerAccountReference
Sets the value of the payerAccountReference property.- Parameters:
value
- allowed object isAccountReference
-
getReceiverPartyReference
Gets the value of the receiverPartyReference property.- Returns:
- possible object is
PartyReference
-
setReceiverPartyReference
Sets the value of the receiverPartyReference property.- Parameters:
value
- allowed object isPartyReference
-
getReceiverAccountReference
Gets the value of the receiverAccountReference property.- Returns:
- possible object is
AccountReference
-
setReceiverAccountReference
Sets the value of the receiverAccountReference property.- Parameters:
value
- allowed object isAccountReference
-
getNetAmount
Gets the value of the netAmount property.- Returns:
- possible object is
NonNegativeMoney
-
setNetAmount
Sets the value of the netAmount property.- Parameters:
value
- allowed object isNonNegativeMoney
-
getTaxWithholding
Gets the value of the taxWithholding property.This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the Jakarta XML Binding object. This is why there is not a
set
method for the taxWithholding property.For example, to add a new item, do as follows:
getTaxWithholding().add(newItem);
Objects of the following type(s) are allowed in the list
TaxWithholding
-