com.ibm.commerce.edp.parsers.paymentmethodconfigurations

Class PaymentMethodConfiguration

  • java.lang.Object
    • com.ibm.commerce.edp.parsers.paymentmethodconfigurations.PaymentMethodConfiguration


  • public class PaymentMethodConfiguration
    extends java.lang.Object
    This class represents the complex type PaymentMethodConfiguration, which corresponds to an element -- PaymentMethodConfiguration in the configuration file: PaymentMethodConfigurations.xml.
    • Field Summary

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

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      java.lang.String getMaximumAmount()
      This method returns the maximum amount for current payment method configuration.
      java.lang.String getMinimumAmount()
      This method returns the minimum amount for current payment method configuration.
      java.lang.String getName()
      This method returns the name of this payment method configuration.
      java.lang.String getPaymentSystemName()
      This method returns the payment system name used by this payment method configuration.
      java.lang.String getPriority()
      This method returns the priority of this payment method configuration.
      int getSleepingTimeout()
      This method returns the setting of sleeping timeout.
      java.lang.String getTransactionCompensationAction()
      This method returns the transactionCompensationAction type of this payment method configuration.
      boolean isDependentCreditRequired()
      This method returns if the credit of this payment method only supports dependent credit.
      boolean isHumanEditable()
      This method returns if the payment method is human editable.
      boolean isPartiallyConsumable()
      This method returns if the payment method is allowed to consume partially.
      boolean isRefundAllowed()
      This method returns if the payment method is allowed to do refund.
      boolean isSystemEditable()
      This method returns if the payment method is allowed to edit by the system without human interaction.
      void setDependentCreditRequired(boolean b)
      This method sets if the credit of this payment method only supports dependent credit.
      void setHumanEditable(boolean b)
      This method sets if the payment method is allowed to edit by the system without human interaction.
      void setMaximumAmount(java.lang.String string)
      This method sets the maximum amount for current payment method configuration.
      void setMinimumAmount(java.lang.String string)
      This method sets the minimum amount for current payment method configuration.
      void setName(java.lang.String string)
      This method sets the name of this payment method configuration.
      void setPartiallyConsumable(boolean b)
      This method sets if the payment method is allowed to consume partially.
      void setPaymentSystemName(java.lang.String string)
      This method sets the payment system name used by this payment method configuration.
      void setPriority(java.lang.String string)
      This method sets the priority of this payment method configuration.
      void setRefundAllowed(boolean b)
      This method sets if the payment method is allowed to do refund.
      void setSleepingTimeout(int i)
      This method sets the setting of sleeping timeout.
      void setSystemEditable(boolean b)
      This method sets if the payment method is allowed to edit by the system without human interaction.
      void setTransactionCompensationAction(java.lang.String compensationAction)
      This method sets the transactionCompensationAction type of this payment method configuration.
      • Methods inherited from class java.lang.Object

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

      • COPYRIGHT

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

      • PaymentMethodConfiguration

        public PaymentMethodConfiguration()
    • Method Detail

      • isDependentCreditRequired

        public boolean isDependentCreditRequired()
        This method returns if the credit of this payment method only supports dependent credit.
        Returns:
        If the credit of this payment method only supports dependent credit
      • isHumanEditable

        public boolean isHumanEditable()
        This method returns if the payment method is human editable.
        Returns:
        If the payment method is human editable
      • getMaximumAmount

        public java.lang.String getMaximumAmount()
        This method returns the maximum amount for current payment method configuration.
        Returns:
        The maximum amount for current payment method configuration
      • getMinimumAmount

        public java.lang.String getMinimumAmount()
        This method returns the minimum amount for current payment method configuration.
        Returns:
        The minimum amount for current payment method configuration
      • getName

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

        public boolean isPartiallyConsumable()
        This method returns if the payment method is allowed to consume partially.
        Returns:
        If the payment method is allowed to consume partially
      • getPaymentSystemName

        public java.lang.String getPaymentSystemName()
        This method returns the payment system name used by this payment method configuration.
        Returns:
        The payment system name used by this payment method configuration
      • getPriority

        public java.lang.String getPriority()
        This method returns the priority of this payment method configuration.
        Returns:
        The priority of this payment method configuration
      • isRefundAllowed

        public boolean isRefundAllowed()
        This method returns if the payment method is allowed to do refund.
        Returns:
        The flag indicating the payment method is allowed to do refund
      • getSleepingTimeout

        public int getSleepingTimeout()
        This method returns the setting of sleeping timeout.
        Returns:
        The setting of sleeping timeout
      • isSystemEditable

        public boolean isSystemEditable()
        This method returns if the payment method is allowed to edit by the system without human interaction.
        Returns:
        If the payment method is allowed to edit by the system without human interaction
      • getTransactionCompensationAction

        public java.lang.String getTransactionCompensationAction()
        This method returns the transactionCompensationAction type of this payment method configuration.
        Returns:
        The transactionCompensationAction type of this payment method configuration
      • setDependentCreditRequired

        public void setDependentCreditRequired(boolean b)
        This method sets if the credit of this payment method only supports dependent credit.
        Parameters:
        b - if the credit of this payment method only supports dependent credit
      • setHumanEditable

        public void setHumanEditable(boolean b)
        This method sets if the payment method is allowed to edit by the system without human interaction.
        Parameters:
        b - The flag indicating if the payment method is allowed to edit by the system without human interaction
      • setMaximumAmount

        public void setMaximumAmount(java.lang.String string)
        This method sets the maximum amount for current payment method configuration.
        Parameters:
        string - The maximum amount for current payment method configuration
      • setMinimumAmount

        public void setMinimumAmount(java.lang.String string)
        This method sets the minimum amount for current payment method configuration.
        Parameters:
        string - The minimum amount for current payment method configuration
      • setName

        public void setName(java.lang.String string)
        This method sets the name of this payment method configuration.
        Parameters:
        string - The name to set
      • setPartiallyConsumable

        public void setPartiallyConsumable(boolean b)
        This method sets if the payment method is allowed to consume partially.
        Parameters:
        b - If the payment method is allowed to consume partially
      • setPaymentSystemName

        public void setPaymentSystemName(java.lang.String string)
        This method sets the payment system name used by this payment method configuration.
        Parameters:
        string - The payment system name used by this payment method configuration
      • setPriority

        public void setPriority(java.lang.String string)
        This method sets the priority of this payment method configuration.
        Parameters:
        string - The priority of this payment method configuration to set
      • setRefundAllowed

        public void setRefundAllowed(boolean b)
        This method sets if the payment method is allowed to do refund.
        Parameters:
        b - The flag indicating the payment method is allowed to do refund to set
      • setSleepingTimeout

        public void setSleepingTimeout(int i)
        This method sets the setting of sleeping timeout.
        Parameters:
        i - The setting of sleeping timeout to set
      • setSystemEditable

        public void setSystemEditable(boolean b)
        This method sets if the payment method is allowed to edit by the system without human interaction.
        Parameters:
        b - The flag indicating if the payment method is allowed to edit by the system without human interaction
      • setTransactionCompensationAction

        public void setTransactionCompensationAction(java.lang.String compensationAction)
        This method sets the transactionCompensationAction type of this payment method configuration.
        Parameters:
        compensationAction - The transactionCompensationAction type of this payment method configuration