core / com.schibsted.account.session / Agreements

Agreements

class Agreements

Constructors

<init>

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

Functions

acceptAgreements

fun acceptAgreements(callback: ResultCallback<NoValue>): Unit

Accept the agreements of the user.

getAgreementsStatus

fun getAgreementsStatus(callback: ResultCallback<AgreementsResponse.Agreements>): Unit

Gets the agreements status for the current user

Companion Object Functions

getAgreementLinks

fun getAgreementLinks(callback: ResultCallback<AgreementLinksResponse>): Unit

Gets the agreements links for the current client