createCustomerSession
fun createCustomerSession(customerSessionRequest: CustomerSessionRequest, customerSessionCallback: (customerSessionResult: CustomerSessionResult) -> Unit)
Creates a new customer session.
Parameters
customerSessionRequest
a CustomerSessionRequest object containing the request parameters
customerSessionCallback
a callback that returns the result of the customer session creation
Note: This feature is in beta. It's public API may change in future releases.
suspend fun createCustomerSession(customerSessionRequest: CustomerSessionRequest): CustomerSessionResult
Creates a new customer session.
Return
Note: This feature is in beta. It's public API may change in future releases.
Parameters
customerSessionRequest
a CustomerSessionRequest object containing the request parameters