Class ApplyApprovalRuleServiceImpl
java.lang.Object
com.skava.accounts.workflow.service.impl.ApplyApprovalRuleServiceImpl
- All Implemented Interfaces:
ApplyApprovalRuleService
,com.skava.core.EcommService<CartRequestInternal,
ApplyWorkflowAPIResponse>
@Service
public class ApplyApprovalRuleServiceImpl
extends Object
implements ApplyApprovalRuleService
The Class ApplyApprovalRuleServiceImpl is used for apply approval rule based
on the provided information.
- Author:
- Infosys Equinox
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreateParameter
(Cart sfCart, long collectionId) This method is used for creating parameter of jbpm process from given request.createWorkflowAccount
(Cart sfCart) This method is used to create account object from given request.createWorkflowBillingAddress
(Cart sfCart) This method is used for creating billing address object from given request.createWorkflowCart
(Cart sfCart) This method is used to cart object from given request.createWorkflowPayment
(Cart sfCart) This method is used for creating payment object from given request.createWorkflowShipping
(Cart sfCart) This method is used for creating shipping object from given request.createWorkflowStore
(Cart sfCart) This method is used to create store object from given request.createWorkflowUser
(Cart sfCart) This method is used to create user object from given request.process
(CartRequestInternal cartRequest) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.skava.core.EcommService
getValidateException, getValidator, getValidator
-
Constructor Details
-
ApplyApprovalRuleServiceImpl
public ApplyApprovalRuleServiceImpl()
-
-
Method Details
-
process
- Specified by:
process
in interfacecom.skava.core.EcommService<CartRequestInternal,
ApplyWorkflowAPIResponse>
-
createParameter
This method is used for creating parameter of jbpm process from given request.- Parameters:
sfCart
-collectionId
-- Returns:
- jbpmRequest
-
createWorkflowPayment
This method is used for creating payment object from given request.- Parameters:
sfCart
-- Returns:
- workflowPayment
-
createWorkflowBillingAddress
This method is used for creating billing address object from given request.- Parameters:
sfCart
-- Returns:
- billingAddress
-
createWorkflowShipping
This method is used for creating shipping object from given request.- Parameters:
sfCart
-- Returns:
- workflowShipping
-
createWorkflowStore
This method is used to create store object from given request.- Parameters:
sfCart
-- Returns:
- workflowStore
-
createWorkflowAccount
This method is used to create account object from given request.- Parameters:
sfCart
-- Returns:
- workflowAccount
-
createWorkflowUser
This method is used to create user object from given request.- Parameters:
sfCart
-- Returns:
- workflowUser
-
createWorkflowCart
This method is used to cart object from given request.- Parameters:
sfCart
-- Returns:
- workflowCart
-