Package-level declarations

카카오 로그인 API 모델 클래스
Model class of the Kakao Login APIs

Types

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

액세스 토큰 정보
Access token information

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

카카오계정 정보
Kakao Account information

Link copied to clipboard
@Serializable(with = AgeRangeSerializer::class)
enum AgeRange : Enum<AgeRange>

연령대
Age range

Link copied to clipboard
@Serializable(with = BirthdayTypeSerializer::class)
enum BirthdayType : Enum<BirthdayType>

생일 타입
Birthday type

Link copied to clipboard
@Serializable(with = GenderSerializer::class)
enum Gender : Enum<Gender>

성별
Gender

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

프로필 정보
Profile information

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

동의 철회된 서비스 약관 정보
Revoked service terms information

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

동의항목 정보
Scope information

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

사용자 동의 내역
User consent history

Link copied to clipboard
enum ScopeType : Enum<ScopeType>

동의항목 타입
Scope type

Link copied to clipboard
@Serializable
data class ServiceTerms(val tag: String, val required: Boolean, val agreed: Boolean, val revocable: Boolean, val agreedAt: Date?, val referer: ServiceTerms.Referer?)

서비스 약관 정보
Service terms information

Link copied to clipboard
@Serializable
data class ShippingAddress(val id: Long, val name: String?, val isDefault: Boolean, val updatedAt: Date?, val type: ShippingAddressType?, val baseAddress: String?, val detailAddress: String?, val receiverName: String?, val receiverPhoneNumber1: String?, val receiverPhoneNumber2: String?, val zoneNumber: String?, val zipCode: String?)

배송지 정보
Shipping address information

Link copied to clipboard
@Serializable(with = ShippingAddressTypeSerializer::class)
enum ShippingAddressType : Enum<ShippingAddressType>

배송지 타입
Shipping address type

Link copied to clipboard
@Serializable
data class User(val id: Long?, val properties: Map<String, String>?, val kakaoAccount: Account?, val groupUserToken: String?, val connectedAt: Date?, val synchedAt: Date?, val hasSignedUp: Boolean?, val uuid: String?)

사용자 정보 가져오기 응답
Response for Retrieve user information

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

서비스 약관 동의 철회하기 응답
Response for Revoke consent for service terms

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

서비스 약관 동의 내역 확인하기 응답
Response for Retrieve consent details for service terms

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

배송지 가져오기 응답
Response for Retrieve shipping address