core / com.schibsted.account.session / Profile

Profile

class Profile

Constructors

<init>

Profile(user: User, userService: UserService = UserService(ClientConfiguration.get().environment, user.authClient))

Properties

user

val user: User

Functions

get

fun get(callback: ResultCallback<ProfileData>): Unit

getMissingFields

fun getMissingFields(callback: ResultCallback<Set<String>>): Unit

getProductAccess

fun getProductAccess(productId: String, callback: ResultCallback<ProductAccess>): Unit

getSubscriptions

fun getSubscriptions(callback: ResultCallback<List<Subscription>>): Unit

update

fun update(data: Map<String, Any>, callback: ResultCallback<NoValue>? = null): Unit