java.lang.Object
de.hybris.platform.ndc182shoppingfacades.messages.airshoppingresponse.PriceVarianceRuleType

public class PriceVarianceRuleType extends Object
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_AirShoppingRS}AmountType" minOccurs="0"/>
         <element name="AcceptableVariancePercent" type="{http://www.iata.org/IATA/2015/00/2018.2/IATA_AirShoppingRS}PercentType" minOccurs="0"/>
         <element name="EffectivePeriodDuration" type="{http://www.iata.org/IATA/2015/00/2018.2/IATA_AirShoppingRS}DurationType" minOccurs="0"/>
         <element name="OwnerName" type="{http://www.iata.org/IATA/2015/00/2018.2/IATA_AirShoppingRS}ProperNameType" minOccurs="0"/>
         <element name="Remark" type="{http://www.iata.org/IATA/2015/00/2018.2/IATA_AirShoppingRS}RemarkType" maxOccurs="unbounded" minOccurs="0"/>
         <element name="RuleID" type="{http://www.iata.org/IATA/2015/00/2018.2/IATA_AirShoppingRS}ID_Type" minOccurs="0"/>
         <element name="RuleName" type="{http://www.iata.org/IATA/2015/00/2018.2/IATA_AirShoppingRS}ProperNameType" minOccurs="0"/>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 
  • Field Details

    • acceptableVarianceAmount

      protected AmountType acceptableVarianceAmount
    • acceptableVariancePercent

      protected BigDecimal acceptableVariancePercent
    • effectivePeriodDuration

      protected Duration effectivePeriodDuration
    • ownerName

      protected String ownerName
    • remark

      protected List<RemarkType> remark
    • ruleID

      protected String ruleID
    • ruleName

      protected String ruleName
  • Constructor Details

    • PriceVarianceRuleType

      public PriceVarianceRuleType()
  • Method Details

    • getAcceptableVarianceAmount

      public AmountType getAcceptableVarianceAmount()
      Gets the value of the acceptableVarianceAmount property.
      Returns:
      possible object is AmountType
    • setAcceptableVarianceAmount

      public void setAcceptableVarianceAmount(AmountType value)
      Sets the value of the acceptableVarianceAmount property.
      Parameters:
      value - allowed object is AmountType
    • getAcceptableVariancePercent

      public BigDecimal getAcceptableVariancePercent()
      Gets the value of the acceptableVariancePercent property.
      Returns:
      possible object is BigDecimal
    • setAcceptableVariancePercent

      public void setAcceptableVariancePercent(BigDecimal value)
      Sets the value of the acceptableVariancePercent property.
      Parameters:
      value - allowed object is BigDecimal
    • getEffectivePeriodDuration

      public Duration getEffectivePeriodDuration()
      Gets the value of the effectivePeriodDuration property.
      Returns:
      possible object is Duration
    • setEffectivePeriodDuration

      public void setEffectivePeriodDuration(Duration value)
      Sets the value of the effectivePeriodDuration property.
      Parameters:
      value - allowed object is Duration
    • getOwnerName

      public String getOwnerName()
      Gets the value of the ownerName property.
      Returns:
      possible object is String
    • setOwnerName

      public void setOwnerName(String value)
      Sets the value of the ownerName property.
      Parameters:
      value - allowed object is String
    • getRemark

      public List<RemarkType> 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 set method 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

      public String getRuleID()
      Gets the value of the ruleID property.
      Returns:
      possible object is String
    • setRuleID

      public void setRuleID(String value)
      Sets the value of the ruleID property.
      Parameters:
      value - allowed object is String
    • getRuleName

      public String getRuleName()
      Gets the value of the ruleName property.
      Returns:
      possible object is String
    • setRuleName

      public void setRuleName(String value)
      Sets the value of the ruleName property.
      Parameters:
      value - allowed object is String