Package com.yoti.api.client
Class ActivityDetails
java.lang.Object
com.yoti.api.client.ActivityDetails
Details of an activity between a user and the application.
-
Constructor Summary
ConstructorsConstructorDescriptionActivityDetails(String rememberMeId, String parentRememberMeId, HumanProfile userProfile, ApplicationProfile applicationProfile, ExtraData extraData, Date timestamp, byte[] receiptId) -
Method Summary
Modifier and TypeMethodDescriptionGet the profile associated with the application.Return the extra data associated with the receipt.Return the parentRememberMeId, which is a unique, stable identifier for a user in the context of an organisation.ReceiptId identifying a completed sharing activity.Return the rememberMeId, which is a unique, stable identifier for a user in the context of an application.Time and date of the sharing activityGet the profile associated with the user.
-
Constructor Details
-
ActivityDetails
public ActivityDetails(String rememberMeId, String parentRememberMeId, HumanProfile userProfile, ApplicationProfile applicationProfile, ExtraData extraData, Date timestamp, byte[] receiptId)
-
-
Method Details
-
getUserProfile
Get the profile associated with the user.- Returns:
- profile containing attributes for the user
-
getApplicationProfile
Get the profile associated with the application.- Returns:
- profile containing attributes for the application
-
getRememberMeId
Return the rememberMeId, which is a unique, stable identifier for a user in the context of an application. You can use it to identify returning users. This value will be different for the same user in different applications.- Returns:
- rememberMeId
-
getParentRememberMeId
Return the parentRememberMeId, which is a unique, stable identifier for a user in the context of an organisation. You can use it to identify returning users. This value is consistent for a given user across different apps belonging to a single organisation.- Returns:
- parentRememberMeId
-
getTimestamp
Time and date of the sharing activity- Returns:
- time and date of the activity
-
getReceiptId
ReceiptId identifying a completed sharing activity.- Returns:
- receiptId
-
getExtraData
Return the extra data associated with the receipt.- Returns:
ExtraDataassociated with the receipt
-