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.


Creates a new customer session.

Return

CustomerSessionResult

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

Parameters

customerSessionRequest

a CustomerSessionRequest object containing the request parameters