generateCustomerRecommendations

fun generateCustomerRecommendations(customerSessionRequest: CustomerSessionRequest? = null, sessionId: String? = null, customerRecommendationsCallback: (customerRecommendationsResult: CustomerRecommendationsResult) -> Unit)

Generates customer payment option recommendations.

Parameters

customerSessionRequest

an optional CustomerSessionRequest object containing the request parameters

sessionId

an optional shopper session ID

customerRecommendationsCallback

a callback that returns the result of the customer recommendation generation

Note: This feature is in beta. It's public API may change in future releases.


suspend fun generateCustomerRecommendations(customerSessionRequest: CustomerSessionRequest? = null, sessionId: String? = null): CustomerRecommendationsResult

Generates customer payment option recommendations.

Return

CustomerRecommendationsResult

Note: This feature is in beta. It's public API may change in future releases.

Parameters

customerSessionRequest

an optional CustomerSessionRequest object containing the request parameters

sessionId

an optional shopper session ID