Package com.kakao.sdk.user.model

사용자 정보 API의 요청과 응답에 사용되는 모델 클래스들을 제공하는 패키지. 사용자 정보 가져오기, 사용자 토큰 정보 보기 등 기능 제공.

Types

Link copied to clipboard
data class AccessTokenInfo(id: Long?, expiresIn: Long, appId: Int, expiresInMillis: Long?) : Parcelable

토큰 정보 요청 API 응답 클래스

Link copied to clipboard
data class Account(profileNeedsAgreement: Boolean?, profileNicknameNeedsAgreement: Boolean?, profileImageNeedsAgreement: Boolean?, profile: Profile?, nameNeedsAgreement: Boolean?, name: String?, emailNeedsAgreement: Boolean?, isEmailValid: Boolean?, isEmailVerified: Boolean?, email: String?, ageRangeNeedsAgreement: Boolean?, ageRange: AgeRange?, birthyearNeedsAgreement: Boolean?, birthyear: String?, birthdayNeedsAgreement: Boolean?, birthday: String?, birthdayType: BirthdayType?, genderNeedsAgreement: Boolean?, gender: Gender?, ciNeedsAgreement: Boolean?, ci: String?, ciAuthenticatedAt: Date?, legalNameNeedsAgreement: Boolean?, legalName: String?, legalBirthDateNeedsAgreement: Boolean?, legalBirthDate: String?, legalGenderNeedsAgreement: Boolean?, legalGender: Gender?, phoneNumberNeedsAgreement: Boolean?, phoneNumber: String?, isKoreanNeedsAgreement: Boolean?, isKorean: Boolean?) : Parcelable

카카오계정에 등록된 사용자 개인정보.

Link copied to clipboard
enum AgeRange : Enum<AgeRange>

연령대 (한국 나이)

Link copied to clipboard
enum BirthdayType : Enum<BirthdayType>

생일의 양력/음력

Link copied to clipboard
enum Gender : Enum<Gender>

성별

Link copied to clipboard
data class Profile(nickname: String?, profileImageUrl: String?, thumbnailImageUrl: String?, isDefaultImage: Boolean?) : Parcelable

카카오계정에 등록된 사용자의 프로필 정보를 제공합니다.

Link copied to clipboard
data class RevokedServiceTerms(tag: String, agreed: Boolean)

동의 철회가 반영된 서비스 약관 클래스

Link copied to clipboard
data class Scope(id: String, displayName: String, type: ScopeType, using: Boolean, delegated: Boolean?, agreed: Boolean, revocable: Boolean?) : Parcelable

동의 항목별 정보

Link copied to clipboard
data class ScopeInfo(id: Long, scopes: List<Scope>?) : Parcelable

사용자 동의 내역

Link copied to clipboard
enum ScopeType : Enum<ScopeType>

동의 항목 타입

Link copied to clipboard
data class ServiceTerms(tag: String, required: Boolean, agreed: Boolean, revocable: Boolean, agreedAt: Date?)

3rd party 서비스 약관 정보 클래스

Link copied to clipboard
data class ServiceTermsResponse(id: Long, serviceTerms: List<ServiceTerms>?)
Link copied to clipboard
data class ShippingAddress(id: Long, name: String?, isDefault: Boolean, updatedAt: Date?, type: ShippingAddressType?, baseAddress: String?, detailAddress: String?, receiverName: String?, receiverPhoneNumber1: String?, receiverPhoneNumber2: String?, zoneNumber: String?, zipCode: String?)

배송지 정보 클래스

Link copied to clipboard
enum ShippingAddressType : Enum<ShippingAddressType>
Link copied to clipboard
data class User(id: Long?, properties: Map<String, String>?, kakaoAccount: Account?, groupUserToken: String?, connectedAt: Date?, synchedAt: Date?, hasSignedUp: Boolean?) : Parcelable

사용자 정보 조회 API 응답으로 제공되는 사용자 정보 최상위 클래스.

Link copied to clipboard
data class UserRevokedServiceTerms(id: Long, revokedServiceTerms: List<RevokedServiceTerms>?)

서비스 약관 철회 API 응답 클래스

Link copied to clipboard
data class UserServiceTerms(id: Long, serviceTerms: List<ServiceTerms>?)

서비스 약관 조회 API 응답 클래스

Link copied to clipboard
data class UserShippingAddresses(userId: Long?, needsAgreement: Boolean?, shippingAddresses: List<ShippingAddress>?)

앱에 가입한 사용자의 배송지 정보 API 응답 클래스