' Options: 'Date: 2025-04-04 17:44:41 'Version: 5.140 'Tip: To override a DTO option, remove "''" prefix before updating 'BaseUrl: https://api.clubmanagercentral.com ' '''GlobalNamespace: '''MakePartial: True '''MakeVirtual: True '''MakeDataContractsExtensible: False '''AddReturnMarker: True '''AddDescriptionAsComments: True '''AddDataContractAttributes: False '''AddIndexesToDataMembers: False '''AddGeneratedCodeAttributes: False '''AddResponseStatus: False '''AddImplicitVersion: '''InitializeCollections: True '''ExportValueTypes: False 'IncludeTypes: MemberService.GetMemberRequest.* '''ExcludeTypes: '''AddNamespaces: '''AddDefaultXmlNamespace: http://schemas.servicestack.net/types Imports System Imports System.Collections Imports System.Collections.Generic Imports System.Runtime.Serialization Imports ServiceStack Imports ServiceStack.DataAnnotations Imports ClubManager.Interfaces.Models.Member Imports ClubManager.Interfaces.Models.Message Imports ClubManager.Api.Services Namespace Global Namespace ClubManager.Interfaces.Models.Member Public Enum ExternalStatus Off Active Pending CancelledInsideContract CancelledOutsideContract WithDebtRecovery Suspended End Enum Public Enum Gender Unknown Male Female Other PreferNotToSay End Enum Public Partial Class Member Public Overridable Property MemberId As Integer Public Overridable Property BranchId As Integer Public Overridable Property MembershipNumber As String Public Overridable Property JoinedDate As Nullable(Of Date) Public Overridable Property CardNumber As String Public Overridable Property CompanyName As String Public Overridable Property Gender As Gender Public Overridable Property GenderName As String Public Overridable Property FullName As String Public Overridable Property Title As String Public Overridable Property Forenames As String Public Overridable Property Surname As String Public Overridable Property Address1 As String Public Overridable Property Address2 As String Public Overridable Property County As String Public Overridable Property City As String Public Overridable Property HomePhone As String Public Overridable Property MobilePhone As String Public Overridable Property EmailAddress As String Public Overridable Property ExternalReference As String Public Overridable Property Country As String Public Overridable Property EmailOptOut As Boolean Public Overridable Property SmsOptOut As Boolean Public Overridable Property PhoneOptOut As Boolean Public Overridable Property LetterOptOut As Boolean Public Overridable Property UseExternalStatus As Boolean Public Overridable Property ExternalStatus As ExternalStatus Public Overridable Property DateOfBirth As Nullable(Of Date) Public Overridable Property Postcode As String Public Overridable Property Notes As String Public Overridable Property StartDate As Nullable(Of Date) Public Overridable Property Expires As Nullable(Of Date) Public Overridable Property SessionsRemaining As Nullable(Of Integer) Public Overridable Property ContractEndDate As Nullable(Of Date) Public Overridable Property DaysRemaining As Integer Public Overridable Property MembershipType As String Public Overridable Property LastAttendance As Nullable(Of Date) Public Overridable Property Attendance As Integer Public Overridable Property MemberType As MemberType Public Overridable Property RecurringPayments As Integer Public Overridable Property OverduePayments As Integer Public Overridable Property AttendanceThisWeek As Integer Public Overridable Property retentionMetric As Decimal Public Overridable Property MonthlyAttendanceFrequency As Decimal Public Overridable Property TotalProductSpend As Decimal Public Overridable Property JournalEntry As String Public Overridable Property Balance As Decimal Public Overridable Property CreditLimit As Decimal Public Overridable Property guid As Guid Public Overridable Property MembershipState As MembershipState Public Overridable Property BookingsAttended As Integer Public Overridable Property DateOfLastBooking As Nullable(Of Date) Public Overridable Property PhotoModifiedDate As Nullable(Of Date) Public Overridable Property CreatedDate As Nullable(Of Date) Public Overridable Property ModifiedDate As Nullable(Of Date) Public Overridable Property DeletedDate As Nullable(Of Date) Public Overridable Property MemberKey As Guid Public Overridable Property CreatedByUserId As Integer Public Overridable Property AssignedToUserId As Integer Public Overridable Property DeletedByUserId As Integer Public Overridable Property GiftAidPermission As Boolean Public Overridable Property FirstAidPermission As Boolean Public Overridable Property PhotoPermission As Boolean Public Overridable Property EmergencyContact As String Public Overridable Property WonOrLost As Nullable(Of Integer) Public Overridable Property WonOrLostDate As Nullable(Of Date) Public Overridable Property WonOrLostByUserId As Nullable(Of Integer) Public Overridable Property LicenseReference As String Public Overridable Property LicenseStartDate As Nullable(Of Date) Public Overridable Property LicenseRenewalDate As Nullable(Of Date) Public Overridable Property AgreedToTerms As Nullable(Of Date) Public Overridable Property OnlineBookingBanned As Boolean Public Overridable Property ChildBranchId As Nullable(Of Integer) Public Overridable Property ChildBranch As String Public Overridable Property ProspectingPoints As Integer Public Overridable Property AchievementPoints As Integer Public Overridable Property ParentForenames As String Public Overridable Property ParentSurname As String Public Overridable Property GradingReadiness As Integer Public Overridable Property DirectDebitAccountHolder As String Public Overridable Property DirectDebitAccountNumber As String Public Overridable Property DirectDebitSortCode As String Public Overridable Property DirectDebitBankAddress As String Public Overridable Property InvitedDate As Nullable(Of Date) Public Overridable Property Grade As String Public Overridable Property ColourLeft As String Public Overridable Property ColourRight As String Public Overridable Property SessionsToComplete As Integer Public Overridable Property UniqueId As String Public Overridable Property PreferenceLink As String Public Overridable Property MarketingAllLink As String Public Overridable Property MarketingNoneLink As String Public Overridable Property AppRegistrationId As String Public Overridable Property AppRegistrationLink As String Public Overridable Property AppQrImageLink As String Public Overridable Property CardNumberQrImageLink As String Public Overridable Property PhotoThumbnailLink As String Public Overridable Property ContentTypesOptIn As MessageTemplateContentType Public Overridable Property TemplateTypesOptIn As MessageTemplateType Public Overridable Property CanEmail As Boolean Public Overridable Property CanDirectMail As Boolean Public Overridable Property CanSMS As Boolean Public Overridable Property CanTelephone As Boolean Public Overridable Property NoMarketingConsent As Boolean Public Overridable Property CanSendInvite As Boolean Public Overridable Property BranchKey As Guid Public Overridable Property SageLink As String Public Overridable Property SageLastPaymentDate As Nullable(Of Date) Public Overridable Property SageFirstPaymentDate As Nullable(Of Date) Public Overridable Property SageLastPaymentAmount As Nullable(Of Decimal) Public Overridable Property SageFirstPaymentAmount As Nullable(Of Decimal) Public Overridable Property SageTotalPaid As Nullable(Of Decimal) End Class Public Enum MembershipState Prospect Active Expired Cancelled PaymentRequired Suspended End Enum Public Enum MemberType Prospect Active Cancelled Expired Suspended ClubCancelled DropOut End Enum End Namespace Namespace ClubManager.Interfaces.Models.Message Public Enum MessageTemplateContentType Transactional = 1 Marketing = 2 None = 1048576 End Enum Public Enum MessageTemplateType SMS = 1 Email = 2 Telephone = 4 DirectMail = 8 Notification = 16 Page = 32 None = 1048576 NoConsent = 2097152 End Enum End Namespace End Namespace