class ClientService : BaseNetworkService
This network service is used to perform client token based operations
ClientService(environment: String, okHttpClient: OkHttpClient)
This network service is used to perform client token based operations |
fun getClientAgreementsUrls(clientId: String): Call<ApiContainer<AgreementLinksResponse>> |
|
fun getClientInfo(clientToken: ClientToken, clientId: String): Call<ApiContainer<ClientInfo>> |
|
fun getEmailSignUpStatus(clientToken: ClientToken, email: String): Call<ApiContainer<AccountStatusResponse>>
Queries for the signup checkPhoneStatus of an e-mail address. |
|
fun getPhoneSignUpStatus(clientToken: ClientToken, phone: String): Call<ApiContainer<AccountStatusResponse>>
Queries for the signup checkPhoneStatus of a phone number. |
|
fun getProduct(clientToken: ClientToken, productId: String): Call<ApiContainer<Product>> |
|
fun getProducts(clientToken: ClientToken): Call<ListContainer<Product>> |
|
fun signUp(clientToken: ClientToken, email: String, redirectUri: String, inputParams: Map<String, Any>): Call<ApiContainer<ProfileData>>
Creates a user profile and associates it to an e-mail address if there is no such association yet. |
open fun <T : Any!> createService(service: Class<T>): T
Creates a service to perform network interactions against. |