Class PriceVarianceRuleType
java.lang.Object
de.hybris.platform.ndc182facades.messages.orderchangerequest.PriceVarianceRuleType
Price Variance supports specifying Payment Processing Rules, including payment failure. Acceptable amount and/or percentage of the total amount by which the Order item price can vary. Example: 20 USD, 2 Percent
Java class for PriceVarianceRuleType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="PriceVarianceRuleType">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="AcceptableVarianceAmount" type="{http://www.iata.org/IATA/2015/00/2018.2/IATA_OrderChangeRQ}AmountType"/>
<element name="AcceptableVariancePercent" type="{http://www.iata.org/IATA/2015/00/2018.2/IATA_OrderChangeRQ}PercentType" minOccurs="0"/>
<element name="EffectivePeriodDuration" type="{http://www.iata.org/IATA/2015/00/2018.2/IATA_OrderChangeRQ}DurationType" minOccurs="0"/>
<element name="OwnerName" type="{http://www.iata.org/IATA/2015/00/2018.2/IATA_OrderChangeRQ}ProperNameType" minOccurs="0"/>
<element name="Remark" type="{http://www.iata.org/IATA/2015/00/2018.2/IATA_OrderChangeRQ}RemarkType" maxOccurs="unbounded" minOccurs="0"/>
<element name="RuleID" type="{http://www.iata.org/IATA/2015/00/2018.2/IATA_OrderChangeRQ}ID_Type"/>
<element name="RuleName" type="{http://www.iata.org/IATA/2015/00/2018.2/IATA_OrderChangeRQ}ProperNameType" minOccurs="0"/>
</sequence>
</restriction>
</complexContent>
</complexType>
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected AmountTypeprotected BigDecimalprotected Durationprotected Stringprotected List<RemarkType>protected Stringprotected String -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the value of the acceptableVarianceAmount property.Gets the value of the acceptableVariancePercent property.Gets the value of the effectivePeriodDuration property.Gets the value of the ownerName property.Gets the value of the remark property.Gets the value of the ruleID property.Gets the value of the ruleName property.voidSets the value of the acceptableVarianceAmount property.voidSets the value of the acceptableVariancePercent property.voidSets the value of the effectivePeriodDuration property.voidsetOwnerName(String value) Sets the value of the ownerName property.voidSets the value of the ruleID property.voidsetRuleName(String value) Sets the value of the ruleName property.
-
Field Details
-
acceptableVarianceAmount
-
acceptableVariancePercent
-
effectivePeriodDuration
-
ownerName
-
remark
-
ruleID
-
ruleName
-
-
Constructor Details
-
PriceVarianceRuleType
public PriceVarianceRuleType()
-
-
Method Details
-
getAcceptableVarianceAmount
Gets the value of the acceptableVarianceAmount property.- Returns:
- possible object is
AmountType
-
setAcceptableVarianceAmount
Sets the value of the acceptableVarianceAmount property.- Parameters:
value- allowed object isAmountType
-
getAcceptableVariancePercent
Gets the value of the acceptableVariancePercent property.- Returns:
- possible object is
BigDecimal
-
setAcceptableVariancePercent
Sets the value of the acceptableVariancePercent property.- Parameters:
value- allowed object isBigDecimal
-
getEffectivePeriodDuration
Gets the value of the effectivePeriodDuration property.- Returns:
- possible object is
Duration
-
setEffectivePeriodDuration
Sets the value of the effectivePeriodDuration property.- Parameters:
value- allowed object isDuration
-
getOwnerName
Gets the value of the ownerName property.- Returns:
- possible object is
String
-
setOwnerName
Sets the value of the ownerName property.- Parameters:
value- allowed object isString
-
getRemark
Gets the value of the remark 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 JAXB object. This is why there is not a
setmethod for the remark property.For example, to add a new item, do as follows:
getRemark().add(newItem);Objects of the following type(s) are allowed in the list
RemarkType -
getRuleID
Gets the value of the ruleID property.- Returns:
- possible object is
String
-
setRuleID
Sets the value of the ruleID property.- Parameters:
value- allowed object isString
-
getRuleName
Gets the value of the ruleName property.- Returns:
- possible object is
String
-
setRuleName
Sets the value of the ruleName property.- Parameters:
value- allowed object isString
-