Member

public struct Member : Codable, Equatable

Struct representing Member related values.

  • Email of the member.

    Declaration

    Swift

    public var email: String
  • First name of the member.

    Declaration

    Swift

    public var firstName: String
  • Last name of the member.

    Declaration

    Swift

    public var lastName: String
  • Mailing street address of the member.

    Declaration

    Swift

    public var mailingStreet: String
  • Mailing city address of the member.

    Declaration

    Swift

    public var mailingCity: String
  • Mailing state address of the member.

    Declaration

    Swift

    public var mailingState: String
  • Mailing postal code of the member.

    Declaration

    Swift

    public var mailingPostalCode: String
  • Mailing country address of the member.

    Declaration

    Swift

    public var mailingCountry: String
  • Birthday of the member.

    Declaration

    Swift

    public var birthdate: String
  • Contact Number of the member.

    Declaration

    Swift

    public var mobilePhone: String
  • Date when the member joined the program.

    Declaration

    Swift

    public var memberSince: String
  • Member Id of the member.

    Declaration

    Swift

    public var memberId: String
  • Boolean value if the member will be able to receive email offers.

    Declaration

    Swift

    public var receiveEmailOffers: Bool
  • Boolean value if the member will be able to receive sms offers.

    Declaration

    Swift

    public var receiveSmsOffers: Bool
  • Boolean value if the member will be able to receive mobile app offers.

    Declaration

    Swift

    public var receiveMobileAppOffers: Bool
  • Boolean value if the member will be able to receive mail offers.

    Declaration

    Swift

    public var receiveMailOffers: Bool
  • Boolean value if the member will be able to receive e statement offers.

    Declaration

    Swift

    public var receiveEstatementOffers: Bool
  • Current tier of the member.

    Declaration

    Swift

    public var currentTier: String
  • Membership Expiration date of the member.

    Declaration

    Swift

    public var expirationDate: String
  • Current tier in Progression of the member.

    Declaration

    Swift

    public var tierInProgression: String
  • Referrer Id of the member.

    Declaration

    Swift

    public var referrerId: String
  • Integration Id of the member.

    Declaration

    Swift

    public var integrationId: String
  • Gender of the member.

    Declaration

    Swift

    public var gender: String
  • Marital Status of the member.

    Declaration

    Swift

    public var maritalStatus: String
  • Education of the member.

    Declaration

    Swift

    public var education: String
  • Income of the member.

    Declaration

    Swift

    public var income: String
  • Boolean value if the member has children or not.

    Declaration

    Swift

    public var hasChildren: Bool
  • Employment value of the member.

    Declaration

    Swift

    public var employment: String
  • Ethnicity value of the member.

    Declaration

    Swift

    public var ethnicity: String
  • Housing value of the member.

    Declaration

    Swift

    public var housing: String
  • Test member value of the member.

    Declaration

    Swift

    public var testMember: Bool
  • Visitor value of the member.

    Declaration

    Swift

    public var isVisitor: Bool
  • Card Id of the member.

    Declaration

    Swift

    public var cardId: String
  • Boolean value if the member will receive news feed like notification.

    Declaration

    Swift

    public var receiveNewsFeedLikeNotification: Bool
  • Boolean value if the member will receive news feed comment notification.

    Declaration

    Swift

    public var receiveNewsFeedCommentNotification: Bool
  • Company of the member.

    Declaration

    Swift

    public var company: String
  • Grade of the member.

    Declaration

    Swift

    public var grade: String
  • Highschool name of the member.

    Declaration

    Swift

    public var highSchool: String
  • Highschool location of the member.

    Declaration

    Swift

    public var highSchoolLocation: String
  • age

    Age of the member.

    Declaration

    Swift

    public var age: Int
  • Anniversary of the member.

    Declaration

    Swift

    public var anniversary: String
  • Security Account Balance of the member.

    Declaration

    Swift

    public var securityAcountBalance: Int
  • Boolean value if the member will be able to receive Personalized offers.

    Declaration

    Swift

    public var receivePersonalizedOffers: Bool
  • Boolean value if the member will be able to receive statements.

    Declaration

    Swift

    public var receiveStatements: String
  • Last visit date of the member.

    Declaration

    Swift

    public var lastVisitDate: String
  • Boolean value if the member has device.

    Declaration

    Swift

    public var hasDevice: Bool
  • Parent Member Id of the member.

    Declaration

    Swift

    public var parentMemberId: String
  • gpa

    GPA value of the member.

    Declaration

    Swift

    public var gpa: Int
  • Boolean value if the member will have customer optin profiling.

    Declaration

    Swift

    public var customerOptinProfiling: Bool
  • Boolean value if the member will have customer optin marketing.

    Declaration

    Swift

    public var customerOptinMarketing: Bool
  • Member description.

    Declaration

    Swift

    public var aboutMe: String
  • Referral codes of the Member.

    Declaration

    Swift

    public var referralCode: [String]
  • Boolean value if the member is allowed to use beta vesion of the app.

    Declaration

    Swift

    public var betaAllowed: Bool
  • Recent score of the member.

    Declaration

    Swift

    public var recentScore: Int
  • Frequency Score of the member.

    Declaration

    Swift

    public var frequencyScore: Int
  • Monetary score of the member.

    Declaration

    Swift

    public var monetaryScore: Int
  • Recent Value of the member.

    Declaration

    Swift

    public var recentValue: Int
  • Place Integration Id of the member.

    Declaration

    Swift

    public var placeIntegrationId: String
  • Migtated value of the member.

    Declaration

    Swift

    public var migrated: String
  • My Table value of the member.

    Declaration

    Swift

    public var myTable: String
  • Employee value of the member.

    Declaration

    Swift

    public var isEmployee: Bool
  • Region integration Id of the member.

    Declaration

    Swift

    public var regionIntegrationId: String
  • Preferred Phone Brands of the member.

    Declaration

    Swift

    public var preferredPhoneBrands: String
  • Preferred channel of the member.

    Declaration

    Swift

    public var channel: String
  • Local code of the member.

    Declaration

    Swift

    public var localCode: String
  • Image url of the member.

    Declaration

    Swift

    public var avatarUrl: String
  • Place label of the member.

    Declaration

    Swift

    public var placeLabel: String
  • Satisfaction value of the member.

    Declaration

    Swift

    public var satisfaction: Int
  • Interests of the member.

    Declaration

    Swift

    public var interests: [String]
  • Connection status of the member to the user.

    Declaration

    Swift

    public var connectionStatus: ConnectionStatus
  • Message sent to the member.

    Declaration

    Swift

    public var message: String
  • init(email:firstName:lastName:mailingStreet:mailingCity:mailingState:mailingPostalCode:mailingCountry:birthdate:mobilePhone:memberSince:memberId:receiveEmailOffers:receiveSmsOffers:receiveMobileAppOffers:receiveMailOffers:receiveEstatementOffers:currentTier:expirationDate:tierInProgression:referrerId:integrationId:gender:maritalStatus:education:income:hasChildren:employment:ethnicity:housing:testMember:isVisitor:cardId:receiveNewsFeedLikeNotification:receiveNewsFeedCommentNotification:company:grade:highSchool:highSchoolLocation:age:anniversary:securityAcountBalance:receivePersonalizedOffers:receiveStatements:lastVisitDate:hasDevice:parentMemberId:gpa:customerOptinProfiling:customerOptinMarketing:aboutMe:referralCode:betaAllowed:recentScore:frequencyScore:monetaryScore:recentValue:placeIntegrationId:migrated:myTable:isEmployee:regionIntegrationId:preferredPhoneBrands:channel:localCode:avatarUrl:placeLabel:satisfaction:interests:connectionStatus:message:)

    Undocumented

    Declaration

    Swift

    public init(email: String, firstName: String, lastName: String, mailingStreet: String, mailingCity: String, mailingState: String,
                mailingPostalCode: String, mailingCountry: String, birthdate: String, mobilePhone: String,
                memberSince: String, memberId: String, receiveEmailOffers: Bool, receiveSmsOffers: Bool,
                receiveMobileAppOffers: Bool, receiveMailOffers: Bool, receiveEstatementOffers: Bool,
                currentTier: String, expirationDate: String, tierInProgression: String, referrerId: String,
                integrationId: String, gender: String, maritalStatus: String, education: String,
                income: String, hasChildren: Bool, employment: String, ethnicity: String, housing: String,
                testMember: Bool, isVisitor: Bool, cardId: String, receiveNewsFeedLikeNotification: Bool,
                receiveNewsFeedCommentNotification: Bool, company: String,
                grade: String, highSchool: String, highSchoolLocation: String, age: Int, anniversary: String,
                securityAcountBalance: Int, receivePersonalizedOffers: Bool, receiveStatements: String,
                lastVisitDate: String, hasDevice: Bool, parentMemberId: String, gpa: Int, customerOptinProfiling: Bool,
                customerOptinMarketing: Bool, aboutMe: String, referralCode: [String], betaAllowed: Bool,
                recentScore: Int, frequencyScore: Int, monetaryScore: Int, recentValue: Int, placeIntegrationId: String,
                migrated: String, myTable: String, isEmployee: Bool, regionIntegrationId: String,
                preferredPhoneBrands: String, channel: String, localCode: String, avatarUrl: String,
                placeLabel: String, satisfaction: Int, interests: [String],
                connectionStatus: ConnectionStatus, message: String)
  • Connection Status of a member to the user.

    See more

    Declaration

    Swift

    public enum ConnectionStatus : String, Codable
  • Declaration

    Swift

    public init(from decoder: Decoder) throws
  • Declaration

    Swift

    public func encode(to encoder: Encoder) throws