com.ibm.commerce.edp.config

Class TargetApprovedWrapper

  • java.lang.Object
    • com.ibm.commerce.edp.config.TargetApprovedWrapper
  • All Implemented Interfaces:
    TargetStateWrapper


    public class TargetApprovedWrapper
    extends java.lang.Object
    implements TargetStateWrapper
    The class is as the wrapper of the element TargetApproved in Payment Rules configuration.
    • Constructor Detail

      • TargetApprovedWrapper

        public TargetApprovedWrapper(TargetApproved localApproved)
        This method creates a new TargetApprovedWrapper object.
        Parameters:
        localApproved - The TargetApproved object
    • Method Detail

      • getCurrentApproved

        public CurrentApproved getCurrentApproved()
        This method returns the CurrentApprove object. The corresponding configuration means the current payment state is approved, and the target payment state is approved.
        Specified by:
        getCurrentApproved in interface TargetStateWrapper
        Returns:
        CurrentApproved The returned CurrentApproved object
      • getCurrentDNE

        public CurrentDNE getCurrentDNE()
        This method returns the CurrentDNE object. The corresponding configuration means the current payment state is DNE, and the target payment state is approved.
        Specified by:
        getCurrentDNE in interface TargetStateWrapper
        Returns:
        CurrentDNE The returned CurrentDNE object
      • getCurrentDeposited

        public CurrentDeposited getCurrentDeposited()
        This method returns the CurrentDeposited object. The corresponding configuration means the current payment state is Deposited, and the target payment state is approved.
        Specified by:
        getCurrentDeposited in interface TargetStateWrapper
        Returns:
        CurrentDeposited The returned CurrentDeposited object