Class TaxWithholding
java.lang.Object
net.finmath.smartcontract.product.xml.TaxWithholding
Represents the withholding tax being applied to a particular cash flow.
Java class for TaxWithholding complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="TaxWithholding"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="amount" type="{http://www.fpml.org/FpML-5/confirmation}NonNegativeMoney"/> <element name="taxRate" type="{http://www.fpml.org/FpML-5/confirmation}NonNegativeDecimal" minOccurs="0"/> <element name="reason" type="{http://www.fpml.org/FpML-5/confirmation}WithholdingTaxReason" minOccurs="0"/> </sequence> </restriction> </complexContent> </complexType>
-
Field Summary
Modifier and TypeFieldDescriptionprotected NonNegativeMoney
protected WithholdingTaxReason
protected BigDecimal
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGets the value of the amount property.Gets the value of the reason property.Gets the value of the taxRate property.void
setAmount
(NonNegativeMoney value) Sets the value of the amount property.void
setReason
(WithholdingTaxReason value) Sets the value of the reason property.void
setTaxRate
(BigDecimal value) Sets the value of the taxRate property.
-
Field Details
-
amount
-
taxRate
-
reason
-
-
Constructor Details
-
TaxWithholding
public TaxWithholding()
-
-
Method Details
-
getAmount
Gets the value of the amount property.- Returns:
- possible object is
NonNegativeMoney
-
setAmount
Sets the value of the amount property.- Parameters:
value
- allowed object isNonNegativeMoney
-
getTaxRate
Gets the value of the taxRate property.- Returns:
- possible object is
BigDecimal
-
setTaxRate
Sets the value of the taxRate property.- Parameters:
value
- allowed object isBigDecimal
-
getReason
Gets the value of the reason property.- Returns:
- possible object is
WithholdingTaxReason
-
setReason
Sets the value of the reason property.- Parameters:
value
- allowed object isWithholdingTaxReason
-