Class InstrumentTradeDetails
java.lang.Object
net.finmath.smartcontract.product.xml.Product
net.finmath.smartcontract.product.xml.InstrumentTradeDetails
The economics of a trade of a multiply traded instrument.
Java class for InstrumentTradeDetails complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="InstrumentTradeDetails"> <complexContent> <extension base="{http://www.fpml.org/FpML-5/confirmation}Product"> <sequence> <group ref="{http://www.fpml.org/FpML-5/confirmation}BuyerSeller.model"/> <element ref="{http://www.fpml.org/FpML-5/confirmation}underlyingAsset"/> <element name="quantity" type="{http://www.fpml.org/FpML-5/confirmation}InstrumentTradeQuantity" minOccurs="0"/> <element name="pricing" type="{http://www.fpml.org/FpML-5/confirmation}InstrumentTradePricing" minOccurs="0"/> <element name="principal" type="{http://www.fpml.org/FpML-5/confirmation}InstrumentTradePrincipal" minOccurs="0"/> </sequence> </extension> </complexContent> </complexType>
-
Field Summary
Modifier and TypeFieldDescriptionprotected AccountReference
protected PartyReference
protected InstrumentTradePricing
protected InstrumentTradePrincipal
protected InstrumentTradeQuantity
protected AccountReference
protected PartyReference
protected jakarta.xml.bind.JAXBElement
<? extends Asset> Fields inherited from class net.finmath.smartcontract.product.xml.Product
assetClass, id, primaryAssetClass, productId, productType, secondaryAssetClass
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGets the value of the buyerAccountReference property.Gets the value of the buyerPartyReference property.Gets the value of the pricing property.Gets the value of the principal property.Gets the value of the quantity property.Gets the value of the sellerAccountReference property.Gets the value of the sellerPartyReference property.jakarta.xml.bind.JAXBElement
<? extends Asset> The FpML asset description for the asset.void
Sets the value of the buyerAccountReference property.void
Sets the value of the buyerPartyReference property.void
setPricing
(InstrumentTradePricing value) Sets the value of the pricing property.void
Sets the value of the principal property.void
Sets the value of the quantity property.void
Sets the value of the sellerAccountReference property.void
Sets the value of the sellerPartyReference property.void
setUnderlyingAsset
(jakarta.xml.bind.JAXBElement<? extends Asset> value) Sets the value of the underlyingAsset property.Methods inherited from class net.finmath.smartcontract.product.xml.Product
getAssetClass, getId, getPrimaryAssetClass, getProductId, getProductType, getSecondaryAssetClass, setId, setPrimaryAssetClass
-
Field Details
-
buyerPartyReference
-
buyerAccountReference
-
sellerPartyReference
-
sellerAccountReference
-
underlyingAsset
-
quantity
-
pricing
-
principal
-
-
Constructor Details
-
InstrumentTradeDetails
public InstrumentTradeDetails()
-
-
Method Details
-
getBuyerPartyReference
Gets the value of the buyerPartyReference property.- Returns:
- possible object is
PartyReference
-
setBuyerPartyReference
Sets the value of the buyerPartyReference property.- Parameters:
value
- allowed object isPartyReference
-
getBuyerAccountReference
Gets the value of the buyerAccountReference property.- Returns:
- possible object is
AccountReference
-
setBuyerAccountReference
Sets the value of the buyerAccountReference property.- Parameters:
value
- allowed object isAccountReference
-
getSellerPartyReference
Gets the value of the sellerPartyReference property.- Returns:
- possible object is
PartyReference
-
setSellerPartyReference
Sets the value of the sellerPartyReference property.- Parameters:
value
- allowed object isPartyReference
-
getSellerAccountReference
Gets the value of the sellerAccountReference property.- Returns:
- possible object is
AccountReference
-
setSellerAccountReference
Sets the value of the sellerAccountReference property.- Parameters:
value
- allowed object isAccountReference
-
getUnderlyingAsset
The FpML asset description for the asset.- Returns:
- possible object is
JAXBElement
<
Index
>
JAXBElement
<
Mortgage
>
JAXBElement
<
Cash
>
JAXBElement
<
EquityAsset
>
JAXBElement
<
Future
>
JAXBElement
<
Bond
>
JAXBElement
<
ConvertibleBond
>
JAXBElement
<
Basket
>
JAXBElement
<
ExchangeTradedFund
>
JAXBElement
<
Loan
>
JAXBElement
<
MutualFund
>
JAXBElement
<
ExchangeTradedOption
>
JAXBElement
<
Commodity
>
JAXBElement
<
Asset
>
-
setUnderlyingAsset
Sets the value of the underlyingAsset property.- Parameters:
value
- allowed object isJAXBElement
<
Index
>
JAXBElement
<
Mortgage
>
JAXBElement
<
Cash
>
JAXBElement
<
EquityAsset
>
JAXBElement
<
Future
>
JAXBElement
<
Bond
>
JAXBElement
<
ConvertibleBond
>
JAXBElement
<
Basket
>
JAXBElement
<
ExchangeTradedFund
>
JAXBElement
<
Loan
>
JAXBElement
<
MutualFund
>
JAXBElement
<
ExchangeTradedOption
>
JAXBElement
<
Commodity
>
JAXBElement
<
Asset
>
-
getQuantity
Gets the value of the quantity property.- Returns:
- possible object is
InstrumentTradeQuantity
-
setQuantity
Sets the value of the quantity property.- Parameters:
value
- allowed object isInstrumentTradeQuantity
-
getPricing
Gets the value of the pricing property.- Returns:
- possible object is
InstrumentTradePricing
-
setPricing
Sets the value of the pricing property.- Parameters:
value
- allowed object isInstrumentTradePricing
-
getPrincipal
Gets the value of the principal property.- Returns:
- possible object is
InstrumentTradePrincipal
-
setPrincipal
Sets the value of the principal property.- Parameters:
value
- allowed object isInstrumentTradePrincipal
-