Interface ExpressCheckoutService

All Superinterfaces:
PluginService

public interface ExpressCheckoutService extends 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 Type
    Method
    Description
    getCustomer(RequestParams requestParams)
    Retrieves the express checkout customer information based on the provided request parameters.
    getUrl(Cart cart)
    Returns the URL for the express checkout process based on the provided cart.
    boolean
    validate(RequestParams requestParams)
    Validates the request parameters for the express checkout process.
  • Method Details

    • getUrl

      String getUrl(Cart cart) throws PluginServiceException
      Returns the URL for the express checkout process based on the provided cart.
      Parameters:
      cart - The Cart object 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

      boolean validate(RequestParams requestParams) throws PluginServiceException
      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.