java.lang.Object
com.tectonica.jonix.common.struct.JonixDiscount
- All Implemented Interfaces:
JonixStruct
,Serializable
This class is a
JonixStruct
that represents Onix3 <Discount>
.
It can be retrieved from the composite by invoking its asStruct()
method.
- See Also:
-
Field Summary
Modifier and TypeFieldDescriptionRaw Format: Positive real number, with explicit decimal point when required, or zero, suggested maximum length 12 charactersRaw Format: Real number between zero and 100 (inclusive), including explicit decimal point when required, suggested maximum length 6 charactersstatic final JonixDiscount
Raw Format: Positive real number, with explicit decimal point when required, or zero, as appropriate for the units specified in <EpubUsageUnit>Raw Format: Positive number, here necessarily an integer, or zero. -
Constructor Summary
-
Method Summary
-
Field Details
-
EMPTY
-
discountType
-
quantity
Raw Format: Positive real number, with explicit decimal point when required, or zero, as appropriate for the units specified in <EpubUsageUnit>(type: dt.PositiveDecimalOrZero)
-
toQuantity
Raw Format: Positive number, here necessarily an integer, or zero. Suggested maximum length 7 digits(type: dt.PositiveDecimalOrZero)
-
discountPercent
Raw Format: Real number between zero and 100 (inclusive), including explicit decimal point when required, suggested maximum length 6 characters(type: dt.PercentDecimal)
-
discountAmount
Raw Format: Positive real number, with explicit decimal point when required, or zero, suggested maximum length 12 characters(type: dt.PositiveDecimalOrZero)
-
-
Constructor Details
-
JonixDiscount
public JonixDiscount()
-