Class FixedPrice
java.lang.Object
net.finmath.smartcontract.product.xml.FixedPrice
- Direct Known Subclasses:
SettlementPeriodsFixedPrice
A type defining the Fixed Price.
Java class for FixedPrice complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="FixedPrice"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="price" type="{http://www.w3.org/2001/XMLSchema}decimal"/> <group ref="{http://www.fpml.org/FpML-5/confirmation}Price.model"/> </sequence> <attribute name="id" type="{http://www.w3.org/2001/XMLSchema}ID" /> </restriction> </complexContent> </complexType>
-
Field Summary
Modifier and TypeFieldDescriptionprotected String
protected BigDecimal
protected Currency
protected QuantityUnit
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetId()
Gets the value of the id property.getPrice()
Gets the value of the price property.Gets the value of the priceCurrency property.Gets the value of the priceUnit property.void
Sets the value of the id property.void
setPrice
(BigDecimal value) Sets the value of the price property.void
setPriceCurrency
(Currency value) Sets the value of the priceCurrency property.void
setPriceUnit
(QuantityUnit value) Sets the value of the priceUnit property.
-
Field Details
-
price
-
priceCurrency
-
priceUnit
-
id
-
-
Constructor Details
-
FixedPrice
public FixedPrice()
-
-
Method Details
-
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
-
getPriceCurrency
-
setPriceCurrency
-
getPriceUnit
Gets the value of the priceUnit property.- Returns:
- possible object is
QuantityUnit
-
setPriceUnit
Sets the value of the priceUnit property.- Parameters:
value
- allowed object isQuantityUnit
-
getId
-
setId
-