Interface MyFatoorahSessionService

All Known Implementing Classes:
DefaultMyFatoorahSessionService

public interface MyFatoorahSessionService
This service is responsible for making call to the MyFatoorah init-session endpoint through MyFatoorahProvider
Author:
Divyank Chavan.
  • Method Details

    • initiateSession

      InitSessionResponse initiateSession(@Nullable String customerId, @Nullable String currencyCode, @Nullable String applicationId, @Nullable String tenantId)
      This method is responsible for calling MyFatoorah init-session endpoint.
      Parameters:
      customerId - The optional customer id used to access MyFatoorah-stored saved payment methods.
      currencyCode - The currency code for this request
      applicationId - the application ID
      tenantId - the tenant ID
      Returns:
      The InitSessionResponse