com.ibm.commerce.edp.config

Class PaymentMethodConfigurationService

  • java.lang.Object
    • com.ibm.commerce.edp.config.PaymentMethodConfigurationService


  • public class PaymentMethodConfigurationService
    extends java.lang.Object
    This class represents the configuration service for a payment method configuration
    • Constructor Summary

      Constructors 
      Constructor and Description
      PaymentMethodConfigurationService(java.lang.String paymentGroupName, java.lang.String paymentMethodConfigurationName)
      This method creates a new PaymentMethodConfigurationService object.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      java.math.BigDecimal getMaximumAmount()
      This method returns the maximum amount configured in the paymentMethodConfiguration.
      java.math.BigDecimal getMinimumAmount()
      This method returns the minimum amount configured in the paymentMethodConfiguration.
      java.lang.String getPaymentSystemName()
      This method returns the payment system name of the payment method.
      java.lang.String getPriority()
      This method returns the priority of current payment method.
      java.lang.String getTransactionCompensationAction()
      This method returns the transaction compensation action type of current payment method.
      java.lang.Boolean isDependentCreditRequired()
      This method returns if the current paymentMethodConfiguration is dependent credit required.
      java.lang.Boolean isHumanEditable()
      This method returns if the current paymentMethodConfiguration is customer mutable.
      java.lang.Boolean isPartiallyConsumable()
      This method returns if the payment method is partially consumable configured in the paymentMethodConfiguration.
      java.lang.Boolean isRefundAllowed()
      This method returns if the payment method supports refund.
      java.lang.Boolean isSystemEditable()
      This method returns if the payment method supports system editable.
      • Methods inherited from class java.lang.Object

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

      • PaymentMethodConfigurationService

        public PaymentMethodConfigurationService(java.lang.String paymentGroupName,
                                                 java.lang.String paymentMethodConfigurationName)
                                          throws InvalidDataException,
                                                 RuleException
        This method creates a new PaymentMethodConfigurationService object.
        Parameters:
        paymentGroupName - The current payment group name
        paymentMethodConfigurationName - The current paymentMethodConfiguration name
        Throws:
        InvalidDataException - In case of invalid data error
        RuleException - In case of payment rules error
    • Method Detail

      • isDependentCreditRequired

        public java.lang.Boolean isDependentCreditRequired()
        This method returns if the current paymentMethodConfiguration is dependent credit required.
        Returns:
        Boolean if the current paymentMethodConfiguration is dependent credit required.
      • isHumanEditable

        public java.lang.Boolean isHumanEditable()
        This method returns if the current paymentMethodConfiguration is customer mutable.
        Returns:
        Boolean If the current paymentMethodConfiguration is customer mutable
      • getMaximumAmount

        public java.math.BigDecimal getMaximumAmount()
        This method returns the maximum amount configured in the paymentMethodConfiguration.
        Returns:
        BigDecimal The maximum amount configured in the paymentMethodConfiguration
      • getMinimumAmount

        public java.math.BigDecimal getMinimumAmount()
        This method returns the minimum amount configured in the paymentMethodConfiguration.
        Returns:
        BigDecimal The minimum amount configured in the paymentMethodConfiguration
      • isPartiallyConsumable

        public java.lang.Boolean isPartiallyConsumable()
        This method returns if the payment method is partially consumable configured in the paymentMethodConfiguration.
        Returns:
        If the payment method is partially consumable configured in the paymentMethodConfiguration
      • getPaymentSystemName

        public java.lang.String getPaymentSystemName()
        This method returns the payment system name of the payment method.
        Returns:
        String The payment system name
      • getTransactionCompensationAction

        public java.lang.String getTransactionCompensationAction()
        This method returns the transaction compensation action type of current payment method.
        Returns:
        String The transaction compensation action type of current payment method.
      • getPriority

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

        public java.lang.Boolean isRefundAllowed()
        This method returns if the payment method supports refund.
        Returns:
        Boolean If the payment method supports refund
      • isSystemEditable

        public java.lang.Boolean isSystemEditable()
        This method returns if the payment method supports system editable.
        Returns:
        Boolean If the payment method supports system editable