com.ibm.commerce.edp.parsers.paymentrules

Class PaymentRules

  • java.lang.Object
    • com.ibm.commerce.edp.parsers.paymentrules.PaymentRules


  • public class PaymentRules
    extends java.lang.Object
    This class represents the complex type PaymentRules, which corresponds to the configuration file: PaymentRules.xml.
    • Field Summary

      Fields 
      Modifier and Type Field and Description
      static java.lang.String COPYRIGHT
      IBM copyright notice field.
    • Constructor Summary

      Constructors 
      Constructor and Description
      PaymentRules() 
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      PaymentRule getPaymentRule(int index)
      This method returns the payment rule at a specified index.
      int getPaymentRuleCount()
      This method returns the count of payment rules.
      void setPaymentRule(int index, PaymentRule PaymentRule)
      This method sets the payment rule at a specified index.
      java.lang.String toString()
      This method creates a String representation of the object.
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Field Detail

      • COPYRIGHT

        public static final java.lang.String COPYRIGHT
        IBM copyright notice field.
        See Also:
        Constant Field Values
    • Constructor Detail

      • PaymentRules

        public PaymentRules()
    • Method Detail

      • setPaymentRule

        public void setPaymentRule(int index,
                                   PaymentRule PaymentRule)
        This method sets the payment rule at a specified index.
        Parameters:
        index - The position
        PaymentRule - The payment rule to set
      • getPaymentRule

        public PaymentRule getPaymentRule(int index)
        This method returns the payment rule at a specified index.
        Parameters:
        index - The position
        Returns:
        The payment rule at a specified index
      • getPaymentRuleCount

        public int getPaymentRuleCount()
        This method returns the count of payment rules.
        Returns:
        int the count of payment rules.
      • toString

        public java.lang.String toString()

        This method creates a String representation of the object.

        Overrides:
        toString in class java.lang.Object
        Returns:
        The String representation