Class Commission
java.lang.Object
net.finmath.smartcontract.product.xml.Commission
A type describing the commission that will be charged for each of the hedge
transactions.
Java class for Commission complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="Commission"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="commissionDenomination" type="{http://www.fpml.org/FpML-5/confirmation}CommissionDenominationEnum"/> <element name="commissionAmount" type="{http://www.w3.org/2001/XMLSchema}decimal"/> <element name="currency" type="{http://www.fpml.org/FpML-5/confirmation}Currency" minOccurs="0"/> <element name="commissionPerTrade" type="{http://www.w3.org/2001/XMLSchema}decimal" minOccurs="0"/> <element name="fxRate" type="{http://www.fpml.org/FpML-5/confirmation}FxRate" maxOccurs="unbounded" minOccurs="0"/> </sequence> </restriction> </complexContent> </complexType>
-
Field Summary
Modifier and TypeFieldDescriptionprotected BigDecimal
protected CommissionDenominationEnum
protected BigDecimal
protected Currency
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGets the value of the commissionAmount property.Gets the value of the commissionDenomination property.Gets the value of the commissionPerTrade property.Gets the value of the currency property.Gets the value of the fxRate property.void
setCommissionAmount
(BigDecimal value) Sets the value of the commissionAmount property.void
Sets the value of the commissionDenomination property.void
setCommissionPerTrade
(BigDecimal value) Sets the value of the commissionPerTrade property.void
setCurrency
(Currency value) Sets the value of the currency property.
-
Field Details
-
commissionDenomination
-
commissionAmount
-
currency
-
commissionPerTrade
-
fxRate
-
-
Constructor Details
-
Commission
public Commission()
-
-
Method Details
-
getCommissionDenomination
Gets the value of the commissionDenomination property.- Returns:
- possible object is
CommissionDenominationEnum
-
setCommissionDenomination
Sets the value of the commissionDenomination property.- Parameters:
value
- allowed object isCommissionDenominationEnum
-
getCommissionAmount
Gets the value of the commissionAmount property.- Returns:
- possible object is
BigDecimal
-
setCommissionAmount
Sets the value of the commissionAmount property.- Parameters:
value
- allowed object isBigDecimal
-
getCurrency
-
setCurrency
-
getCommissionPerTrade
Gets the value of the commissionPerTrade property.- Returns:
- possible object is
BigDecimal
-
setCommissionPerTrade
Sets the value of the commissionPerTrade property.- Parameters:
value
- allowed object isBigDecimal
-
getFxRate
Gets the value of the fxRate 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 fxRate property.For example, to add a new item, do as follows:
getFxRate().add(newItem);
Objects of the following type(s) are allowed in the list
FxRate
-