com.ibm.commerce.payments.plugin.simpleoffline.parsers.paymentmethod

Class PaymentMethod

  • java.lang.Object
    • com.ibm.commerce.payments.plugin.simpleoffline.parsers.paymentmethod.PaymentMethod


  • public class PaymentMethod
    extends java.lang.Object
    This class represents the complex type PaymentMethod. One PaymentMethod may have one or more Property.
    • Constructor Summary

      Constructors 
      Constructor and Description
      PaymentMethod()
      This method creates a new PaymentMethod object.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      java.lang.String getKeepPendingStatus()
      This method returns the keep pending status.
      java.lang.String getName()
      This method returns the name of payment method.
      java.lang.String getPaymentConfiguration()
      This method returns the payment configuration.
      Property getProperty(int index)
      This method returns the property with specified index in the list.
      int getPropertyCount()
      This method returns the count of the properties.
      void setKeepPendingStatus(java.lang.String keepPendingStatus)
      This method sets the keep pending status.
      void setName(java.lang.String name)
      This method sets the name of payment method.
      void setPaymentConfiguration(java.lang.String paymentConfiguration)
      This method sets the payment configuration.
      void setProperty(int index, Property Property)
      This method sets the property.
      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
    • Constructor Detail

      • PaymentMethod

        public PaymentMethod()
        This method creates a new PaymentMethod object.
    • Method Detail

      • setKeepPendingStatus

        public void setKeepPendingStatus(java.lang.String keepPendingStatus)
        This method sets the keep pending status.
        Parameters:
        keepPendingStatus - The keep pending status.
      • getKeepPendingStatus

        public java.lang.String getKeepPendingStatus()
        This method returns the keep pending status.
        Returns:
        The keep pending status.
      • setName

        public void setName(java.lang.String name)
        This method sets the name of payment method.
        Parameters:
        name - The name of payment method.
      • getName

        public java.lang.String getName()
        This method returns the name of payment method.
        Returns:
        The name of payment method.
      • setPaymentConfiguration

        public void setPaymentConfiguration(java.lang.String paymentConfiguration)
        This method sets the payment configuration.
        Parameters:
        paymentConfiguration - The payment configuration.
      • getPaymentConfiguration

        public java.lang.String getPaymentConfiguration()
        This method returns the payment configuration.
        Returns:
        The payment configuration.
      • setProperty

        public void setProperty(int index,
                                Property Property)
        This method sets the property.
        Parameters:
        index - The index of the property is in the list.
        Property - A Property that represents the property to set.
      • getProperty

        public Property getProperty(int index)
        This method returns the property with specified index in the list.
        Parameters:
        index - The index of the property is in the list.
        Returns:
        The property with specified index in the list.
      • getPropertyCount

        public int getPropertyCount()
        This method returns the count of the properties.
        Returns:
        The count of the properties.
      • 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.