com.ibm.commerce.edp.config

Class CoreConfiguration

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


  • public class CoreConfiguration
    extends java.lang.Object
    This class represents the basic configuration of financial actions.Including payment actions, edit actions, cancel order payment actions, AVS (Address Verification Service) rules and payment reversal actions for a given payment method.
    • Constructor Summary

      Constructors 
      Constructor and Description
      CoreConfiguration(java.lang.String localPaymentMethodConfigurationName)
      This method creates a new CoreConfiguration object.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      ScoreRules getAvsRules()
      This method gets the AVS score rules, it is rule based on integer value range
      PaymentActions getCancelCoreActions()
      This method returns the cancelCoreRules , when the CancelOrder business event occurs, this configuration will be evaluated.
      PaymentActions getEditReversalActions()
      This method returns the editReversalActions , when the Edit Reversal related business event occurs, this configuration will be evaluated.
      EditRules getEditRules()
      This method returns the editRules , when the Edit Payment related business event occurs, this configuration will be evaluated.
      PaymentActions getPaymentActionCoreActionss()
      This method returns the paymentActionCoreActions , when the payment action involved business event occurs, this configuration will be evaluated.
      java.lang.String getPaymentMethodConfigurationName()
      This method returns the paymentMethodConfiguration name.
      void setAvsRules(ScoreRules rules)
      This method sets the AVS (Address Verification Service) score rules, it is rule based on integer value range.
      void setCancelCoreActions(PaymentActions localCancelCoreRules)
      This method sets the cancelCoreRules , when the CancelOrder business event occurs, this configuration will be evaluated.
      void setEditReversalRules(PaymentActions localEditReversalRules)
      This method sets the editReversalActions , when the Edit Reversal related business event occurs, this configuration will be evaluated.
      void setEditRules(EditRules localEditRules)
      This method sets the editRules , when the Edit Payment related business event occurs, this configuration will be evaluated.
      void setPaymentActionCoreActions(PaymentActions localPaymentActions)
      This method sets the paymentActionCoreActions , when the payment action involved business event occurs, this configuration will be evaluated.
      • Methods inherited from class java.lang.Object

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

      • CoreConfiguration

        public CoreConfiguration(java.lang.String localPaymentMethodConfigurationName)
        This method creates a new CoreConfiguration object.
        Parameters:
        localPaymentMethodConfigurationName - The paymentMethodConfiguration name of current payment method
    • Method Detail

      • setAvsRules

        public void setAvsRules(ScoreRules rules)
        This method sets the AVS (Address Verification Service) score rules, it is rule based on integer value range.
        Parameters:
        rules - A ScoreRules object stores configuration values for AVS
      • getAvsRules

        public ScoreRules getAvsRules()
        This method gets the AVS score rules, it is rule based on integer value range
        Returns:
        a ScoreRules object stores EDP configuration values for AVS
      • setCancelCoreActions

        public void setCancelCoreActions(PaymentActions localCancelCoreRules)
        This method sets the cancelCoreRules , when the CancelOrder business event occurs, this configuration will be evaluated.
        Parameters:
        localCancelCoreRules - The cancelCoreRules to set
      • getCancelCoreActions

        public PaymentActions getCancelCoreActions()
        This method returns the cancelCoreRules , when the CancelOrder business event occurs, this configuration will be evaluated.
        Returns:
        cancelCoreActions The returned cancelCoreRules
      • setEditRules

        public void setEditRules(EditRules localEditRules)
        This method sets the editRules , when the Edit Payment related business event occurs, this configuration will be evaluated.
        Parameters:
        localEditRules - The editRules to set
      • getEditRules

        public EditRules getEditRules()
        This method returns the editRules , when the Edit Payment related business event occurs, this configuration will be evaluated.
        Returns:
        editRules The returned editRules
      • getEditReversalActions

        public PaymentActions getEditReversalActions()
        This method returns the editReversalActions , when the Edit Reversal related business event occurs, this configuration will be evaluated.
        Returns:
        editReversalActions The returned editReversalActions
      • setEditReversalRules

        public void setEditReversalRules(PaymentActions localEditReversalRules)
        This method sets the editReversalActions , when the Edit Reversal related business event occurs, this configuration will be evaluated.
        Parameters:
        localEditReversalRules - The editReversalActions to set
      • setPaymentActionCoreActions

        public void setPaymentActionCoreActions(PaymentActions localPaymentActions)
        This method sets the paymentActionCoreActions , when the payment action involved business event occurs, this configuration will be evaluated.
        Parameters:
        localPaymentActions - The paymentActionCoreRules to set
      • getPaymentActionCoreActionss

        public PaymentActions getPaymentActionCoreActionss()
        This method returns the paymentActionCoreActions , when the payment action involved business event occurs, this configuration will be evaluated.
        Returns:
        paymentActionCoreActionss The returned paymentActionCoreActions
      • getPaymentMethodConfigurationName

        public java.lang.String getPaymentMethodConfigurationName()
        This method returns the paymentMethodConfiguration name.
        Returns:
        paymentMethodConfiguration The paymentMethodConfiguration name