ActivePerksMemberProfile

data class ActivePerksMemberProfile(val username: String?, val email: String?, val firstName: String?, val lastName: String?, val phone: String?, val address: ActivePerksAddress?, val profileName: String?, val profileCode: String?, val renewalText: String?, val hideCancel: Boolean, val logo: String?, val logoFooter: String?, val logoBanner: String?, val primaryCardExpireDate: String?, val cashback: ActivePerksCashbackSummary?, val savedPaymentMethods: List<ActivePerksSavedCard>, val favoriteMerchantIds: List<Int>, val alternateEmails: List<String>, val charityRedemption: ActivePerksCharityRedemption?)

The member's ActivePerks profile - identity, branding, cashback totals, saved payment methods and favorites, exactly as the server reports them.

Constructors

Link copied to clipboard
constructor(username: String?, email: String?, firstName: String?, lastName: String?, phone: String?, address: ActivePerksAddress?, profileName: String?, profileCode: String?, renewalText: String?, hideCancel: Boolean, logo: String?, logoFooter: String?, logoBanner: String?, primaryCardExpireDate: String?, cashback: ActivePerksCashbackSummary?, savedPaymentMethods: List<ActivePerksSavedCard>, favoriteMerchantIds: List<Int>, alternateEmails: List<String>, charityRedemption: ActivePerksCharityRedemption?)

Properties

Link copied to clipboard

Billing address, or null when none is on file.

Link copied to clipboard

Additional emails on the account.

Link copied to clipboard

Cashback totals, or null if the server omitted them.

Link copied to clipboard

Configured charity, or null when none.

Link copied to clipboard

Account email.

Link copied to clipboard

Ids of the member's favorite merchants.

Link copied to clipboard

Member first name.

Link copied to clipboard

Whether the cancel-membership action must be hidden.

Link copied to clipboard

Member last name.

Link copied to clipboard
val logo: String?

Program logo URL.

Link copied to clipboard

Banner logo URL.

Link copied to clipboard

Footer logo URL.

Link copied to clipboard

Member phone number.

Link copied to clipboard

Expiry of the primary card as an ISO date-time string WITHOUT a Z suffix (e.g. "2030-12-31T00:00:00"), or null. Kept verbatim because the server does not pin a timezone.

Link copied to clipboard

Code of the ActivePerks program profile.

Link copied to clipboard

Display name of the ActivePerks program profile.

Link copied to clipboard

Renewal copy the app must show verbatim.

Link copied to clipboard

Saved cards; empty when none.

Link copied to clipboard

Account username.