- All Superinterfaces:
PluginService
The ExpressCheckoutService interface provides methods for handling express checkout functionality.
It extends the PluginService interface.
- Since:
- 1.3.5
- Author:
- LogiCommerce
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptiongetCustomer(RequestParams requestParams) Retrieves the express checkout customer information based on the provided request parameters.Returns the URL for the express checkout process based on the provided cart.booleanvalidate(RequestParams requestParams) Validates the request parameters for the express checkout process.
-
Method Details
-
getUrl
Returns the URL for the express checkout process based on the provided cart.- Parameters:
cart- TheCartobject containing the items to be checked out.- Returns:
- The URL for the express checkout process.
- Throws:
PluginServiceException- If an error occurs while retrieving the URL.
-
validate
Validates the request parameters for the express checkout process.- Parameters:
requestParams- The request parameters to be validated.RequestParams.- Returns:
- True if the request parameters are valid, false otherwise.
- Throws:
PluginServiceException- If an error occurs while validating the request parameters.
-
getCustomer
Retrieves the express checkout customer information based on the provided request parameters.- Parameters:
requestParams- The request parameters containing the customer information.RequestParams.- Returns:
- The express checkout customer object.
- Throws:
PluginServiceException- If an error occurs while retrieving the customer information.
-