diff --git a/.gitignore b/.gitignore index 1b6985c..8d19013 100644 --- a/.gitignore +++ b/.gitignore @@ -3,3 +3,14 @@ # Ignore Gradle build output directory build +!common/build +common/build/** +!common/build/generated +common/build/generated/** +!common/build/generated/sources +common/build/generated/sources/** +!common/build/generated/sources/schemaCode +!common/build/generated/sources/schemaCode/** + +# schema file +/openapi/portone-v2-openapi.json diff --git a/buildSrc/.kotlin/errors/errors-1725266929220.log b/buildSrc/.kotlin/errors/errors-1725266929220.log new file mode 100644 index 0000000..7cd151b --- /dev/null +++ b/buildSrc/.kotlin/errors/errors-1725266929220.log @@ -0,0 +1,4 @@ +kotlin version: 2.0.20 +error message: The daemon has terminated unexpectedly on startup attempt #1 with error code: 0. The daemon process output: + 1. Kotlin compile daemon is ready + diff --git a/buildSrc/.kotlin/errors/errors-1725269772908.log b/buildSrc/.kotlin/errors/errors-1725269772908.log new file mode 100644 index 0000000..7cd151b --- /dev/null +++ b/buildSrc/.kotlin/errors/errors-1725269772908.log @@ -0,0 +1,4 @@ +kotlin version: 2.0.20 +error message: The daemon has terminated unexpectedly on startup attempt #1 with error code: 0. The daemon process output: + 1. Kotlin compile daemon is ready + diff --git a/buildSrc/.kotlin/errors/errors-1725362496451.log b/buildSrc/.kotlin/errors/errors-1725362496451.log new file mode 100644 index 0000000..7cd151b --- /dev/null +++ b/buildSrc/.kotlin/errors/errors-1725362496451.log @@ -0,0 +1,4 @@ +kotlin version: 2.0.20 +error message: The daemon has terminated unexpectedly on startup attempt #1 with error code: 0. The daemon process output: + 1. Kotlin compile daemon is ready + diff --git a/buildSrc/build.gradle.kts b/buildSrc/build.gradle.kts new file mode 100644 index 0000000..8cb6976 --- /dev/null +++ b/buildSrc/build.gradle.kts @@ -0,0 +1,14 @@ +plugins { + kotlin("jvm") version "2.0.20" + kotlin("plugin.serialization") version "2.0.20" + +} + +dependencies { + implementation("org.jetbrains.kotlinx:kotlinx-serialization-json:1.7.1") + implementation("com.squareup:kotlinpoet-jvm:1.18.1") +} + +repositories { + mavenCentral() +} diff --git a/buildSrc/src/main/kotlin/io/portone/openapi/GenerateSchemaCodeTask.kt b/buildSrc/src/main/kotlin/io/portone/openapi/GenerateSchemaCodeTask.kt new file mode 100644 index 0000000..dc8662a --- /dev/null +++ b/buildSrc/src/main/kotlin/io/portone/openapi/GenerateSchemaCodeTask.kt @@ -0,0 +1,32 @@ +package io.portone.openapi + +import kotlinx.serialization.json.Json +import kotlinx.serialization.json.jsonObject +import org.gradle.api.DefaultTask +import org.gradle.api.file.DirectoryProperty +import org.gradle.api.file.RegularFileProperty +import org.gradle.api.tasks.InputFile +import org.gradle.api.tasks.OutputDirectory +import org.gradle.api.tasks.TaskAction +import java.nio.file.Files + +abstract class GenerateSchemaCodeTask : DefaultTask() { + @get:InputFile + abstract val inputFile: RegularFileProperty + + @get:OutputDirectory + abstract val outputDirectory: DirectoryProperty + + @TaskAction + fun generateSchemaCode() { + val document = Json.parseToJsonElement(Files.readString(inputFile.get().asFile.toPath())).jsonObject + SchemaGenerator(document, listOf( + "/payments", + "/payment-schedules", + "/identity-verifications", + "/billing-keys", + "/cash-receipts", + "/kakaopay", + ), outputDirectory.get().asFile.toPath()).generateFiles() + } +} diff --git a/buildSrc/src/main/kotlin/io/portone/openapi/PatchCodeTask.kt b/buildSrc/src/main/kotlin/io/portone/openapi/PatchCodeTask.kt new file mode 100644 index 0000000..7d5a427 --- /dev/null +++ b/buildSrc/src/main/kotlin/io/portone/openapi/PatchCodeTask.kt @@ -0,0 +1,89 @@ +package io.portone.openapi + +import org.gradle.api.DefaultTask +import org.gradle.api.file.DirectoryProperty +import org.gradle.api.tasks.InputDirectory +import org.gradle.api.tasks.OutputDirectory +import org.gradle.api.tasks.TaskAction +import java.io.ByteArrayOutputStream +import java.nio.file.Files +import kotlin.io.path.listDirectoryEntries +import kotlin.io.path.relativeTo + +abstract class PatchCodeTask : DefaultTask() { + @get:InputDirectory + abstract val originDirectory: DirectoryProperty + + @get:InputDirectory + abstract val patchesDirectory: DirectoryProperty + + @get:OutputDirectory + abstract val outputDirectory: DirectoryProperty + + companion object { + private const val TAG_NAME = "patch-base" + } + + @TaskAction + fun patchCode() { + val originDirectory = this.originDirectory.get().asFile.toPath() + val patchesDirectory = this.patchesDirectory.get().asFile.toPath() + val outputDirectory = this.outputDirectory.get().asFile.toPath() + + Files.createDirectories(outputDirectory) + + project.exec { + it.workingDir = outputDirectory.toFile() + it.executable = "git" + it.args = listOf("init") + it.isIgnoreExitValue = true + } + + project.exec { + it.workingDir = outputDirectory.toFile() + it.executable = "git" + it.args = listOf("config", "commit.gpgSign", "false") + } + + project.exec { + it.workingDir = project.rootProject.projectDir + it.executable = "git" + it.args = listOf("tag", TAG_NAME) + } + + project.exec { + it.workingDir = project.rootProject.projectDir + it.executable = "git" + it.args = listOf("filter-repo", "--force", "--subdirectory-filter", originDirectory.relativeTo(project.rootProject.projectDir.toPath()).toString(), "--target", outputDirectory.toString()) + } + + project.exec { + it.workingDir =project.rootProject.projectDir + it.executable = "git" + it.args = listOf("tag", "-d", TAG_NAME) + } + + project.exec { + it.workingDir = outputDirectory.toFile() + it.executable = "git" + it.args = listOf("checkout", TAG_NAME) + } + + project.exec { + it.workingDir = outputDirectory.toFile() + it.executable = "git" + it.args = listOf("am", "--abort") + it.standardOutput = ByteArrayOutputStream() + it.errorOutput = ByteArrayOutputStream() + it.isIgnoreExitValue = true + } + + val patchFiles = patchesDirectory.listDirectoryEntries("*.patch").sorted() + + project.exec { + it.workingDir = outputDirectory.toFile() + it.executable = "git" + it.args = listOf("am", "--3way", *patchFiles.map { it.toString() }.toTypedArray()) + } + } +} diff --git a/buildSrc/src/main/kotlin/io/portone/openapi/SchemaGenerator.kt b/buildSrc/src/main/kotlin/io/portone/openapi/SchemaGenerator.kt new file mode 100644 index 0000000..29a26c0 --- /dev/null +++ b/buildSrc/src/main/kotlin/io/portone/openapi/SchemaGenerator.kt @@ -0,0 +1,777 @@ +package io.portone.openapi + +import com.squareup.kotlinpoet.AnnotationSpec +import com.squareup.kotlinpoet.ClassName +import com.squareup.kotlinpoet.CodeBlock +import com.squareup.kotlinpoet.FileSpec +import com.squareup.kotlinpoet.FunSpec +import com.squareup.kotlinpoet.KModifier +import com.squareup.kotlinpoet.ParameterSpec +import com.squareup.kotlinpoet.ParameterizedTypeName.Companion.parameterizedBy +import com.squareup.kotlinpoet.PropertySpec +import com.squareup.kotlinpoet.TypeName +import com.squareup.kotlinpoet.TypeSpec +import com.squareup.kotlinpoet.asTypeName +import kotlinx.serialization.ExperimentalSerializationApi +import kotlinx.serialization.SerialName +import kotlinx.serialization.Serializable +import kotlinx.serialization.json.JsonArray +import kotlinx.serialization.json.JsonClassDiscriminator +import kotlinx.serialization.json.JsonElement +import kotlinx.serialization.json.JsonObject +import kotlinx.serialization.json.jsonArray +import kotlinx.serialization.json.jsonObject +import kotlinx.serialization.json.jsonPrimitive +import java.io.Closeable +import java.math.BigInteger +import java.nio.file.Path +import java.time.Instant + +private enum class ExportMode { + NORMAL, + ERROR_UNION, + ERROR_CASE, +} + +interface Documented { + val title: String? + val description: String? + + val joinSeparateParagraph: String? + get() = listOfNotNull(title, description) + .distinct() + .joinToString("\n\n") + .let { if (it.isEmpty()) null else it } + + val joinSingleLine: String? + get() = listOfNotNull(title, description) + .distinct() + .joinToString(" - ") + .let { if (it.isEmpty()) null else it } +} + +private data class Schema(val spec: Spec, var isPublic: Boolean, val exportMode: ExportMode) + +sealed interface Spec : Documented { + val name: String + val asType: TypeName + + val asOptional: Spec + fun withTitle(title: String?): Spec + fun withDescription(description: String?): Spec +} + +private data class MinimalSpec( + override val name: String, + override val asType: TypeName, + override val title: String?, + override val description: String?, +) : Spec { + override val asOptional: Spec + get() = copy(asType = asType.copy(nullable = true)) + override fun withTitle(title: String?): Spec = + copy(title = title) + override fun withDescription(description: String?): Spec = + copy(description = description) +} + +private data class EnumValue( + val name: String, + override val title: String?, + override val description: String?, +) : Documented + +private data class EnumSpec( + override val name: String, + override val asType: TypeName, + val values: List, + override val title: String?, + override val description: String?, +) : Spec { + override val asOptional: Spec + get() = copy(asType = asType.copy(nullable = true)) + override fun withTitle(title: String?): Spec = + copy(title = title) + override fun withDescription(description: String?): Spec = + copy(description = description) +} + +data class ObjectSpec( + override val name: String, + override val asType: TypeName, + val properties: MutableList = mutableListOf(), + val discriminator: Discriminator? = null, + val parents: MutableList = mutableListOf(), + override val title: String?, + override val description: String?, +) : Spec { + override val asOptional: Spec + get() = copy(asType = asType.copy(nullable = true)) + override fun withTitle(title: String?): Spec = + copy(title = title) + override fun withDescription(description: String?): Spec = + copy(description = description) +} + +data class Discriminator( + val propertyName: String, + val mapping: List>, +) + +data class Operation( + val name: String, + val path: String, + val method: String, + val pathParams: List, + val queryParams: List, + val bodyParams: List, + val body: TypeName?, + val success: TypeName, + val returns: String?, + val error: TypeName, + val errorCases: List, + override val title: String?, + override val description: String?, +) : Documented + +private fun parseRef(ref: String): String = + ref.substringAfterLast('/') + +class SchemaGenerator(private val document: JsonObject, private val includePrefixes: List, private val targetDirectory: Path) { + private val resolvedNames: MutableSet = mutableSetOf() + private val operations: MutableList = mutableListOf() + private val schemas: MutableMap = mutableMapOf() + + private val documentSchemas: JsonObject? + get() = document.getObject("components")?.getObject("schemas") + + private fun visitDocument() { + val paths = document.getObject("paths") ?: return + + for ((path, pathItem) in paths.entries) { + if (includePrefixes.none { path.startsWith(it) } || pathItem !is JsonObject || pathItem.isEmpty()) continue + + for ((method, schema) in pathItem.entries) { + if (schema !is JsonObject) continue + val operationId = schema.getString("operationId") ?: continue + val title = schema.getString("x-portone-title") ?: continue + val description = schema.getString("x-portone-description") ?: continue + + val portoneError = schema.getObject("x-portone-error") ?: continue + val errorRef = portoneError.getString("\$ref") ?: continue + val error = exportType(parseRef(errorRef), ExportMode.ERROR_UNION, publicUse = false) + val errorCases = (schemas[parseRef(errorRef)]!!.spec as ObjectSpec).discriminator!!.mapping.map { it.second } + + val (body, bodyParams) = schema.getObject("requestBody") + ?.getObject("content") + ?.getObject("application/json") + ?.getObject("schema")?.jsonObject + ?.getString("\$ref")?.let { bodyRef -> + val body = exportType(parseRef(bodyRef), skipEmpty = true, publicUse = false) + val bodyParams = (schemas[parseRef(bodyRef)]!!.spec as ObjectSpec).properties.toList() + Pair(body, bodyParams) + } ?: Pair(null, listOf()) + + val parametersSchema = schema["parameters"]?.jsonArray + val pathParams = mutableListOf() + val queryParams = mutableListOf() + if (parametersSchema != null) { + for (parameter in parametersSchema) { + parameter as JsonObject + if (parameter.containsKey("\$ref")) throw RuntimeException() + val name = parameter.getString("name") ?: continue + if (name == "requestBody") continue + val `in` = parameter.getString("in") ?: continue + val parameterSchema = parameter.getObject("schema") ?: continue + val parameterDescription = parameter.getString("description") + val spec = visitSchema(parameterSchema, name, publicUse = true).withDescription(parameterDescription).let { + if (parameter.getBoolean("required") != true) it.asOptional + else it + } + if (`in` == "path") { + pathParams.add(spec) + } else if (`in` == "query") { + queryParams.add(spec) + } + } + } + + val response = schema.getObject("responses")!! + val success = response.getObject("200")!!.getObject("content")!! + .getObject("application/json")!!.getObject("schema")!!.getString("\$ref")!!.let { successRef -> + exportType(parseRef(successRef), skipEmpty = true) + } + val returns = response.getObject("200")?.getString("description") + + operations.add(Operation( + name = operationId, + path = path, + method = method, + pathParams = pathParams, + queryParams = queryParams, + bodyParams = bodyParams, + body = body, + success = success, + returns = returns, + error = error, + errorCases = errorCases, + title = title, + description = description, + )) + } + } + } + + private fun visitSchema(schema: JsonObject, name: String, exportMode: ExportMode? = null, skipEmpty: Boolean = false, publicUse: Boolean): Spec { + val title = schema.getString("x-portone-title") ?: schema.getString("title") + val description = schema.getString("x-portone-description") ?: schema.getString("description") + + val ref = schema.getString("\$ref") + if (ref != null) { + val asType = parseRef(ref) + return MinimalSpec( + name = name, + asType = exportType(asType, skipEmpty = skipEmpty), + title = title, + description = description, + ) + } + + val discriminator = schema.getObject("discriminator") + if (discriminator != null) { + val propertyName = discriminator.getString("propertyName") + val mapping = discriminator.getObject("mapping") + if (propertyName != null && mapping != null) { + val refs = mutableSetOf() + val map = mutableListOf>() + val children = mutableListOf() + for ((key, childRef) in mapping.entries) { + val childName = parseRef(childRef.string) + exportType(childName, exportMode = when (exportMode) { + ExportMode.NORMAL -> ExportMode.NORMAL + ExportMode.ERROR_UNION -> ExportMode.ERROR_CASE + ExportMode.ERROR_CASE -> throw RuntimeException() + null -> throw RuntimeException() + }, publicUse = publicUse) + refs.add(childName) + map.add(Pair(key, childName)) + + val child = schemas[childName]?.spec as? ObjectSpec + if (child != null) { + child.properties.removeAll { + it.name == propertyName + } + child.parents.add(name) + + children.add(child) + } + } + + val properties = + (children.getOrNull(0)?.properties ?: emptyList()).mapNotNull { prop -> + when (children.minOf { child -> + val matchingProp = child.properties.find { it.name == prop.name } + if (matchingProp != null && !matchingProp.asType.isNullable) + 2 // REQUIRED + else if (matchingProp != null) + 1 // OPTIONAL + else + 0 // NOT PRESENT + }) { + 2 -> prop + 1 -> prop.asOptional + 0 -> null + else -> throw RuntimeException() + } + } + + return ObjectSpec( + name = name, + asType = ClassName("io.portone.sdk.server.schemas", name), + discriminator = Discriminator( + propertyName = propertyName, + mapping = map, + ), + properties = properties.toMutableList(), + title = title, + description = description, + ) + } + } + + return when (val type = schema.getString("type")!!) { + "boolean" -> MinimalSpec( + name = name, + asType = Boolean::class.asTypeName(), + title = title, + description = description, + ) + "integer" -> MinimalSpec( + name = name, + asType = when (schema.getString("format")) { + "int32" -> Int::class.asTypeName() + "int64" -> Long::class.asTypeName() + null -> BigInteger::class.asTypeName() + else -> throw RuntimeException() + }, + title = title, + description = description, + ) + "number" -> MinimalSpec( + name = name, + asType = when (schema.getString("format")) { + "float" -> Float::class.asTypeName() + "double" -> Double::class.asTypeName() + else -> throw RuntimeException() + }, + title = title, + description = description, + ) + "string" -> { + val enum = schema.getArray("enum") + val xPortoneEnum = schema.getObject("x-portone-enum") + val format = schema.getString("format") + if (enum != null) { + EnumSpec( + name = name, + asType = ClassName("io.portone.sdk.server.schemas", name), + values = enum.map { EnumValue(it.string, xPortoneEnum?.getObject(it.string)?.getString("title"), xPortoneEnum?.getObject(it.string)?.getString("description")) }, + title = title, + description = description, + ) + } else if (format == "date-time") { + MinimalSpec( + name = name, + asType = Instant::class.asTypeName().copy(annotations = listOf(AnnotationSpec.builder(Serializable::class).addMember( + CodeBlock.of("%T::class", ClassName("io.portone.sdk.server.serializers", "InstantSerializer")) + ).build())), + title = title, + description = description, + ) + } else if (format == null) { + MinimalSpec( + name = name, + asType = String::class.asTypeName(), + title = title, + description = description, + ) + } else { + throw RuntimeException() + } + } + "array" -> { + val items = schema.getObject("items")!! + val spec = visitSchema(items, name, publicUse = publicUse) + MinimalSpec( + name = name, + asType = List::class.asTypeName().parameterizedBy(spec.asType), + title = title, + description = description, + ) + } + "object" -> { + val rawProperties = schema.getObject("properties") + if (rawProperties.isNullOrEmpty() && skipEmpty) { + MinimalSpec( + name = name, + asType = Unit::class.asTypeName(), + title = title, + description = description, + ) + } else if (rawProperties.isNullOrEmpty() && exportMode == null) { + MinimalSpec( + name = name, + asType = JsonObject::class.asTypeName(), + title = title, + description = description, + ) + } else { + val required = schema.getStringArray("required")?.toSet() ?: emptySet() + + val properties = mutableListOf() + for ((key, value) in rawProperties ?: emptyMap()) { + if (value is JsonObject) { + var spec = visitSchema(value, key, publicUse = publicUse) + if (!required.contains(key)) { + spec = spec.asOptional + } + properties.add(spec) + } + } + + ObjectSpec( + name = name, + asType = ClassName("io.portone.sdk.server.schemas", name), + title = title, + description = description, + properties = properties, + ) + } + } + + else -> throw RuntimeException("unknown type $type") + } + } + + private fun exportType(name: String, exportMode: ExportMode = ExportMode.NORMAL, skipEmpty: Boolean = false, publicUse: Boolean = true): TypeName { + if (resolvedNames.contains(name)) { + if (publicUse) { + schemas[name]?.let { it.isPublic = true } + } + return ClassName("io.portone.sdk.server.schemas", name) + } + resolvedNames.add(name) + val schema = documentSchemas?.getObject(name) ?: return ClassName("io.portone.sdk.server.schemas", name) + val spec = visitSchema(schema, name, exportMode = exportMode, skipEmpty = skipEmpty, publicUse = publicUse) + if (spec.asType != Unit::class.asTypeName()) { + schemas[name] = Schema(spec, publicUse, exportMode) + } + return spec.asType + } + + fun generateFiles() { + visitDocument() + + generateSchemaFiles() + generateClient() + } + + @OptIn(ExperimentalSerializationApi::class) + private fun generateSchemaFiles() { + for ((name, schema) in schemas) { + val spec = schema.spec + when (spec) { + is ObjectSpec -> { + if (spec.discriminator != null) { + FileSpec.builder("io.portone.sdk.server.schemas", name) + .addType( + TypeSpec.interfaceBuilder(name).addModifiers(KModifier.SEALED) + .also { builder -> spec.joinSeparateParagraph?.let { builder.addKdoc(it) } } + .also { if (!schema.isPublic) it.addModifiers(KModifier.INTERNAL) } + .addAnnotation(Serializable::class) + .addAnnotation(AnnotationSpec.builder(JsonClassDiscriminator::class).addMember("%S", spec.discriminator.propertyName).build()) + .addProperties(spec.properties.map { prop -> + PropertySpec.builder(prop.name, prop.asType) + .also { builder -> prop.joinSeparateParagraph?.let { builder.addKdoc(it) } } + .build() + }) + .build() + ) + .build().writeTo(targetDirectory) + } else if (spec.properties.isEmpty()) { + check(schema.exportMode != ExportMode.ERROR_CASE) + // 하위 클래스라 discriminator가 사라지니 속성이 남지 않은 이들 + + val parents = spec.parents.map { schemas[it]?.spec as ObjectSpec } + + FileSpec.builder("io.portone.sdk.server.schemas", name) + .addType( + TypeSpec.objectBuilder(name).addModifiers(KModifier.DATA) + .also { builder -> spec.joinSeparateParagraph?.let { builder.addKdoc(it) } } + .also { if (!schema.isPublic) it.addModifiers(KModifier.INTERNAL) } + .addAnnotation(Serializable::class) + .addSuperinterfaces(parents.map { it.asType }) + .build() + ) + .build().writeTo(targetDirectory) + } else { + val parents = spec.parents.map { schemas[it]?.spec as ObjectSpec } + val parentProperties = parents.flatMap { it.properties } + val serialName = parents.map { parent -> parent.discriminator!!.mapping.find { it.second == spec.name }!!.first }.also { serialNames -> + if (serialNames.any { it != serialNames.first() }) throw RuntimeException("serial name not all same") + }.firstOrNull() + + FileSpec.builder("io.portone.sdk.server.schemas", name) + .addType( + TypeSpec.classBuilder(name).addModifiers(KModifier.DATA) + .also { builder -> spec.joinSeparateParagraph?.let { builder.addKdoc(it) } } + .let { if (schema.isPublic) it else it.addModifiers(KModifier.INTERNAL) } + .addAnnotation(Serializable::class) + .let { builder -> + if (serialName != null) builder.addAnnotation(AnnotationSpec.builder(SerialName::class).addMember("%S", serialName).build()) + else builder + } + .addSuperinterfaces(parents.map { it.asType }) + .primaryConstructor( + FunSpec.constructorBuilder() + .addParameters(spec.properties.map { prop -> + ParameterSpec.builder(prop.name, prop.asType).let { builder -> + if (prop.asType.isNullable) + builder.defaultValue("null") + else + builder + }.build() + }) + .build() + ) + .addProperties(spec.properties.map { prop -> + PropertySpec.builder(prop.name, prop.asType).initializer(prop.name) + .also { builder -> + if (parentProperties.any { it.name == prop.name }) builder.addModifiers(KModifier.OVERRIDE) + } + .also { builder -> prop.joinSeparateParagraph?.let { builder.addKdoc(it) } } + .build() + }) + .build() + ) + .build().writeTo(targetDirectory) + + if (schema.exportMode == ExportMode.ERROR_CASE) { + check(spec.name.endsWith("Error")) + val exceptionName = spec.name.substring(0, spec.name.length - "Error".length) + "Exception" + FileSpec.builder("io.portone.sdk.server.schemas", exceptionName) + .addType( + TypeSpec.classBuilder(exceptionName) + .superclass(Exception::class.java.asTypeName()) + .addSuperclassConstructorParameter("message") + .also { builder -> spec.joinSeparateParagraph?.let { builder.addKdoc(it) } } + .primaryConstructor( + FunSpec.constructorBuilder() + .addParameters(spec.properties.map { prop -> + ParameterSpec.builder(prop.name, prop.asType).also { builder -> + if (prop.asType.isNullable) builder.defaultValue("null") + }.build() + }) + .build() + ) + .addProperties(spec.properties.filter { it.name != "message" }.map { prop -> + PropertySpec.builder(prop.name, prop.asType).initializer(prop.name) + .also { builder -> prop.joinSeparateParagraph?.let { builder.addKdoc(it) } } + .build() + }) + .build() + ) + .build().writeTo(targetDirectory) + } + } + } + is EnumSpec -> { + FileSpec.builder("io.portone.sdk.server.schemas", name) + .addType( + TypeSpec.enumBuilder(name) + .addAnnotation(Serializable::class) + .also { builder -> spec.joinSeparateParagraph?.let { builder.addKdoc(it) } } + .also { if (!schema.isPublic) it.addModifiers(KModifier.INTERNAL) } + .also { builder -> builder.enumConstants.putAll(spec.values.map { value -> + Pair(value.name, TypeSpec.anonymousClassBuilder().also { builder -> value.joinSeparateParagraph?.let { builder.addKdoc(it) }}.build()) + }) } + .build() + ) + .build().writeTo(targetDirectory) + } + else -> throw RuntimeException() + } + + } + } + + private fun generateClient() { + val clientClass = ClassName("io.portone.sdk.server", "PortOneApi") + val httpClientClass = ClassName("io.ktor.client", "HttpClient") + val okHttpClass = ClassName("io.ktor.client.engine.okhttp", "OkHttp") + val jsonClass = ClassName("kotlinx.serialization.json", "Json") + + val classBuilder = TypeSpec.classBuilder(clientClass) + .addSuperinterface(Closeable::class.asTypeName()) + .primaryConstructor( + FunSpec.constructorBuilder() + .addParameter("apiSecret", String::class.asTypeName()) + .addParameter(ParameterSpec.builder("storeId", String::class.asTypeName().copy(nullable = true)).defaultValue("null").build()) + .build() + ) + .addProperty(PropertySpec.builder("apiSecret", String::class.asTypeName()).initializer("apiSecret").build()) + .addProperty(PropertySpec.builder("storeId", String::class.asTypeName().copy(nullable = true)).initializer("storeId").build()) + .addProperty(PropertySpec.builder("client", httpClientClass, KModifier.PRIVATE).initializer("%T(%T)", httpClientClass, okHttpClass).build()) + .addProperty(PropertySpec.builder("json", jsonClass, KModifier.PRIVATE).initializer("%T { ignoreUnknownKeys = true }", jsonClass).build()) + .addFunction(FunSpec.builder("close").addModifiers(KModifier.OVERRIDE).addStatement("client.close()").build()) + + for (operation in operations) { + val funBuilder = FunSpec.builder(operation.name).addModifiers(KModifier.SUSPEND) + + if (operation.returns != null) { + funBuilder.returns(returnType = operation.success, kdoc = CodeBlock.of(operation.returns)) + } else { + funBuilder.returns(returnType = operation.success) + } + + operation.joinSeparateParagraph?.let { funBuilder.addKdoc(it) } + + var firstErrorCase = true + for (errorCase in operation.errorCases) { + val errorSpec = schemas[errorCase]!!.spec as ObjectSpec + check(errorSpec.title?.contains('\n') != true) { errorSpec.title ?: "" } + check(errorSpec.description?.contains('\n') != true) { errorSpec.description ?: "" } + errorSpec.joinSingleLine + ?.let { + if (firstErrorCase) funBuilder.addKdoc("\n\n") + firstErrorCase = false + funBuilder.addKdoc("@throws $errorCase $it\n") + } + } + if (firstErrorCase) funBuilder.addKdoc("\n\n") + firstErrorCase = false + funBuilder.addKdoc("@throws UnrecognizedException API 응답이 알 수 없는 형식인 경우\n") + + + for (param in operation.pathParams) { + val paramBuilder = ParameterSpec.builder(param.name, param.asType.copy(annotations = param.asType.annotations.filterNot { (it.typeName as? ClassName)?.simpleName == "Serializable" })) + if (param.asType.isNullable) { + paramBuilder.defaultValue("null") + } + param.joinSingleLine?.let { paramBuilder.addKdoc(it) } + funBuilder.addParameter(paramBuilder.build()) + } + + for (param in operation.queryParams) { + if (param.name == "storeId") continue + val paramBuilder = ParameterSpec.builder(param.name, param.asType.copy(annotations = param.asType.annotations.filterNot { (it.typeName as? ClassName)?.simpleName == "Serializable" })) + if (param.asType.isNullable) { + paramBuilder.defaultValue("null") + } + param.joinSingleLine?.let { paramBuilder.addKdoc(it) } + funBuilder.addParameter(paramBuilder.build()) + } + + for (param in operation.bodyParams) { + if (param.name == "storeId") continue + val paramBuilder = ParameterSpec.builder(param.name, param.asType.copy(annotations = param.asType.annotations.filterNot { (it.typeName as? ClassName)?.simpleName == "Serializable" })) + if (param.asType.isNullable) { + paramBuilder.defaultValue("null") + } + param.joinSingleLine?.let { paramBuilder.addKdoc(it) } + funBuilder.addParameter(paramBuilder.build()) + } + + var pathPrefix = "https://api.portone.io" + var stillPrefix = true + val manualPathList = mutableListOf() + for (pathSegment in operation.path.split("/").dropWhile { it.isEmpty() }) { + if (!pathSegment.startsWith('{')) { + if (stillPrefix) { + pathPrefix += '/' + pathSegment + } else { + manualPathList.add(pathSegment) + } + } else { + manualPathList.add(pathSegment) + stillPrefix = false + } + } + + check(operation.method.uppercase() in listOf("GET", "POST", "PUT", "DELETE", "PATCH")) + + funBuilder.beginControlFlow("""val httpResponse = client.${operation.method.lowercase()}("${pathPrefix}")""") + + if (manualPathList.isNotEmpty() || operation.queryParams.isNotEmpty() || operation.bodyParams.isNotEmpty() && operation.method.uppercase() in listOf("GET", "DELETE")) { + funBuilder.beginControlFlow("url") + if (manualPathList.isNotEmpty()) { + funBuilder.addStatement("appendPathSegments(${manualPathList.joinToString(", ") { if (it.startsWith('{')) it.substring(1, it.length - 1) else """"$it"""" }})") + } + if (operation.queryParams.isNotEmpty()) { + funBuilder.addStatement(operation.queryParams.joinToString("\n") { + if (it.asType.isNullable) { + """if (${it.name} != null) parameters.append("${it.name}", ${it.name})""" + } else { + """parameters.append("${it.name}", ${it.name})""" + } + }) + } + if (operation.bodyParams.isNotEmpty() && operation.method.uppercase() in listOf("GET", "DELETE")) { + funBuilder.addStatement("""parameters.append("requestBody", this@PortOneApi.json.encodeToString(%T(${operation.bodyParams.joinToString(", ") { + "${it.name} = ${it.name}" + }})))""", operation.body!!) + } + funBuilder.endControlFlow() + } + + funBuilder.beginControlFlow("headers") + .addStatement("""append(HttpHeaders.Authorization, "PortOne·${'$'}{this@PortOneApi.apiSecret}")""") + .endControlFlow() + funBuilder.addStatement("contentType(ContentType.Application.Json)") + funBuilder.addStatement("accept(ContentType.Application.Json)") + + if (operation.method.uppercase() in listOf("POST", "PUT", "PATCH")) { + if (operation.bodyParams.isNotEmpty()) { + funBuilder.addStatement("setBody(this@PortOneApi.json.encodeToString(%T(${operation.bodyParams.joinToString(", ") { + "${it.name} = ${it.name}" + }})))", operation.body!!) + } else { + funBuilder.addStatement("""setBody("{}")""") + } + } + + funBuilder.endControlFlow() + + funBuilder.beginControlFlow("if (httpResponse.status.value !in 200..299)") + .addStatement("val httpBody = httpResponse.body()") + + check(operation.errorCases.isNotEmpty()) + funBuilder.beginControlFlow("val httpBodyDecoded = try") + .addStatement("this.json.decodeFromString<%T>(httpBody)", operation.error) + .endControlFlow() + .beginControlFlow("catch (_: Exception)") + .addStatement("""throw UnrecognizedException("Unrecognized API error: ${'$'}httpBody")""") + .endControlFlow() + .beginControlFlow("when (httpBodyDecoded)", operation.error) + + for (errorCase in operation.errorCases) { + val exceptionName = errorCase.substring(0, errorCase.length - "Error".length) + "Exception" + val properties = (schemas[errorCase]!!.spec as ObjectSpec).properties + funBuilder.addStatement("is %T -> throw %T(${properties.joinToString(", ") { + "${it.name} = httpBodyDecoded.${it.name}" + }})", ClassName("io.portone.sdk.server.schemas", errorCase), ClassName("io.portone.sdk.server.schemas", exceptionName)) + } + + funBuilder.endControlFlow() + .endControlFlow() + + funBuilder.addStatement("val httpBody = httpResponse.body()") + funBuilder.beginControlFlow("return try") + .addStatement("this.json.decodeFromString<%T>(httpBody)", operation.success) + .endControlFlow() + .beginControlFlow("catch (_: Exception)") + .addStatement("""throw UnrecognizedException("Unrecognized API response: ${'$'}httpBody")""") + .endControlFlow() + + classBuilder.addFunction(funBuilder.build()) + } + + FileSpec.builder(clientClass) + .addImport("io.ktor.client.request", "get", "post", "delete", "patch", "headers", "accept", "setBody") + .addImport("io.ktor.client.call", "body") + .addImport("io.ktor.http", "appendPathSegments", "HttpHeaders", "ContentType", "contentType") + .addImport("kotlinx.serialization", "encodeToString") + .addImport("kotlinx.serialization.json", "Json") + .addType(classBuilder.build()) + .build() + .writeTo(targetDirectory) + } +} + +val JsonElement.string: String + get() { + val primitive = jsonPrimitive + if (!primitive.isString) throw IllegalArgumentException("Element is not a string") + return primitive.content + } + +val JsonElement.boolean: Boolean + get() { + val primitive = jsonPrimitive + if (primitive.isString) throw IllegalArgumentException("Element is not a boolean") + return when (primitive.content) { + "true" -> true + "false" -> false + else -> throw IllegalArgumentException("Element is not a boolean") + } + } + +fun JsonObject.getObject(name: String): JsonObject? = get(name)?.jsonObject + +fun JsonObject.getArray(name: String): JsonArray? = get(name)?.jsonArray + +fun JsonObject.getStringArray(name: String): List? = getArray(name)?.map { it.string } + +fun JsonObject.getString(name: String): String? = get(name)?.string + +fun JsonObject.getBoolean(name: String): Boolean? = get(name)?.boolean diff --git a/common/.editorconfig b/common/.editorconfig new file mode 100644 index 0000000..af61523 --- /dev/null +++ b/common/.editorconfig @@ -0,0 +1,2 @@ +[build/generated/**/*] +ktlint = disabled diff --git a/common/api/common.api b/common/api/common.api index b77a14d..64ee016 100644 --- a/common/api/common.api +++ b/common/api/common.api @@ -1,3 +1,6648 @@ +public final class io/portone/sdk/server/PortOneApi : java/io/Closeable { + public fun (Ljava/lang/String;Ljava/lang/String;)V + public synthetic fun (Ljava/lang/String;Ljava/lang/String;ILkotlin/jvm/internal/DefaultConstructorMarker;)V + public final fun applyEscrowLogistics (Ljava/lang/String;Lio/portone/sdk/server/schemas/PaymentEscrowSenderInput;Lio/portone/sdk/server/schemas/PaymentEscrowReceiverInput;Lio/portone/sdk/server/schemas/PaymentLogistics;Ljava/lang/Boolean;Ljava/util/List;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; + public static synthetic fun applyEscrowLogistics$default (Lio/portone/sdk/server/PortOneApi;Ljava/lang/String;Lio/portone/sdk/server/schemas/PaymentEscrowSenderInput;Lio/portone/sdk/server/schemas/PaymentEscrowReceiverInput;Lio/portone/sdk/server/schemas/PaymentLogistics;Ljava/lang/Boolean;Ljava/util/List;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object; + public final fun cancelCashReceiptByPaymentId (Ljava/lang/String;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; + public final fun cancelPayment (Ljava/lang/String;Ljava/lang/Long;Ljava/lang/Long;Ljava/lang/Long;Ljava/lang/String;Lio/portone/sdk/server/schemas/CancelRequester;Ljava/lang/Long;Lio/portone/sdk/server/schemas/CancelPaymentBodyRefundAccount;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; + public static synthetic fun cancelPayment$default (Lio/portone/sdk/server/PortOneApi;Ljava/lang/String;Ljava/lang/Long;Ljava/lang/Long;Ljava/lang/Long;Ljava/lang/String;Lio/portone/sdk/server/schemas/CancelRequester;Ljava/lang/Long;Lio/portone/sdk/server/schemas/CancelPaymentBodyRefundAccount;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object; + public fun close ()V + public final fun closeVirtualAccount (Ljava/lang/String;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; + public final fun confirmEscrow (Ljava/lang/String;Ljava/lang/Boolean;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; + public static synthetic fun confirmEscrow$default (Lio/portone/sdk/server/PortOneApi;Ljava/lang/String;Ljava/lang/Boolean;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object; + public final fun confirmIdentityVerification (Ljava/lang/String;Ljava/lang/String;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; + public static synthetic fun confirmIdentityVerification$default (Lio/portone/sdk/server/PortOneApi;Ljava/lang/String;Ljava/lang/String;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object; + public final fun createPaymentSchedule (Ljava/lang/String;Lio/portone/sdk/server/schemas/BillingKeyPaymentInput;Ljava/time/Instant;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; + public final fun deleteBillingKey (Ljava/lang/String;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; + public final fun getAllPaymentsByCursor (Ljava/time/Instant;Ljava/time/Instant;Ljava/lang/String;Ljava/lang/Integer;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; + public static synthetic fun getAllPaymentsByCursor$default (Lio/portone/sdk/server/PortOneApi;Ljava/time/Instant;Ljava/time/Instant;Ljava/lang/String;Ljava/lang/Integer;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object; + public final fun getApiSecret ()Ljava/lang/String; + public final fun getBillingKeyInfo (Ljava/lang/String;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; + public final fun getBillingKeyInfos (Lio/portone/sdk/server/schemas/PageInput;Lio/portone/sdk/server/schemas/BillingKeySortInput;Lio/portone/sdk/server/schemas/BillingKeyFilterInput;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; + public static synthetic fun getBillingKeyInfos$default (Lio/portone/sdk/server/PortOneApi;Lio/portone/sdk/server/schemas/PageInput;Lio/portone/sdk/server/schemas/BillingKeySortInput;Lio/portone/sdk/server/schemas/BillingKeyFilterInput;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object; + public final fun getCashReceiptByPaymentId (Ljava/lang/String;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; + public final fun getIdentityVerification (Ljava/lang/String;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; + public final fun getKakaopayPaymentOrder (Ljava/lang/String;Ljava/lang/String;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; + public final fun getPayment (Ljava/lang/String;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; + public final fun getPaymentSchedule (Ljava/lang/String;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; + public final fun getPaymentSchedules (Lio/portone/sdk/server/schemas/PageInput;Lio/portone/sdk/server/schemas/PaymentScheduleSortInput;Lio/portone/sdk/server/schemas/PaymentScheduleFilterInput;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; + public static synthetic fun getPaymentSchedules$default (Lio/portone/sdk/server/PortOneApi;Lio/portone/sdk/server/schemas/PageInput;Lio/portone/sdk/server/schemas/PaymentScheduleSortInput;Lio/portone/sdk/server/schemas/PaymentScheduleFilterInput;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object; + public final fun getPayments (Lio/portone/sdk/server/schemas/PageInput;Lio/portone/sdk/server/schemas/PaymentFilterInput;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; + public static synthetic fun getPayments$default (Lio/portone/sdk/server/PortOneApi;Lio/portone/sdk/server/schemas/PageInput;Lio/portone/sdk/server/schemas/PaymentFilterInput;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object; + public final fun getStoreId ()Ljava/lang/String; + public final fun issueBillingKey (Lio/portone/sdk/server/schemas/InstantBillingKeyPaymentMethodInput;Ljava/lang/String;Ljava/lang/String;Lio/portone/sdk/server/schemas/CustomerInput;Ljava/lang/String;Lkotlinx/serialization/json/JsonObject;Ljava/util/List;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; + public static synthetic fun issueBillingKey$default (Lio/portone/sdk/server/PortOneApi;Lio/portone/sdk/server/schemas/InstantBillingKeyPaymentMethodInput;Ljava/lang/String;Ljava/lang/String;Lio/portone/sdk/server/schemas/CustomerInput;Ljava/lang/String;Lkotlinx/serialization/json/JsonObject;Ljava/util/List;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object; + public final fun issueCashReceipt (Ljava/lang/String;Ljava/lang/String;Lio/portone/sdk/server/schemas/CashReceiptType;Ljava/lang/String;Lio/portone/sdk/server/schemas/Currency;Lio/portone/sdk/server/schemas/PaymentAmountInput;Lio/portone/sdk/server/schemas/PaymentProductType;Lio/portone/sdk/server/schemas/IssueCashReceiptCustomerInput;Ljava/time/Instant;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; + public static synthetic fun issueCashReceipt$default (Lio/portone/sdk/server/PortOneApi;Ljava/lang/String;Ljava/lang/String;Lio/portone/sdk/server/schemas/CashReceiptType;Ljava/lang/String;Lio/portone/sdk/server/schemas/Currency;Lio/portone/sdk/server/schemas/PaymentAmountInput;Lio/portone/sdk/server/schemas/PaymentProductType;Lio/portone/sdk/server/schemas/IssueCashReceiptCustomerInput;Ljava/time/Instant;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object; + public final fun modifyEscrowLogistics (Ljava/lang/String;Lio/portone/sdk/server/schemas/PaymentEscrowSenderInput;Lio/portone/sdk/server/schemas/PaymentEscrowReceiverInput;Lio/portone/sdk/server/schemas/PaymentLogistics;Ljava/lang/Boolean;Ljava/util/List;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; + public static synthetic fun modifyEscrowLogistics$default (Lio/portone/sdk/server/PortOneApi;Ljava/lang/String;Lio/portone/sdk/server/schemas/PaymentEscrowSenderInput;Lio/portone/sdk/server/schemas/PaymentEscrowReceiverInput;Lio/portone/sdk/server/schemas/PaymentLogistics;Ljava/lang/Boolean;Ljava/util/List;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object; + public final fun payInstantly (Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Lio/portone/sdk/server/schemas/InstantPaymentMethodInput;Ljava/lang/String;Ljava/lang/Boolean;Ljava/lang/Boolean;Lio/portone/sdk/server/schemas/CustomerInput;Ljava/lang/String;Lio/portone/sdk/server/schemas/PaymentAmountInput;Lio/portone/sdk/server/schemas/Currency;Lio/portone/sdk/server/schemas/Country;Ljava/util/List;Ljava/util/List;Ljava/lang/Integer;Lio/portone/sdk/server/schemas/PaymentProductType;Lio/portone/sdk/server/schemas/SeparatedAddressInput;Ljava/lang/String;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; + public static synthetic fun payInstantly$default (Lio/portone/sdk/server/PortOneApi;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Lio/portone/sdk/server/schemas/InstantPaymentMethodInput;Ljava/lang/String;Ljava/lang/Boolean;Ljava/lang/Boolean;Lio/portone/sdk/server/schemas/CustomerInput;Ljava/lang/String;Lio/portone/sdk/server/schemas/PaymentAmountInput;Lio/portone/sdk/server/schemas/Currency;Lio/portone/sdk/server/schemas/Country;Ljava/util/List;Ljava/util/List;Ljava/lang/Integer;Lio/portone/sdk/server/schemas/PaymentProductType;Lio/portone/sdk/server/schemas/SeparatedAddressInput;Ljava/lang/String;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object; + public final fun payWithBillingKey (Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Lio/portone/sdk/server/schemas/CustomerInput;Ljava/lang/String;Lio/portone/sdk/server/schemas/PaymentAmountInput;Lio/portone/sdk/server/schemas/Currency;Ljava/lang/Integer;Ljava/lang/Boolean;Ljava/lang/Boolean;Lio/portone/sdk/server/schemas/CashReceiptInput;Lio/portone/sdk/server/schemas/Country;Ljava/util/List;Ljava/util/List;Ljava/lang/Integer;Lio/portone/sdk/server/schemas/PaymentProductType;Lio/portone/sdk/server/schemas/SeparatedAddressInput;Ljava/lang/String;Lkotlinx/serialization/json/JsonObject;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; + public static synthetic fun payWithBillingKey$default (Lio/portone/sdk/server/PortOneApi;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Lio/portone/sdk/server/schemas/CustomerInput;Ljava/lang/String;Lio/portone/sdk/server/schemas/PaymentAmountInput;Lio/portone/sdk/server/schemas/Currency;Ljava/lang/Integer;Ljava/lang/Boolean;Ljava/lang/Boolean;Lio/portone/sdk/server/schemas/CashReceiptInput;Lio/portone/sdk/server/schemas/Country;Ljava/util/List;Ljava/util/List;Ljava/lang/Integer;Lio/portone/sdk/server/schemas/PaymentProductType;Lio/portone/sdk/server/schemas/SeparatedAddressInput;Ljava/lang/String;Lkotlinx/serialization/json/JsonObject;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object; + public final fun preRegisterPayment (Ljava/lang/String;Ljava/lang/Long;Ljava/lang/Long;Lio/portone/sdk/server/schemas/Currency;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; + public static synthetic fun preRegisterPayment$default (Lio/portone/sdk/server/PortOneApi;Ljava/lang/String;Ljava/lang/Long;Ljava/lang/Long;Lio/portone/sdk/server/schemas/Currency;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object; + public final fun registerStoreReceipt (Ljava/lang/String;Ljava/util/List;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; + public final fun resendIdentityVerification (Ljava/lang/String;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; + public final fun resendWebhook (Ljava/lang/String;Ljava/lang/String;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; + public static synthetic fun resendWebhook$default (Lio/portone/sdk/server/PortOneApi;Ljava/lang/String;Ljava/lang/String;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object; + public final fun revokePaymentSchedules (Ljava/lang/String;Ljava/util/List;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; + public static synthetic fun revokePaymentSchedules$default (Lio/portone/sdk/server/PortOneApi;Ljava/lang/String;Ljava/util/List;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object; + public final fun sendIdentityVerification (Ljava/lang/String;Ljava/lang/String;Lio/portone/sdk/server/schemas/SendIdentityVerificationBodyCustomer;Ljava/lang/String;Lkotlinx/serialization/json/JsonObject;Lio/portone/sdk/server/schemas/IdentityVerificationOperator;Lio/portone/sdk/server/schemas/IdentityVerificationMethod;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; + public static synthetic fun sendIdentityVerification$default (Lio/portone/sdk/server/PortOneApi;Ljava/lang/String;Ljava/lang/String;Lio/portone/sdk/server/schemas/SendIdentityVerificationBodyCustomer;Ljava/lang/String;Lkotlinx/serialization/json/JsonObject;Lio/portone/sdk/server/schemas/IdentityVerificationOperator;Lio/portone/sdk/server/schemas/IdentityVerificationMethod;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object; +} + +public final class io/portone/sdk/server/UnrecognizedException : java/lang/Exception { + public static final field Companion Lio/portone/sdk/server/UnrecognizedException$Companion; +} + +public final class io/portone/sdk/server/UnrecognizedException$Companion { +} + +public abstract interface class io/portone/sdk/server/schemas/Address { + public static final field Companion Lio/portone/sdk/server/schemas/Address$Companion; + public abstract fun getOneLine ()Ljava/lang/String; +} + +public final class io/portone/sdk/server/schemas/Address$Companion { + public final fun serializer ()Lkotlinx/serialization/KSerializer; +} + +public final class io/portone/sdk/server/schemas/AlreadyPaidException : java/lang/Exception { + public fun ()V + public fun (Ljava/lang/String;)V + public synthetic fun (Ljava/lang/String;ILkotlin/jvm/internal/DefaultConstructorMarker;)V +} + +public final class io/portone/sdk/server/schemas/AlreadyPaidOrWaitingException : java/lang/Exception { + public fun ()V + public fun (Ljava/lang/String;)V + public synthetic fun (Ljava/lang/String;ILkotlin/jvm/internal/DefaultConstructorMarker;)V +} + +public final class io/portone/sdk/server/schemas/ApplyEscrowLogisticsResponse { + public static final field Companion Lio/portone/sdk/server/schemas/ApplyEscrowLogisticsResponse$Companion; + public fun (Ljava/lang/String;Ljava/time/Instant;Ljava/time/Instant;)V + public final fun component1 ()Ljava/lang/String; + public final fun component2 ()Ljava/time/Instant; + public final fun component3 ()Ljava/time/Instant; + public final fun copy (Ljava/lang/String;Ljava/time/Instant;Ljava/time/Instant;)Lio/portone/sdk/server/schemas/ApplyEscrowLogisticsResponse; + public static synthetic fun copy$default (Lio/portone/sdk/server/schemas/ApplyEscrowLogisticsResponse;Ljava/lang/String;Ljava/time/Instant;Ljava/time/Instant;ILjava/lang/Object;)Lio/portone/sdk/server/schemas/ApplyEscrowLogisticsResponse; + public fun equals (Ljava/lang/Object;)Z + public final fun getAppliedAt ()Ljava/time/Instant; + public final fun getInvoiceNumber ()Ljava/lang/String; + public final fun getSentAt ()Ljava/time/Instant; + public fun hashCode ()I + public fun toString ()Ljava/lang/String; +} + +public synthetic class io/portone/sdk/server/schemas/ApplyEscrowLogisticsResponse$$serializer : kotlinx/serialization/internal/GeneratedSerializer { + public static final field INSTANCE Lio/portone/sdk/server/schemas/ApplyEscrowLogisticsResponse$$serializer; + public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; + public final fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Lio/portone/sdk/server/schemas/ApplyEscrowLogisticsResponse; + public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; + public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; + public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lio/portone/sdk/server/schemas/ApplyEscrowLogisticsResponse;)V + public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; +} + +public final class io/portone/sdk/server/schemas/ApplyEscrowLogisticsResponse$Companion { + public final fun serializer ()Lkotlinx/serialization/KSerializer; +} + +public final class io/portone/sdk/server/schemas/Bank : java/lang/Enum { + public static final field BANK_OF_AMERICA Lio/portone/sdk/server/schemas/Bank; + public static final field BANK_OF_CHINA Lio/portone/sdk/server/schemas/Bank; + public static final field BANK_OF_KOREA Lio/portone/sdk/server/schemas/Bank; + public static final field BNK_SECURITIES Lio/portone/sdk/server/schemas/Bank; + public static final field BNP_PARIBAS Lio/portone/sdk/server/schemas/Bank; + public static final field BOCOM Lio/portone/sdk/server/schemas/Bank; + public static final field BOOKOOK_SECURITIES Lio/portone/sdk/server/schemas/Bank; + public static final field BUSAN Lio/portone/sdk/server/schemas/Bank; + public static final field CAPE_SECURITIES Lio/portone/sdk/server/schemas/Bank; + public static final field CCB Lio/portone/sdk/server/schemas/Bank; + public static final field CITI Lio/portone/sdk/server/schemas/Bank; + public static final field Companion Lio/portone/sdk/server/schemas/Bank$Companion; + public static final field DAEGU Lio/portone/sdk/server/schemas/Bank; + public static final field DAISHIN_SECURITIES Lio/portone/sdk/server/schemas/Bank; + public static final field DAOL_SECURITIES Lio/portone/sdk/server/schemas/Bank; + public static final field DB_SECURITIES Lio/portone/sdk/server/schemas/Bank; + public static final field DEUTSCHE Lio/portone/sdk/server/schemas/Bank; + public static final field EBEST_SECURITIES Lio/portone/sdk/server/schemas/Bank; + public static final field EUGENE_SECURITIES Lio/portone/sdk/server/schemas/Bank; + public static final field HANA Lio/portone/sdk/server/schemas/Bank; + public static final field HANA_SECURITIES Lio/portone/sdk/server/schemas/Bank; + public static final field HANHWA_SECURITIES Lio/portone/sdk/server/schemas/Bank; + public static final field HANYANG_SECURITIES Lio/portone/sdk/server/schemas/Bank; + public static final field HI_SECURITIES Lio/portone/sdk/server/schemas/Bank; + public static final field HSBC Lio/portone/sdk/server/schemas/Bank; + public static final field HYUNDAI_MOTOR_SECURITIES Lio/portone/sdk/server/schemas/Bank; + public static final field IBK Lio/portone/sdk/server/schemas/Bank; + public static final field IBK_SECURITIES Lio/portone/sdk/server/schemas/Bank; + public static final field ICBC Lio/portone/sdk/server/schemas/Bank; + public static final field JEJU Lio/portone/sdk/server/schemas/Bank; + public static final field JEONBUK Lio/portone/sdk/server/schemas/Bank; + public static final field JPMC Lio/portone/sdk/server/schemas/Bank; + public static final field KAKAO Lio/portone/sdk/server/schemas/Bank; + public static final field KAKAO_PAY_SECURITIES Lio/portone/sdk/server/schemas/Bank; + public static final field KB_SECURITIES Lio/portone/sdk/server/schemas/Bank; + public static final field KCIS Lio/portone/sdk/server/schemas/Bank; + public static final field KDB Lio/portone/sdk/server/schemas/Bank; + public static final field KEXIM Lio/portone/sdk/server/schemas/Bank; + public static final field KFCC Lio/portone/sdk/server/schemas/Bank; + public static final field KIBO Lio/portone/sdk/server/schemas/Bank; + public static final field KIWOOM_SECURITIES Lio/portone/sdk/server/schemas/Bank; + public static final field KODIT Lio/portone/sdk/server/schemas/Bank; + public static final field KOOKMIN Lio/portone/sdk/server/schemas/Bank; + public static final field KOREA_FOSS_SECURITIES Lio/portone/sdk/server/schemas/Bank; + public static final field KOREA_SECURITIES Lio/portone/sdk/server/schemas/Bank; + public static final field KOREA_SECURITIES_FINANCE Lio/portone/sdk/server/schemas/Bank; + public static final field KWANGJU Lio/portone/sdk/server/schemas/Bank; + public static final field KYOBO_SECURITIES Lio/portone/sdk/server/schemas/Bank; + public static final field KYONGNAM Lio/portone/sdk/server/schemas/Bank; + public static final field K_BANK Lio/portone/sdk/server/schemas/Bank; + public static final field LEADING_SECURITIES Lio/portone/sdk/server/schemas/Bank; + public static final field LOCAL_NONGHYUP Lio/portone/sdk/server/schemas/Bank; + public static final field MERITZ_SECURITIES Lio/portone/sdk/server/schemas/Bank; + public static final field MIRAE_ASSET_SECURITIES Lio/portone/sdk/server/schemas/Bank; + public static final field MISC_FOREIGN Lio/portone/sdk/server/schemas/Bank; + public static final field MIZUHO Lio/portone/sdk/server/schemas/Bank; + public static final field MORGAN_STANLEY Lio/portone/sdk/server/schemas/Bank; + public static final field MUFG Lio/portone/sdk/server/schemas/Bank; + public static final field NFCF Lio/portone/sdk/server/schemas/Bank; + public static final field NH_SECURITIES Lio/portone/sdk/server/schemas/Bank; + public static final field NONGHYUP Lio/portone/sdk/server/schemas/Bank; + public static final field POST Lio/portone/sdk/server/schemas/Bank; + public static final field SAMSUNG_SECURITIES Lio/portone/sdk/server/schemas/Bank; + public static final field SANGSANGIN_SECURITIES Lio/portone/sdk/server/schemas/Bank; + public static final field SAVINGS_BANK Lio/portone/sdk/server/schemas/Bank; + public static final field SGI Lio/portone/sdk/server/schemas/Bank; + public static final field SHINHAN Lio/portone/sdk/server/schemas/Bank; + public static final field SHINHAN_SECURITIES Lio/portone/sdk/server/schemas/Bank; + public static final field SHINHYUP Lio/portone/sdk/server/schemas/Bank; + public static final field SHINYOUNG_SECURITIES Lio/portone/sdk/server/schemas/Bank; + public static final field SK_SECURITIES Lio/portone/sdk/server/schemas/Bank; + public static final field STANDARD_CHARTERED Lio/portone/sdk/server/schemas/Bank; + public static final field SUHYUP Lio/portone/sdk/server/schemas/Bank; + public static final field TOSS Lio/portone/sdk/server/schemas/Bank; + public static final field TOSS_SECURITIES Lio/portone/sdk/server/schemas/Bank; + public static final field UOB Lio/portone/sdk/server/schemas/Bank; + public static final field WOORI Lio/portone/sdk/server/schemas/Bank; + public static final field WOORI_INVESTMENT_BANK Lio/portone/sdk/server/schemas/Bank; + public static final field YUANTA_SECURITIES Lio/portone/sdk/server/schemas/Bank; + public static fun getEntries ()Lkotlin/enums/EnumEntries; + public static fun valueOf (Ljava/lang/String;)Lio/portone/sdk/server/schemas/Bank; + public static fun values ()[Lio/portone/sdk/server/schemas/Bank; +} + +public final class io/portone/sdk/server/schemas/Bank$Companion { + public final fun serializer ()Lkotlinx/serialization/KSerializer; +} + +public final class io/portone/sdk/server/schemas/BeforeRegisteredPaymentEscrow : io/portone/sdk/server/schemas/PaymentEscrow { + public static final field INSTANCE Lio/portone/sdk/server/schemas/BeforeRegisteredPaymentEscrow; + public fun equals (Ljava/lang/Object;)Z + public fun hashCode ()I + public final fun serializer ()Lkotlinx/serialization/KSerializer; + public fun toString ()Ljava/lang/String; +} + +public final class io/portone/sdk/server/schemas/BillingKeyAlreadyDeletedException : java/lang/Exception { + public fun ()V + public fun (Ljava/lang/String;)V + public synthetic fun (Ljava/lang/String;ILkotlin/jvm/internal/DefaultConstructorMarker;)V +} + +public final class io/portone/sdk/server/schemas/BillingKeyFailure { + public static final field Companion Lio/portone/sdk/server/schemas/BillingKeyFailure$Companion; + public fun (Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/time/Instant;)V + public synthetic fun (Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/time/Instant;ILkotlin/jvm/internal/DefaultConstructorMarker;)V + public final fun component1 ()Ljava/lang/String; + public final fun component2 ()Ljava/lang/String; + public final fun component3 ()Ljava/lang/String; + public final fun component4 ()Ljava/time/Instant; + public final fun copy (Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/time/Instant;)Lio/portone/sdk/server/schemas/BillingKeyFailure; + public static synthetic fun copy$default (Lio/portone/sdk/server/schemas/BillingKeyFailure;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/time/Instant;ILjava/lang/Object;)Lio/portone/sdk/server/schemas/BillingKeyFailure; + public fun equals (Ljava/lang/Object;)Z + public final fun getFailedAt ()Ljava/time/Instant; + public final fun getMessage ()Ljava/lang/String; + public final fun getPgCode ()Ljava/lang/String; + public final fun getPgMessage ()Ljava/lang/String; + public fun hashCode ()I + public fun toString ()Ljava/lang/String; +} + +public synthetic class io/portone/sdk/server/schemas/BillingKeyFailure$$serializer : kotlinx/serialization/internal/GeneratedSerializer { + public static final field INSTANCE Lio/portone/sdk/server/schemas/BillingKeyFailure$$serializer; + public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; + public final fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Lio/portone/sdk/server/schemas/BillingKeyFailure; + public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; + public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; + public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lio/portone/sdk/server/schemas/BillingKeyFailure;)V + public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; +} + +public final class io/portone/sdk/server/schemas/BillingKeyFailure$Companion { + public final fun serializer ()Lkotlinx/serialization/KSerializer; +} + +public final class io/portone/sdk/server/schemas/BillingKeyFilterInput { + public static final field Companion Lio/portone/sdk/server/schemas/BillingKeyFilterInput$Companion; + public fun ()V + public fun (Ljava/lang/String;Lio/portone/sdk/server/schemas/BillingKeyTimeRangeField;Ljava/time/Instant;Ljava/time/Instant;Ljava/util/List;Ljava/util/List;Ljava/lang/String;Lio/portone/sdk/server/schemas/PaymentClientType;Lio/portone/sdk/server/schemas/BillingKeyTextSearch;Ljava/util/List;Ljava/util/List;Ljava/util/List;Lio/portone/sdk/server/schemas/PortOneVersion;)V + public synthetic fun (Ljava/lang/String;Lio/portone/sdk/server/schemas/BillingKeyTimeRangeField;Ljava/time/Instant;Ljava/time/Instant;Ljava/util/List;Ljava/util/List;Ljava/lang/String;Lio/portone/sdk/server/schemas/PaymentClientType;Lio/portone/sdk/server/schemas/BillingKeyTextSearch;Ljava/util/List;Ljava/util/List;Ljava/util/List;Lio/portone/sdk/server/schemas/PortOneVersion;ILkotlin/jvm/internal/DefaultConstructorMarker;)V + public final fun component1 ()Ljava/lang/String; + public final fun component10 ()Ljava/util/List; + public final fun component11 ()Ljava/util/List; + public final fun component12 ()Ljava/util/List; + public final fun component13 ()Lio/portone/sdk/server/schemas/PortOneVersion; + public final fun component2 ()Lio/portone/sdk/server/schemas/BillingKeyTimeRangeField; + public final fun component3 ()Ljava/time/Instant; + public final fun component4 ()Ljava/time/Instant; + public final fun component5 ()Ljava/util/List; + public final fun component6 ()Ljava/util/List; + public final fun component7 ()Ljava/lang/String; + public final fun component8 ()Lio/portone/sdk/server/schemas/PaymentClientType; + public final fun component9 ()Lio/portone/sdk/server/schemas/BillingKeyTextSearch; + public final fun copy (Ljava/lang/String;Lio/portone/sdk/server/schemas/BillingKeyTimeRangeField;Ljava/time/Instant;Ljava/time/Instant;Ljava/util/List;Ljava/util/List;Ljava/lang/String;Lio/portone/sdk/server/schemas/PaymentClientType;Lio/portone/sdk/server/schemas/BillingKeyTextSearch;Ljava/util/List;Ljava/util/List;Ljava/util/List;Lio/portone/sdk/server/schemas/PortOneVersion;)Lio/portone/sdk/server/schemas/BillingKeyFilterInput; + public static synthetic fun copy$default (Lio/portone/sdk/server/schemas/BillingKeyFilterInput;Ljava/lang/String;Lio/portone/sdk/server/schemas/BillingKeyTimeRangeField;Ljava/time/Instant;Ljava/time/Instant;Ljava/util/List;Ljava/util/List;Ljava/lang/String;Lio/portone/sdk/server/schemas/PaymentClientType;Lio/portone/sdk/server/schemas/BillingKeyTextSearch;Ljava/util/List;Ljava/util/List;Ljava/util/List;Lio/portone/sdk/server/schemas/PortOneVersion;ILjava/lang/Object;)Lio/portone/sdk/server/schemas/BillingKeyFilterInput; + public fun equals (Ljava/lang/Object;)Z + public final fun getChannelGroupIds ()Ljava/util/List; + public final fun getCustomerId ()Ljava/lang/String; + public final fun getFrom ()Ljava/time/Instant; + public final fun getMethods ()Ljava/util/List; + public final fun getPgCompanies ()Ljava/util/List; + public final fun getPgProviders ()Ljava/util/List; + public final fun getPlatformType ()Lio/portone/sdk/server/schemas/PaymentClientType; + public final fun getStatus ()Ljava/util/List; + public final fun getStoreId ()Ljava/lang/String; + public final fun getTextSearch ()Lio/portone/sdk/server/schemas/BillingKeyTextSearch; + public final fun getTimeRangeField ()Lio/portone/sdk/server/schemas/BillingKeyTimeRangeField; + public final fun getUntil ()Ljava/time/Instant; + public final fun getVersion ()Lio/portone/sdk/server/schemas/PortOneVersion; + public fun hashCode ()I + public fun toString ()Ljava/lang/String; +} + +public synthetic class io/portone/sdk/server/schemas/BillingKeyFilterInput$$serializer : kotlinx/serialization/internal/GeneratedSerializer { + public static final field INSTANCE Lio/portone/sdk/server/schemas/BillingKeyFilterInput$$serializer; + public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; + public final fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Lio/portone/sdk/server/schemas/BillingKeyFilterInput; + public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; + public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; + public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lio/portone/sdk/server/schemas/BillingKeyFilterInput;)V + public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; +} + +public final class io/portone/sdk/server/schemas/BillingKeyFilterInput$Companion { + public final fun serializer ()Lkotlinx/serialization/KSerializer; +} + +public abstract interface class io/portone/sdk/server/schemas/BillingKeyInfo { + public static final field Companion Lio/portone/sdk/server/schemas/BillingKeyInfo$Companion; + public abstract fun getBillingKey ()Ljava/lang/String; + public abstract fun getChannelGroup ()Lio/portone/sdk/server/schemas/ChannelGroupSummary; + public abstract fun getChannels ()Ljava/util/List; + public abstract fun getCustomData ()Ljava/lang/String; + public abstract fun getCustomer ()Lio/portone/sdk/server/schemas/Customer; + public abstract fun getIssueId ()Ljava/lang/String; + public abstract fun getIssueName ()Ljava/lang/String; + public abstract fun getIssuedAt ()Ljava/time/Instant; + public abstract fun getMerchantId ()Ljava/lang/String; + public abstract fun getMethods ()Ljava/util/List; + public abstract fun getPgBillingKeyIssueResponses ()Ljava/util/List; + public abstract fun getRequestedAt ()Ljava/time/Instant; + public abstract fun getStoreId ()Ljava/lang/String; +} + +public final class io/portone/sdk/server/schemas/BillingKeyInfo$Companion { + public final fun serializer ()Lkotlinx/serialization/KSerializer; +} + +public final class io/portone/sdk/server/schemas/BillingKeyInfoSummary { + public static final field Companion Lio/portone/sdk/server/schemas/BillingKeyInfoSummary$Companion; + public fun (Ljava/lang/String;Ljava/util/List;Ljava/time/Instant;)V + public synthetic fun (Ljava/lang/String;Ljava/util/List;Ljava/time/Instant;ILkotlin/jvm/internal/DefaultConstructorMarker;)V + public final fun component1 ()Ljava/lang/String; + public final fun component2 ()Ljava/util/List; + public final fun component3 ()Ljava/time/Instant; + public final fun copy (Ljava/lang/String;Ljava/util/List;Ljava/time/Instant;)Lio/portone/sdk/server/schemas/BillingKeyInfoSummary; + public static synthetic fun copy$default (Lio/portone/sdk/server/schemas/BillingKeyInfoSummary;Ljava/lang/String;Ljava/util/List;Ljava/time/Instant;ILjava/lang/Object;)Lio/portone/sdk/server/schemas/BillingKeyInfoSummary; + public fun equals (Ljava/lang/Object;)Z + public final fun getBillingKey ()Ljava/lang/String; + public final fun getChannels ()Ljava/util/List; + public final fun getIssuedAt ()Ljava/time/Instant; + public fun hashCode ()I + public fun toString ()Ljava/lang/String; +} + +public synthetic class io/portone/sdk/server/schemas/BillingKeyInfoSummary$$serializer : kotlinx/serialization/internal/GeneratedSerializer { + public static final field INSTANCE Lio/portone/sdk/server/schemas/BillingKeyInfoSummary$$serializer; + public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; + public final fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Lio/portone/sdk/server/schemas/BillingKeyInfoSummary; + public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; + public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; + public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lio/portone/sdk/server/schemas/BillingKeyInfoSummary;)V + public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; +} + +public final class io/portone/sdk/server/schemas/BillingKeyInfoSummary$Companion { + public final fun serializer ()Lkotlinx/serialization/KSerializer; +} + +public final class io/portone/sdk/server/schemas/BillingKeyNotFoundException : java/lang/Exception { + public fun ()V + public fun (Ljava/lang/String;)V + public synthetic fun (Ljava/lang/String;ILkotlin/jvm/internal/DefaultConstructorMarker;)V +} + +public final class io/portone/sdk/server/schemas/BillingKeyNotIssuedException : java/lang/Exception { + public fun ()V + public fun (Ljava/lang/String;)V + public synthetic fun (Ljava/lang/String;ILkotlin/jvm/internal/DefaultConstructorMarker;)V +} + +public final class io/portone/sdk/server/schemas/BillingKeyPaymentInput { + public static final field Companion Lio/portone/sdk/server/schemas/BillingKeyPaymentInput$Companion; + public fun (Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Lio/portone/sdk/server/schemas/CustomerInput;Ljava/lang/String;Lio/portone/sdk/server/schemas/PaymentAmountInput;Lio/portone/sdk/server/schemas/Currency;Ljava/lang/Integer;Ljava/lang/Boolean;Ljava/lang/Boolean;Lio/portone/sdk/server/schemas/CashReceiptInput;Lio/portone/sdk/server/schemas/Country;Ljava/util/List;Ljava/util/List;Ljava/lang/Integer;Lio/portone/sdk/server/schemas/PaymentProductType;Lio/portone/sdk/server/schemas/SeparatedAddressInput;Ljava/lang/String;Lkotlinx/serialization/json/JsonObject;)V + public synthetic fun (Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Lio/portone/sdk/server/schemas/CustomerInput;Ljava/lang/String;Lio/portone/sdk/server/schemas/PaymentAmountInput;Lio/portone/sdk/server/schemas/Currency;Ljava/lang/Integer;Ljava/lang/Boolean;Ljava/lang/Boolean;Lio/portone/sdk/server/schemas/CashReceiptInput;Lio/portone/sdk/server/schemas/Country;Ljava/util/List;Ljava/util/List;Ljava/lang/Integer;Lio/portone/sdk/server/schemas/PaymentProductType;Lio/portone/sdk/server/schemas/SeparatedAddressInput;Ljava/lang/String;Lkotlinx/serialization/json/JsonObject;ILkotlin/jvm/internal/DefaultConstructorMarker;)V + public final fun component1 ()Ljava/lang/String; + public final fun component10 ()Ljava/lang/Boolean; + public final fun component11 ()Ljava/lang/Boolean; + public final fun component12 ()Lio/portone/sdk/server/schemas/CashReceiptInput; + public final fun component13 ()Lio/portone/sdk/server/schemas/Country; + public final fun component14 ()Ljava/util/List; + public final fun component15 ()Ljava/util/List; + public final fun component16 ()Ljava/lang/Integer; + public final fun component17 ()Lio/portone/sdk/server/schemas/PaymentProductType; + public final fun component18 ()Lio/portone/sdk/server/schemas/SeparatedAddressInput; + public final fun component19 ()Ljava/lang/String; + public final fun component2 ()Ljava/lang/String; + public final fun component20 ()Lkotlinx/serialization/json/JsonObject; + public final fun component3 ()Ljava/lang/String; + public final fun component4 ()Ljava/lang/String; + public final fun component5 ()Lio/portone/sdk/server/schemas/CustomerInput; + public final fun component6 ()Ljava/lang/String; + public final fun component7 ()Lio/portone/sdk/server/schemas/PaymentAmountInput; + public final fun component8 ()Lio/portone/sdk/server/schemas/Currency; + public final fun component9 ()Ljava/lang/Integer; + public final fun copy (Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Lio/portone/sdk/server/schemas/CustomerInput;Ljava/lang/String;Lio/portone/sdk/server/schemas/PaymentAmountInput;Lio/portone/sdk/server/schemas/Currency;Ljava/lang/Integer;Ljava/lang/Boolean;Ljava/lang/Boolean;Lio/portone/sdk/server/schemas/CashReceiptInput;Lio/portone/sdk/server/schemas/Country;Ljava/util/List;Ljava/util/List;Ljava/lang/Integer;Lio/portone/sdk/server/schemas/PaymentProductType;Lio/portone/sdk/server/schemas/SeparatedAddressInput;Ljava/lang/String;Lkotlinx/serialization/json/JsonObject;)Lio/portone/sdk/server/schemas/BillingKeyPaymentInput; + public static synthetic fun copy$default (Lio/portone/sdk/server/schemas/BillingKeyPaymentInput;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Lio/portone/sdk/server/schemas/CustomerInput;Ljava/lang/String;Lio/portone/sdk/server/schemas/PaymentAmountInput;Lio/portone/sdk/server/schemas/Currency;Ljava/lang/Integer;Ljava/lang/Boolean;Ljava/lang/Boolean;Lio/portone/sdk/server/schemas/CashReceiptInput;Lio/portone/sdk/server/schemas/Country;Ljava/util/List;Ljava/util/List;Ljava/lang/Integer;Lio/portone/sdk/server/schemas/PaymentProductType;Lio/portone/sdk/server/schemas/SeparatedAddressInput;Ljava/lang/String;Lkotlinx/serialization/json/JsonObject;ILjava/lang/Object;)Lio/portone/sdk/server/schemas/BillingKeyPaymentInput; + public fun equals (Ljava/lang/Object;)Z + public final fun getAmount ()Lio/portone/sdk/server/schemas/PaymentAmountInput; + public final fun getBillingKey ()Ljava/lang/String; + public final fun getBypass ()Lkotlinx/serialization/json/JsonObject; + public final fun getCashReceipt ()Lio/portone/sdk/server/schemas/CashReceiptInput; + public final fun getChannelKey ()Ljava/lang/String; + public final fun getCountry ()Lio/portone/sdk/server/schemas/Country; + public final fun getCurrency ()Lio/portone/sdk/server/schemas/Currency; + public final fun getCustomData ()Ljava/lang/String; + public final fun getCustomer ()Lio/portone/sdk/server/schemas/CustomerInput; + public final fun getInstallmentMonth ()Ljava/lang/Integer; + public final fun getNoticeUrls ()Ljava/util/List; + public final fun getOrderName ()Ljava/lang/String; + public final fun getProductCount ()Ljava/lang/Integer; + public final fun getProductType ()Lio/portone/sdk/server/schemas/PaymentProductType; + public final fun getProducts ()Ljava/util/List; + public final fun getPromotionId ()Ljava/lang/String; + public final fun getShippingAddress ()Lio/portone/sdk/server/schemas/SeparatedAddressInput; + public final fun getStoreId ()Ljava/lang/String; + public final fun getUseCardPoint ()Ljava/lang/Boolean; + public final fun getUseFreeInterestFromMerchant ()Ljava/lang/Boolean; + public fun hashCode ()I + public fun toString ()Ljava/lang/String; +} + +public synthetic class io/portone/sdk/server/schemas/BillingKeyPaymentInput$$serializer : kotlinx/serialization/internal/GeneratedSerializer { + public static final field INSTANCE Lio/portone/sdk/server/schemas/BillingKeyPaymentInput$$serializer; + public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; + public final fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Lio/portone/sdk/server/schemas/BillingKeyPaymentInput; + public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; + public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; + public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lio/portone/sdk/server/schemas/BillingKeyPaymentInput;)V + public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; +} + +public final class io/portone/sdk/server/schemas/BillingKeyPaymentInput$Companion { + public final fun serializer ()Lkotlinx/serialization/KSerializer; +} + +public abstract interface class io/portone/sdk/server/schemas/BillingKeyPaymentMethod { + public static final field Companion Lio/portone/sdk/server/schemas/BillingKeyPaymentMethod$Companion; +} + +public final class io/portone/sdk/server/schemas/BillingKeyPaymentMethod$Companion { + public final fun serializer ()Lkotlinx/serialization/KSerializer; +} + +public final class io/portone/sdk/server/schemas/BillingKeyPaymentMethodCard : io/portone/sdk/server/schemas/BillingKeyPaymentMethod, io/portone/sdk/server/schemas/BillingKeyPaymentMethodEasyPayMethod { + public static final field Companion Lio/portone/sdk/server/schemas/BillingKeyPaymentMethodCard$Companion; + public fun ()V + public fun (Lio/portone/sdk/server/schemas/Card;)V + public synthetic fun (Lio/portone/sdk/server/schemas/Card;ILkotlin/jvm/internal/DefaultConstructorMarker;)V + public final fun component1 ()Lio/portone/sdk/server/schemas/Card; + public final fun copy (Lio/portone/sdk/server/schemas/Card;)Lio/portone/sdk/server/schemas/BillingKeyPaymentMethodCard; + public static synthetic fun copy$default (Lio/portone/sdk/server/schemas/BillingKeyPaymentMethodCard;Lio/portone/sdk/server/schemas/Card;ILjava/lang/Object;)Lio/portone/sdk/server/schemas/BillingKeyPaymentMethodCard; + public fun equals (Ljava/lang/Object;)Z + public final fun getCard ()Lio/portone/sdk/server/schemas/Card; + public fun hashCode ()I + public fun toString ()Ljava/lang/String; +} + +public synthetic class io/portone/sdk/server/schemas/BillingKeyPaymentMethodCard$$serializer : kotlinx/serialization/internal/GeneratedSerializer { + public static final field INSTANCE Lio/portone/sdk/server/schemas/BillingKeyPaymentMethodCard$$serializer; + public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; + public final fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Lio/portone/sdk/server/schemas/BillingKeyPaymentMethodCard; + public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; + public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; + public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lio/portone/sdk/server/schemas/BillingKeyPaymentMethodCard;)V + public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; +} + +public final class io/portone/sdk/server/schemas/BillingKeyPaymentMethodCard$Companion { + public final fun serializer ()Lkotlinx/serialization/KSerializer; +} + +public final class io/portone/sdk/server/schemas/BillingKeyPaymentMethodEasyPay : io/portone/sdk/server/schemas/BillingKeyPaymentMethod { + public static final field Companion Lio/portone/sdk/server/schemas/BillingKeyPaymentMethodEasyPay$Companion; + public fun ()V + public fun (Lio/portone/sdk/server/schemas/EasyPayProvider;Lio/portone/sdk/server/schemas/BillingKeyPaymentMethodEasyPayMethod;)V + public synthetic fun (Lio/portone/sdk/server/schemas/EasyPayProvider;Lio/portone/sdk/server/schemas/BillingKeyPaymentMethodEasyPayMethod;ILkotlin/jvm/internal/DefaultConstructorMarker;)V + public final fun component1 ()Lio/portone/sdk/server/schemas/EasyPayProvider; + public final fun component2 ()Lio/portone/sdk/server/schemas/BillingKeyPaymentMethodEasyPayMethod; + public final fun copy (Lio/portone/sdk/server/schemas/EasyPayProvider;Lio/portone/sdk/server/schemas/BillingKeyPaymentMethodEasyPayMethod;)Lio/portone/sdk/server/schemas/BillingKeyPaymentMethodEasyPay; + public static synthetic fun copy$default (Lio/portone/sdk/server/schemas/BillingKeyPaymentMethodEasyPay;Lio/portone/sdk/server/schemas/EasyPayProvider;Lio/portone/sdk/server/schemas/BillingKeyPaymentMethodEasyPayMethod;ILjava/lang/Object;)Lio/portone/sdk/server/schemas/BillingKeyPaymentMethodEasyPay; + public fun equals (Ljava/lang/Object;)Z + public final fun getMethod ()Lio/portone/sdk/server/schemas/BillingKeyPaymentMethodEasyPayMethod; + public final fun getProvider ()Lio/portone/sdk/server/schemas/EasyPayProvider; + public fun hashCode ()I + public fun toString ()Ljava/lang/String; +} + +public synthetic class io/portone/sdk/server/schemas/BillingKeyPaymentMethodEasyPay$$serializer : kotlinx/serialization/internal/GeneratedSerializer { + public static final field INSTANCE Lio/portone/sdk/server/schemas/BillingKeyPaymentMethodEasyPay$$serializer; + public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; + public final fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Lio/portone/sdk/server/schemas/BillingKeyPaymentMethodEasyPay; + public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; + public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; + public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lio/portone/sdk/server/schemas/BillingKeyPaymentMethodEasyPay;)V + public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; +} + +public final class io/portone/sdk/server/schemas/BillingKeyPaymentMethodEasyPay$Companion { + public final fun serializer ()Lkotlinx/serialization/KSerializer; +} + +public final class io/portone/sdk/server/schemas/BillingKeyPaymentMethodEasyPayCharge : io/portone/sdk/server/schemas/BillingKeyPaymentMethodEasyPayMethod { + public static final field INSTANCE Lio/portone/sdk/server/schemas/BillingKeyPaymentMethodEasyPayCharge; + public fun equals (Ljava/lang/Object;)Z + public fun hashCode ()I + public final fun serializer ()Lkotlinx/serialization/KSerializer; + public fun toString ()Ljava/lang/String; +} + +public abstract interface class io/portone/sdk/server/schemas/BillingKeyPaymentMethodEasyPayMethod { + public static final field Companion Lio/portone/sdk/server/schemas/BillingKeyPaymentMethodEasyPayMethod$Companion; +} + +public final class io/portone/sdk/server/schemas/BillingKeyPaymentMethodEasyPayMethod$Companion { + public final fun serializer ()Lkotlinx/serialization/KSerializer; +} + +public final class io/portone/sdk/server/schemas/BillingKeyPaymentMethodMobile : io/portone/sdk/server/schemas/BillingKeyPaymentMethod { + public static final field Companion Lio/portone/sdk/server/schemas/BillingKeyPaymentMethodMobile$Companion; + public fun ()V + public fun (Ljava/lang/String;)V + public synthetic fun (Ljava/lang/String;ILkotlin/jvm/internal/DefaultConstructorMarker;)V + public final fun component1 ()Ljava/lang/String; + public final fun copy (Ljava/lang/String;)Lio/portone/sdk/server/schemas/BillingKeyPaymentMethodMobile; + public static synthetic fun copy$default (Lio/portone/sdk/server/schemas/BillingKeyPaymentMethodMobile;Ljava/lang/String;ILjava/lang/Object;)Lio/portone/sdk/server/schemas/BillingKeyPaymentMethodMobile; + public fun equals (Ljava/lang/Object;)Z + public final fun getPhoneNumber ()Ljava/lang/String; + public fun hashCode ()I + public fun toString ()Ljava/lang/String; +} + +public synthetic class io/portone/sdk/server/schemas/BillingKeyPaymentMethodMobile$$serializer : kotlinx/serialization/internal/GeneratedSerializer { + public static final field INSTANCE Lio/portone/sdk/server/schemas/BillingKeyPaymentMethodMobile$$serializer; + public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; + public final fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Lio/portone/sdk/server/schemas/BillingKeyPaymentMethodMobile; + public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; + public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; + public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lio/portone/sdk/server/schemas/BillingKeyPaymentMethodMobile;)V + public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; +} + +public final class io/portone/sdk/server/schemas/BillingKeyPaymentMethodMobile$Companion { + public final fun serializer ()Lkotlinx/serialization/KSerializer; +} + +public final class io/portone/sdk/server/schemas/BillingKeyPaymentMethodPaypal : io/portone/sdk/server/schemas/BillingKeyPaymentMethod { + public static final field INSTANCE Lio/portone/sdk/server/schemas/BillingKeyPaymentMethodPaypal; + public fun equals (Ljava/lang/Object;)Z + public fun hashCode ()I + public final fun serializer ()Lkotlinx/serialization/KSerializer; + public fun toString ()Ljava/lang/String; +} + +public final class io/portone/sdk/server/schemas/BillingKeyPaymentMethodTransfer : io/portone/sdk/server/schemas/BillingKeyPaymentMethod, io/portone/sdk/server/schemas/BillingKeyPaymentMethodEasyPayMethod { + public static final field Companion Lio/portone/sdk/server/schemas/BillingKeyPaymentMethodTransfer$Companion; + public fun ()V + public fun (Lio/portone/sdk/server/schemas/Bank;Ljava/lang/String;)V + public synthetic fun (Lio/portone/sdk/server/schemas/Bank;Ljava/lang/String;ILkotlin/jvm/internal/DefaultConstructorMarker;)V + public final fun component1 ()Lio/portone/sdk/server/schemas/Bank; + public final fun component2 ()Ljava/lang/String; + public final fun copy (Lio/portone/sdk/server/schemas/Bank;Ljava/lang/String;)Lio/portone/sdk/server/schemas/BillingKeyPaymentMethodTransfer; + public static synthetic fun copy$default (Lio/portone/sdk/server/schemas/BillingKeyPaymentMethodTransfer;Lio/portone/sdk/server/schemas/Bank;Ljava/lang/String;ILjava/lang/Object;)Lio/portone/sdk/server/schemas/BillingKeyPaymentMethodTransfer; + public fun equals (Ljava/lang/Object;)Z + public final fun getAccountNumber ()Ljava/lang/String; + public final fun getBank ()Lio/portone/sdk/server/schemas/Bank; + public fun hashCode ()I + public fun toString ()Ljava/lang/String; +} + +public synthetic class io/portone/sdk/server/schemas/BillingKeyPaymentMethodTransfer$$serializer : kotlinx/serialization/internal/GeneratedSerializer { + public static final field INSTANCE Lio/portone/sdk/server/schemas/BillingKeyPaymentMethodTransfer$$serializer; + public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; + public final fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Lio/portone/sdk/server/schemas/BillingKeyPaymentMethodTransfer; + public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; + public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; + public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lio/portone/sdk/server/schemas/BillingKeyPaymentMethodTransfer;)V + public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; +} + +public final class io/portone/sdk/server/schemas/BillingKeyPaymentMethodTransfer$Companion { + public final fun serializer ()Lkotlinx/serialization/KSerializer; +} + +public final class io/portone/sdk/server/schemas/BillingKeyPaymentMethodType : java/lang/Enum { + public static final field CARD Lio/portone/sdk/server/schemas/BillingKeyPaymentMethodType; + public static final field Companion Lio/portone/sdk/server/schemas/BillingKeyPaymentMethodType$Companion; + public static final field EASY_PAY Lio/portone/sdk/server/schemas/BillingKeyPaymentMethodType; + public static final field MOBILE Lio/portone/sdk/server/schemas/BillingKeyPaymentMethodType; + public static final field TRANSFER Lio/portone/sdk/server/schemas/BillingKeyPaymentMethodType; + public static fun getEntries ()Lkotlin/enums/EnumEntries; + public static fun valueOf (Ljava/lang/String;)Lio/portone/sdk/server/schemas/BillingKeyPaymentMethodType; + public static fun values ()[Lio/portone/sdk/server/schemas/BillingKeyPaymentMethodType; +} + +public final class io/portone/sdk/server/schemas/BillingKeyPaymentMethodType$Companion { + public final fun serializer ()Lkotlinx/serialization/KSerializer; +} + +public final class io/portone/sdk/server/schemas/BillingKeyPaymentSummary { + public static final field Companion Lio/portone/sdk/server/schemas/BillingKeyPaymentSummary$Companion; + public fun (Ljava/lang/String;Ljava/time/Instant;)V + public final fun component1 ()Ljava/lang/String; + public final fun component2 ()Ljava/time/Instant; + public final fun copy (Ljava/lang/String;Ljava/time/Instant;)Lio/portone/sdk/server/schemas/BillingKeyPaymentSummary; + public static synthetic fun copy$default (Lio/portone/sdk/server/schemas/BillingKeyPaymentSummary;Ljava/lang/String;Ljava/time/Instant;ILjava/lang/Object;)Lio/portone/sdk/server/schemas/BillingKeyPaymentSummary; + public fun equals (Ljava/lang/Object;)Z + public final fun getPaidAt ()Ljava/time/Instant; + public final fun getPgTxId ()Ljava/lang/String; + public fun hashCode ()I + public fun toString ()Ljava/lang/String; +} + +public synthetic class io/portone/sdk/server/schemas/BillingKeyPaymentSummary$$serializer : kotlinx/serialization/internal/GeneratedSerializer { + public static final field INSTANCE Lio/portone/sdk/server/schemas/BillingKeyPaymentSummary$$serializer; + public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; + public final fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Lio/portone/sdk/server/schemas/BillingKeyPaymentSummary; + public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; + public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; + public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lio/portone/sdk/server/schemas/BillingKeyPaymentSummary;)V + public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; +} + +public final class io/portone/sdk/server/schemas/BillingKeyPaymentSummary$Companion { + public final fun serializer ()Lkotlinx/serialization/KSerializer; +} + +public final class io/portone/sdk/server/schemas/BillingKeySortBy : java/lang/Enum { + public static final field Companion Lio/portone/sdk/server/schemas/BillingKeySortBy$Companion; + public static final field DELETED_AT Lio/portone/sdk/server/schemas/BillingKeySortBy; + public static final field ISSUED_AT Lio/portone/sdk/server/schemas/BillingKeySortBy; + public static final field REQUESTED_AT Lio/portone/sdk/server/schemas/BillingKeySortBy; + public static final field STATUS_TIMESTAMP Lio/portone/sdk/server/schemas/BillingKeySortBy; + public static fun getEntries ()Lkotlin/enums/EnumEntries; + public static fun valueOf (Ljava/lang/String;)Lio/portone/sdk/server/schemas/BillingKeySortBy; + public static fun values ()[Lio/portone/sdk/server/schemas/BillingKeySortBy; +} + +public final class io/portone/sdk/server/schemas/BillingKeySortBy$Companion { + public final fun serializer ()Lkotlinx/serialization/KSerializer; +} + +public final class io/portone/sdk/server/schemas/BillingKeySortInput { + public static final field Companion Lio/portone/sdk/server/schemas/BillingKeySortInput$Companion; + public fun ()V + public fun (Lio/portone/sdk/server/schemas/BillingKeySortBy;Lio/portone/sdk/server/schemas/SortOrder;)V + public synthetic fun (Lio/portone/sdk/server/schemas/BillingKeySortBy;Lio/portone/sdk/server/schemas/SortOrder;ILkotlin/jvm/internal/DefaultConstructorMarker;)V + public final fun component1 ()Lio/portone/sdk/server/schemas/BillingKeySortBy; + public final fun component2 ()Lio/portone/sdk/server/schemas/SortOrder; + public final fun copy (Lio/portone/sdk/server/schemas/BillingKeySortBy;Lio/portone/sdk/server/schemas/SortOrder;)Lio/portone/sdk/server/schemas/BillingKeySortInput; + public static synthetic fun copy$default (Lio/portone/sdk/server/schemas/BillingKeySortInput;Lio/portone/sdk/server/schemas/BillingKeySortBy;Lio/portone/sdk/server/schemas/SortOrder;ILjava/lang/Object;)Lio/portone/sdk/server/schemas/BillingKeySortInput; + public fun equals (Ljava/lang/Object;)Z + public final fun getBy ()Lio/portone/sdk/server/schemas/BillingKeySortBy; + public final fun getOrder ()Lio/portone/sdk/server/schemas/SortOrder; + public fun hashCode ()I + public fun toString ()Ljava/lang/String; +} + +public synthetic class io/portone/sdk/server/schemas/BillingKeySortInput$$serializer : kotlinx/serialization/internal/GeneratedSerializer { + public static final field INSTANCE Lio/portone/sdk/server/schemas/BillingKeySortInput$$serializer; + public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; + public final fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Lio/portone/sdk/server/schemas/BillingKeySortInput; + public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; + public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; + public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lio/portone/sdk/server/schemas/BillingKeySortInput;)V + public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; +} + +public final class io/portone/sdk/server/schemas/BillingKeySortInput$Companion { + public final fun serializer ()Lkotlinx/serialization/KSerializer; +} + +public final class io/portone/sdk/server/schemas/BillingKeyStatus : java/lang/Enum { + public static final field Companion Lio/portone/sdk/server/schemas/BillingKeyStatus$Companion; + public static final field DELETED Lio/portone/sdk/server/schemas/BillingKeyStatus; + public static final field ISSUED Lio/portone/sdk/server/schemas/BillingKeyStatus; + public static fun getEntries ()Lkotlin/enums/EnumEntries; + public static fun valueOf (Ljava/lang/String;)Lio/portone/sdk/server/schemas/BillingKeyStatus; + public static fun values ()[Lio/portone/sdk/server/schemas/BillingKeyStatus; +} + +public final class io/portone/sdk/server/schemas/BillingKeyStatus$Companion { + public final fun serializer ()Lkotlinx/serialization/KSerializer; +} + +public final class io/portone/sdk/server/schemas/BillingKeyTextSearch { + public static final field Companion Lio/portone/sdk/server/schemas/BillingKeyTextSearch$Companion; + public fun (Lio/portone/sdk/server/schemas/BillingKeyTextSearchField;Ljava/lang/String;)V + public final fun component1 ()Lio/portone/sdk/server/schemas/BillingKeyTextSearchField; + public final fun component2 ()Ljava/lang/String; + public final fun copy (Lio/portone/sdk/server/schemas/BillingKeyTextSearchField;Ljava/lang/String;)Lio/portone/sdk/server/schemas/BillingKeyTextSearch; + public static synthetic fun copy$default (Lio/portone/sdk/server/schemas/BillingKeyTextSearch;Lio/portone/sdk/server/schemas/BillingKeyTextSearchField;Ljava/lang/String;ILjava/lang/Object;)Lio/portone/sdk/server/schemas/BillingKeyTextSearch; + public fun equals (Ljava/lang/Object;)Z + public final fun getField ()Lio/portone/sdk/server/schemas/BillingKeyTextSearchField; + public final fun getValue ()Ljava/lang/String; + public fun hashCode ()I + public fun toString ()Ljava/lang/String; +} + +public synthetic class io/portone/sdk/server/schemas/BillingKeyTextSearch$$serializer : kotlinx/serialization/internal/GeneratedSerializer { + public static final field INSTANCE Lio/portone/sdk/server/schemas/BillingKeyTextSearch$$serializer; + public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; + public final fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Lio/portone/sdk/server/schemas/BillingKeyTextSearch; + public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; + public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; + public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lio/portone/sdk/server/schemas/BillingKeyTextSearch;)V + public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; +} + +public final class io/portone/sdk/server/schemas/BillingKeyTextSearch$Companion { + public final fun serializer ()Lkotlinx/serialization/KSerializer; +} + +public final class io/portone/sdk/server/schemas/BillingKeyTextSearchField : java/lang/Enum { + public static final field BILLING_KEY Lio/portone/sdk/server/schemas/BillingKeyTextSearchField; + public static final field CARD_BIN Lio/portone/sdk/server/schemas/BillingKeyTextSearchField; + public static final field CARD_NUMBER Lio/portone/sdk/server/schemas/BillingKeyTextSearchField; + public static final field CHANNEL_GROUP_NAME Lio/portone/sdk/server/schemas/BillingKeyTextSearchField; + public static final field CUSTOMER_ADDRESS Lio/portone/sdk/server/schemas/BillingKeyTextSearchField; + public static final field CUSTOMER_EMAIL Lio/portone/sdk/server/schemas/BillingKeyTextSearchField; + public static final field CUSTOMER_NAME Lio/portone/sdk/server/schemas/BillingKeyTextSearchField; + public static final field CUSTOMER_PHONE_NUMBER Lio/portone/sdk/server/schemas/BillingKeyTextSearchField; + public static final field CUSTOMER_ZIPCODE Lio/portone/sdk/server/schemas/BillingKeyTextSearchField; + public static final field Companion Lio/portone/sdk/server/schemas/BillingKeyTextSearchField$Companion; + public static final field PG_MERCHANT_ID Lio/portone/sdk/server/schemas/BillingKeyTextSearchField; + public static final field USER_AGENT Lio/portone/sdk/server/schemas/BillingKeyTextSearchField; + public static fun getEntries ()Lkotlin/enums/EnumEntries; + public static fun valueOf (Ljava/lang/String;)Lio/portone/sdk/server/schemas/BillingKeyTextSearchField; + public static fun values ()[Lio/portone/sdk/server/schemas/BillingKeyTextSearchField; +} + +public final class io/portone/sdk/server/schemas/BillingKeyTextSearchField$Companion { + public final fun serializer ()Lkotlinx/serialization/KSerializer; +} + +public final class io/portone/sdk/server/schemas/BillingKeyTimeRangeField : java/lang/Enum { + public static final field Companion Lio/portone/sdk/server/schemas/BillingKeyTimeRangeField$Companion; + public static final field DELETED_AT Lio/portone/sdk/server/schemas/BillingKeyTimeRangeField; + public static final field ISSUED_AT Lio/portone/sdk/server/schemas/BillingKeyTimeRangeField; + public static final field REQUESTED_AT Lio/portone/sdk/server/schemas/BillingKeyTimeRangeField; + public static final field STATUS_TIMESTAMP Lio/portone/sdk/server/schemas/BillingKeyTimeRangeField; + public static fun getEntries ()Lkotlin/enums/EnumEntries; + public static fun valueOf (Ljava/lang/String;)Lio/portone/sdk/server/schemas/BillingKeyTimeRangeField; + public static fun values ()[Lio/portone/sdk/server/schemas/BillingKeyTimeRangeField; +} + +public final class io/portone/sdk/server/schemas/BillingKeyTimeRangeField$Companion { + public final fun serializer ()Lkotlinx/serialization/KSerializer; +} + +public final class io/portone/sdk/server/schemas/CancelAmountExceedsCancellableAmountException : java/lang/Exception { + public fun ()V + public fun (Ljava/lang/String;)V + public synthetic fun (Ljava/lang/String;ILkotlin/jvm/internal/DefaultConstructorMarker;)V +} + +public final class io/portone/sdk/server/schemas/CancelCashReceiptResponse { + public static final field Companion Lio/portone/sdk/server/schemas/CancelCashReceiptResponse$Companion; + public fun (JLjava/time/Instant;)V + public final fun component1 ()J + public final fun component2 ()Ljava/time/Instant; + public final fun copy (JLjava/time/Instant;)Lio/portone/sdk/server/schemas/CancelCashReceiptResponse; + public static synthetic fun copy$default (Lio/portone/sdk/server/schemas/CancelCashReceiptResponse;JLjava/time/Instant;ILjava/lang/Object;)Lio/portone/sdk/server/schemas/CancelCashReceiptResponse; + public fun equals (Ljava/lang/Object;)Z + public final fun getCancelledAmount ()J + public final fun getCancelledAt ()Ljava/time/Instant; + public fun hashCode ()I + public fun toString ()Ljava/lang/String; +} + +public synthetic class io/portone/sdk/server/schemas/CancelCashReceiptResponse$$serializer : kotlinx/serialization/internal/GeneratedSerializer { + public static final field INSTANCE Lio/portone/sdk/server/schemas/CancelCashReceiptResponse$$serializer; + public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; + public final fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Lio/portone/sdk/server/schemas/CancelCashReceiptResponse; + public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; + public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; + public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lio/portone/sdk/server/schemas/CancelCashReceiptResponse;)V + public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; +} + +public final class io/portone/sdk/server/schemas/CancelCashReceiptResponse$Companion { + public final fun serializer ()Lkotlinx/serialization/KSerializer; +} + +public final class io/portone/sdk/server/schemas/CancelPaymentBodyRefundAccount { + public static final field Companion Lio/portone/sdk/server/schemas/CancelPaymentBodyRefundAccount$Companion; + public fun (Lio/portone/sdk/server/schemas/Bank;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V + public synthetic fun (Lio/portone/sdk/server/schemas/Bank;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;ILkotlin/jvm/internal/DefaultConstructorMarker;)V + public final fun component1 ()Lio/portone/sdk/server/schemas/Bank; + public final fun component2 ()Ljava/lang/String; + public final fun component3 ()Ljava/lang/String; + public final fun component4 ()Ljava/lang/String; + public final fun copy (Lio/portone/sdk/server/schemas/Bank;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Lio/portone/sdk/server/schemas/CancelPaymentBodyRefundAccount; + public static synthetic fun copy$default (Lio/portone/sdk/server/schemas/CancelPaymentBodyRefundAccount;Lio/portone/sdk/server/schemas/Bank;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;ILjava/lang/Object;)Lio/portone/sdk/server/schemas/CancelPaymentBodyRefundAccount; + public fun equals (Ljava/lang/Object;)Z + public final fun getBank ()Lio/portone/sdk/server/schemas/Bank; + public final fun getHolderName ()Ljava/lang/String; + public final fun getHolderPhoneNumber ()Ljava/lang/String; + public final fun getNumber ()Ljava/lang/String; + public fun hashCode ()I + public fun toString ()Ljava/lang/String; +} + +public synthetic class io/portone/sdk/server/schemas/CancelPaymentBodyRefundAccount$$serializer : kotlinx/serialization/internal/GeneratedSerializer { + public static final field INSTANCE Lio/portone/sdk/server/schemas/CancelPaymentBodyRefundAccount$$serializer; + public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; + public final fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Lio/portone/sdk/server/schemas/CancelPaymentBodyRefundAccount; + public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; + public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; + public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lio/portone/sdk/server/schemas/CancelPaymentBodyRefundAccount;)V + public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; +} + +public final class io/portone/sdk/server/schemas/CancelPaymentBodyRefundAccount$Companion { + public final fun serializer ()Lkotlinx/serialization/KSerializer; +} + +public final class io/portone/sdk/server/schemas/CancelPaymentResponse { + public static final field Companion Lio/portone/sdk/server/schemas/CancelPaymentResponse$Companion; + public fun (Lio/portone/sdk/server/schemas/PaymentCancellation;)V + public final fun component1 ()Lio/portone/sdk/server/schemas/PaymentCancellation; + public final fun copy (Lio/portone/sdk/server/schemas/PaymentCancellation;)Lio/portone/sdk/server/schemas/CancelPaymentResponse; + public static synthetic fun copy$default (Lio/portone/sdk/server/schemas/CancelPaymentResponse;Lio/portone/sdk/server/schemas/PaymentCancellation;ILjava/lang/Object;)Lio/portone/sdk/server/schemas/CancelPaymentResponse; + public fun equals (Ljava/lang/Object;)Z + public final fun getCancellation ()Lio/portone/sdk/server/schemas/PaymentCancellation; + public fun hashCode ()I + public fun toString ()Ljava/lang/String; +} + +public synthetic class io/portone/sdk/server/schemas/CancelPaymentResponse$$serializer : kotlinx/serialization/internal/GeneratedSerializer { + public static final field INSTANCE Lio/portone/sdk/server/schemas/CancelPaymentResponse$$serializer; + public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; + public final fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Lio/portone/sdk/server/schemas/CancelPaymentResponse; + public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; + public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; + public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lio/portone/sdk/server/schemas/CancelPaymentResponse;)V + public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; +} + +public final class io/portone/sdk/server/schemas/CancelPaymentResponse$Companion { + public final fun serializer ()Lkotlinx/serialization/KSerializer; +} + +public final class io/portone/sdk/server/schemas/CancelRequester : java/lang/Enum { + public static final field ADMIN Lio/portone/sdk/server/schemas/CancelRequester; + public static final field CUSTOMER Lio/portone/sdk/server/schemas/CancelRequester; + public static final field Companion Lio/portone/sdk/server/schemas/CancelRequester$Companion; + public static fun getEntries ()Lkotlin/enums/EnumEntries; + public static fun valueOf (Ljava/lang/String;)Lio/portone/sdk/server/schemas/CancelRequester; + public static fun values ()[Lio/portone/sdk/server/schemas/CancelRequester; +} + +public final class io/portone/sdk/server/schemas/CancelRequester$Companion { + public final fun serializer ()Lkotlinx/serialization/KSerializer; +} + +public final class io/portone/sdk/server/schemas/CancelTaxAmountExceedsCancellableTaxAmountException : java/lang/Exception { + public fun ()V + public fun (Ljava/lang/String;)V + public synthetic fun (Ljava/lang/String;ILkotlin/jvm/internal/DefaultConstructorMarker;)V +} + +public final class io/portone/sdk/server/schemas/CancelTaxFreeAmountExceedsCancellableTaxFreeAmountException : java/lang/Exception { + public fun ()V + public fun (Ljava/lang/String;)V + public synthetic fun (Ljava/lang/String;ILkotlin/jvm/internal/DefaultConstructorMarker;)V +} + +public final class io/portone/sdk/server/schemas/CancellableAmountConsistencyBrokenException : java/lang/Exception { + public fun ()V + public fun (Ljava/lang/String;)V + public synthetic fun (Ljava/lang/String;ILkotlin/jvm/internal/DefaultConstructorMarker;)V +} + +public final class io/portone/sdk/server/schemas/CancelledCashReceipt : io/portone/sdk/server/schemas/CashReceipt { + public static final field Companion Lio/portone/sdk/server/schemas/CancelledCashReceipt$Companion; + public fun (Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Lio/portone/sdk/server/schemas/SelectedChannel;JLjava/lang/Long;Ljava/lang/Long;Lio/portone/sdk/server/schemas/Currency;Ljava/lang/String;ZLio/portone/sdk/server/schemas/CashReceiptType;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/time/Instant;Ljava/time/Instant;)V + public synthetic fun (Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Lio/portone/sdk/server/schemas/SelectedChannel;JLjava/lang/Long;Ljava/lang/Long;Lio/portone/sdk/server/schemas/Currency;Ljava/lang/String;ZLio/portone/sdk/server/schemas/CashReceiptType;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/time/Instant;Ljava/time/Instant;ILkotlin/jvm/internal/DefaultConstructorMarker;)V + public final fun component1 ()Ljava/lang/String; + public final fun component10 ()Z + public final fun component11 ()Lio/portone/sdk/server/schemas/CashReceiptType; + public final fun component12 ()Ljava/lang/String; + public final fun component13 ()Ljava/lang/String; + public final fun component14 ()Ljava/lang/String; + public final fun component15 ()Ljava/time/Instant; + public final fun component16 ()Ljava/time/Instant; + public final fun component2 ()Ljava/lang/String; + public final fun component3 ()Ljava/lang/String; + public final fun component4 ()Lio/portone/sdk/server/schemas/SelectedChannel; + public final fun component5 ()J + public final fun component6 ()Ljava/lang/Long; + public final fun component7 ()Ljava/lang/Long; + public final fun component8 ()Lio/portone/sdk/server/schemas/Currency; + public final fun component9 ()Ljava/lang/String; + public final fun copy (Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Lio/portone/sdk/server/schemas/SelectedChannel;JLjava/lang/Long;Ljava/lang/Long;Lio/portone/sdk/server/schemas/Currency;Ljava/lang/String;ZLio/portone/sdk/server/schemas/CashReceiptType;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/time/Instant;Ljava/time/Instant;)Lio/portone/sdk/server/schemas/CancelledCashReceipt; + public static synthetic fun copy$default (Lio/portone/sdk/server/schemas/CancelledCashReceipt;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Lio/portone/sdk/server/schemas/SelectedChannel;JLjava/lang/Long;Ljava/lang/Long;Lio/portone/sdk/server/schemas/Currency;Ljava/lang/String;ZLio/portone/sdk/server/schemas/CashReceiptType;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/time/Instant;Ljava/time/Instant;ILjava/lang/Object;)Lio/portone/sdk/server/schemas/CancelledCashReceipt; + public fun equals (Ljava/lang/Object;)Z + public final fun getAmount ()J + public final fun getCancelledAt ()Ljava/time/Instant; + public fun getChannel ()Lio/portone/sdk/server/schemas/SelectedChannel; + public final fun getCurrency ()Lio/portone/sdk/server/schemas/Currency; + public final fun getIssueNumber ()Ljava/lang/String; + public final fun getIssuedAt ()Ljava/time/Instant; + public fun getMerchantId ()Ljava/lang/String; + public fun getOrderName ()Ljava/lang/String; + public fun getPaymentId ()Ljava/lang/String; + public final fun getPgReceiptId ()Ljava/lang/String; + public fun getStoreId ()Ljava/lang/String; + public final fun getTaxFreeAmount ()Ljava/lang/Long; + public final fun getType ()Lio/portone/sdk/server/schemas/CashReceiptType; + public final fun getUrl ()Ljava/lang/String; + public final fun getVatAmount ()Ljava/lang/Long; + public fun hashCode ()I + public fun isManual ()Z + public fun toString ()Ljava/lang/String; +} + +public synthetic class io/portone/sdk/server/schemas/CancelledCashReceipt$$serializer : kotlinx/serialization/internal/GeneratedSerializer { + public static final field INSTANCE Lio/portone/sdk/server/schemas/CancelledCashReceipt$$serializer; + public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; + public final fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Lio/portone/sdk/server/schemas/CancelledCashReceipt; + public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; + public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; + public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lio/portone/sdk/server/schemas/CancelledCashReceipt;)V + public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; +} + +public final class io/portone/sdk/server/schemas/CancelledCashReceipt$Companion { + public final fun serializer ()Lkotlinx/serialization/KSerializer; +} + +public final class io/portone/sdk/server/schemas/CancelledPayment : io/portone/sdk/server/schemas/Payment { + public static final field Companion Lio/portone/sdk/server/schemas/CancelledPayment$Companion; + public fun (Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Lio/portone/sdk/server/schemas/PaymentMethod;Lio/portone/sdk/server/schemas/SelectedChannel;Lio/portone/sdk/server/schemas/ChannelGroupSummary;Lio/portone/sdk/server/schemas/PortOneVersion;Ljava/lang/String;Ljava/lang/String;Ljava/util/List;Ljava/time/Instant;Ljava/time/Instant;Ljava/time/Instant;Ljava/lang/String;Lio/portone/sdk/server/schemas/PaymentAmount;Lio/portone/sdk/server/schemas/Currency;Lio/portone/sdk/server/schemas/Customer;Ljava/lang/String;Ljava/lang/Boolean;Lio/portone/sdk/server/schemas/PaymentEscrow;Ljava/util/List;Ljava/lang/Integer;Ljava/lang/String;Lio/portone/sdk/server/schemas/Country;Ljava/time/Instant;Ljava/lang/String;Lio/portone/sdk/server/schemas/PaymentCashReceipt;Ljava/lang/String;Ljava/util/List;Ljava/time/Instant;)V + public synthetic fun (Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Lio/portone/sdk/server/schemas/PaymentMethod;Lio/portone/sdk/server/schemas/SelectedChannel;Lio/portone/sdk/server/schemas/ChannelGroupSummary;Lio/portone/sdk/server/schemas/PortOneVersion;Ljava/lang/String;Ljava/lang/String;Ljava/util/List;Ljava/time/Instant;Ljava/time/Instant;Ljava/time/Instant;Ljava/lang/String;Lio/portone/sdk/server/schemas/PaymentAmount;Lio/portone/sdk/server/schemas/Currency;Lio/portone/sdk/server/schemas/Customer;Ljava/lang/String;Ljava/lang/Boolean;Lio/portone/sdk/server/schemas/PaymentEscrow;Ljava/util/List;Ljava/lang/Integer;Ljava/lang/String;Lio/portone/sdk/server/schemas/Country;Ljava/time/Instant;Ljava/lang/String;Lio/portone/sdk/server/schemas/PaymentCashReceipt;Ljava/lang/String;Ljava/util/List;Ljava/time/Instant;ILkotlin/jvm/internal/DefaultConstructorMarker;)V + public final fun component1 ()Ljava/lang/String; + public final fun component10 ()Ljava/lang/String; + public final fun component11 ()Ljava/util/List; + public final fun component12 ()Ljava/time/Instant; + public final fun component13 ()Ljava/time/Instant; + public final fun component14 ()Ljava/time/Instant; + public final fun component15 ()Ljava/lang/String; + public final fun component16 ()Lio/portone/sdk/server/schemas/PaymentAmount; + public final fun component17 ()Lio/portone/sdk/server/schemas/Currency; + public final fun component18 ()Lio/portone/sdk/server/schemas/Customer; + public final fun component19 ()Ljava/lang/String; + public final fun component2 ()Ljava/lang/String; + public final fun component20 ()Ljava/lang/Boolean; + public final fun component21 ()Lio/portone/sdk/server/schemas/PaymentEscrow; + public final fun component22 ()Ljava/util/List; + public final fun component23 ()Ljava/lang/Integer; + public final fun component24 ()Ljava/lang/String; + public final fun component25 ()Lio/portone/sdk/server/schemas/Country; + public final fun component26 ()Ljava/time/Instant; + public final fun component27 ()Ljava/lang/String; + public final fun component28 ()Lio/portone/sdk/server/schemas/PaymentCashReceipt; + public final fun component29 ()Ljava/lang/String; + public final fun component3 ()Ljava/lang/String; + public final fun component30 ()Ljava/util/List; + public final fun component31 ()Ljava/time/Instant; + public final fun component4 ()Ljava/lang/String; + public final fun component5 ()Lio/portone/sdk/server/schemas/PaymentMethod; + public final fun component6 ()Lio/portone/sdk/server/schemas/SelectedChannel; + public final fun component7 ()Lio/portone/sdk/server/schemas/ChannelGroupSummary; + public final fun component8 ()Lio/portone/sdk/server/schemas/PortOneVersion; + public final fun component9 ()Ljava/lang/String; + public final fun copy (Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Lio/portone/sdk/server/schemas/PaymentMethod;Lio/portone/sdk/server/schemas/SelectedChannel;Lio/portone/sdk/server/schemas/ChannelGroupSummary;Lio/portone/sdk/server/schemas/PortOneVersion;Ljava/lang/String;Ljava/lang/String;Ljava/util/List;Ljava/time/Instant;Ljava/time/Instant;Ljava/time/Instant;Ljava/lang/String;Lio/portone/sdk/server/schemas/PaymentAmount;Lio/portone/sdk/server/schemas/Currency;Lio/portone/sdk/server/schemas/Customer;Ljava/lang/String;Ljava/lang/Boolean;Lio/portone/sdk/server/schemas/PaymentEscrow;Ljava/util/List;Ljava/lang/Integer;Ljava/lang/String;Lio/portone/sdk/server/schemas/Country;Ljava/time/Instant;Ljava/lang/String;Lio/portone/sdk/server/schemas/PaymentCashReceipt;Ljava/lang/String;Ljava/util/List;Ljava/time/Instant;)Lio/portone/sdk/server/schemas/CancelledPayment; + public static synthetic fun copy$default (Lio/portone/sdk/server/schemas/CancelledPayment;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Lio/portone/sdk/server/schemas/PaymentMethod;Lio/portone/sdk/server/schemas/SelectedChannel;Lio/portone/sdk/server/schemas/ChannelGroupSummary;Lio/portone/sdk/server/schemas/PortOneVersion;Ljava/lang/String;Ljava/lang/String;Ljava/util/List;Ljava/time/Instant;Ljava/time/Instant;Ljava/time/Instant;Ljava/lang/String;Lio/portone/sdk/server/schemas/PaymentAmount;Lio/portone/sdk/server/schemas/Currency;Lio/portone/sdk/server/schemas/Customer;Ljava/lang/String;Ljava/lang/Boolean;Lio/portone/sdk/server/schemas/PaymentEscrow;Ljava/util/List;Ljava/lang/Integer;Ljava/lang/String;Lio/portone/sdk/server/schemas/Country;Ljava/time/Instant;Ljava/lang/String;Lio/portone/sdk/server/schemas/PaymentCashReceipt;Ljava/lang/String;Ljava/util/List;Ljava/time/Instant;ILjava/lang/Object;)Lio/portone/sdk/server/schemas/CancelledPayment; + public fun equals (Ljava/lang/Object;)Z + public fun getAmount ()Lio/portone/sdk/server/schemas/PaymentAmount; + public fun getBillingKey ()Ljava/lang/String; + public final fun getCancellations ()Ljava/util/List; + public final fun getCancelledAt ()Ljava/time/Instant; + public final fun getCashReceipt ()Lio/portone/sdk/server/schemas/PaymentCashReceipt; + public fun getChannel ()Lio/portone/sdk/server/schemas/SelectedChannel; + public fun getChannelGroup ()Lio/portone/sdk/server/schemas/ChannelGroupSummary; + public fun getCountry ()Lio/portone/sdk/server/schemas/Country; + public fun getCurrency ()Lio/portone/sdk/server/schemas/Currency; + public fun getCustomData ()Ljava/lang/String; + public fun getCustomer ()Lio/portone/sdk/server/schemas/Customer; + public fun getEscrow ()Lio/portone/sdk/server/schemas/PaymentEscrow; + public fun getId ()Ljava/lang/String; + public fun getMerchantId ()Ljava/lang/String; + public fun getMethod ()Lio/portone/sdk/server/schemas/PaymentMethod; + public fun getOrderName ()Ljava/lang/String; + public final fun getPaidAt ()Ljava/time/Instant; + public final fun getPgTxId ()Ljava/lang/String; + public fun getProductCount ()Ljava/lang/Integer; + public fun getProducts ()Ljava/util/List; + public fun getPromotionId ()Ljava/lang/String; + public final fun getReceiptUrl ()Ljava/lang/String; + public fun getRequestedAt ()Ljava/time/Instant; + public fun getScheduleId ()Ljava/lang/String; + public fun getStatusChangedAt ()Ljava/time/Instant; + public fun getStoreId ()Ljava/lang/String; + public final fun getTransactionId ()Ljava/lang/String; + public fun getUpdatedAt ()Ljava/time/Instant; + public fun getVersion ()Lio/portone/sdk/server/schemas/PortOneVersion; + public fun getWebhooks ()Ljava/util/List; + public fun hashCode ()I + public fun isCulturalExpense ()Ljava/lang/Boolean; + public fun toString ()Ljava/lang/String; +} + +public synthetic class io/portone/sdk/server/schemas/CancelledPayment$$serializer : kotlinx/serialization/internal/GeneratedSerializer { + public static final field INSTANCE Lio/portone/sdk/server/schemas/CancelledPayment$$serializer; + public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; + public final fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Lio/portone/sdk/server/schemas/CancelledPayment; + public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; + public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; + public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lio/portone/sdk/server/schemas/CancelledPayment;)V + public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; +} + +public final class io/portone/sdk/server/schemas/CancelledPayment$Companion { + public final fun serializer ()Lkotlinx/serialization/KSerializer; +} + +public final class io/portone/sdk/server/schemas/CancelledPaymentCashReceipt : io/portone/sdk/server/schemas/PaymentCashReceipt { + public static final field Companion Lio/portone/sdk/server/schemas/CancelledPaymentCashReceipt$Companion; + public fun (Lio/portone/sdk/server/schemas/CashReceiptType;Ljava/lang/String;Ljava/lang/String;JLjava/lang/Long;Lio/portone/sdk/server/schemas/Currency;Ljava/lang/String;Ljava/time/Instant;Ljava/time/Instant;)V + public synthetic fun (Lio/portone/sdk/server/schemas/CashReceiptType;Ljava/lang/String;Ljava/lang/String;JLjava/lang/Long;Lio/portone/sdk/server/schemas/Currency;Ljava/lang/String;Ljava/time/Instant;Ljava/time/Instant;ILkotlin/jvm/internal/DefaultConstructorMarker;)V + public final fun component1 ()Lio/portone/sdk/server/schemas/CashReceiptType; + public final fun component2 ()Ljava/lang/String; + public final fun component3 ()Ljava/lang/String; + public final fun component4 ()J + public final fun component5 ()Ljava/lang/Long; + public final fun component6 ()Lio/portone/sdk/server/schemas/Currency; + public final fun component7 ()Ljava/lang/String; + public final fun component8 ()Ljava/time/Instant; + public final fun component9 ()Ljava/time/Instant; + public final fun copy (Lio/portone/sdk/server/schemas/CashReceiptType;Ljava/lang/String;Ljava/lang/String;JLjava/lang/Long;Lio/portone/sdk/server/schemas/Currency;Ljava/lang/String;Ljava/time/Instant;Ljava/time/Instant;)Lio/portone/sdk/server/schemas/CancelledPaymentCashReceipt; + public static synthetic fun copy$default (Lio/portone/sdk/server/schemas/CancelledPaymentCashReceipt;Lio/portone/sdk/server/schemas/CashReceiptType;Ljava/lang/String;Ljava/lang/String;JLjava/lang/Long;Lio/portone/sdk/server/schemas/Currency;Ljava/lang/String;Ljava/time/Instant;Ljava/time/Instant;ILjava/lang/Object;)Lio/portone/sdk/server/schemas/CancelledPaymentCashReceipt; + public fun equals (Ljava/lang/Object;)Z + public final fun getCancelledAt ()Ljava/time/Instant; + public fun getCurrency ()Lio/portone/sdk/server/schemas/Currency; + public fun getIssueNumber ()Ljava/lang/String; + public fun getIssuedAt ()Ljava/time/Instant; + public fun getPgReceiptId ()Ljava/lang/String; + public fun getTaxFreeAmount ()Ljava/lang/Long; + public fun getTotalAmount ()J + public fun getType ()Lio/portone/sdk/server/schemas/CashReceiptType; + public fun getUrl ()Ljava/lang/String; + public fun hashCode ()I + public fun toString ()Ljava/lang/String; +} + +public synthetic class io/portone/sdk/server/schemas/CancelledPaymentCashReceipt$$serializer : kotlinx/serialization/internal/GeneratedSerializer { + public static final field INSTANCE Lio/portone/sdk/server/schemas/CancelledPaymentCashReceipt$$serializer; + public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; + public final fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Lio/portone/sdk/server/schemas/CancelledPaymentCashReceipt; + public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; + public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; + public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lio/portone/sdk/server/schemas/CancelledPaymentCashReceipt;)V + public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; +} + +public final class io/portone/sdk/server/schemas/CancelledPaymentCashReceipt$Companion { + public final fun serializer ()Lkotlinx/serialization/KSerializer; +} + +public final class io/portone/sdk/server/schemas/CancelledPaymentEscrow : io/portone/sdk/server/schemas/PaymentEscrow { + public static final field Companion Lio/portone/sdk/server/schemas/CancelledPaymentEscrow$Companion; + public fun (Ljava/lang/String;Ljava/lang/String;Ljava/time/Instant;Ljava/time/Instant;)V + public synthetic fun (Ljava/lang/String;Ljava/lang/String;Ljava/time/Instant;Ljava/time/Instant;ILkotlin/jvm/internal/DefaultConstructorMarker;)V + public final fun component1 ()Ljava/lang/String; + public final fun component2 ()Ljava/lang/String; + public final fun component3 ()Ljava/time/Instant; + public final fun component4 ()Ljava/time/Instant; + public final fun copy (Ljava/lang/String;Ljava/lang/String;Ljava/time/Instant;Ljava/time/Instant;)Lio/portone/sdk/server/schemas/CancelledPaymentEscrow; + public static synthetic fun copy$default (Lio/portone/sdk/server/schemas/CancelledPaymentEscrow;Ljava/lang/String;Ljava/lang/String;Ljava/time/Instant;Ljava/time/Instant;ILjava/lang/Object;)Lio/portone/sdk/server/schemas/CancelledPaymentEscrow; + public fun equals (Ljava/lang/Object;)Z + public final fun getAppliedAt ()Ljava/time/Instant; + public final fun getCompany ()Ljava/lang/String; + public final fun getInvoiceNumber ()Ljava/lang/String; + public final fun getSentAt ()Ljava/time/Instant; + public fun hashCode ()I + public fun toString ()Ljava/lang/String; +} + +public synthetic class io/portone/sdk/server/schemas/CancelledPaymentEscrow$$serializer : kotlinx/serialization/internal/GeneratedSerializer { + public static final field INSTANCE Lio/portone/sdk/server/schemas/CancelledPaymentEscrow$$serializer; + public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; + public final fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Lio/portone/sdk/server/schemas/CancelledPaymentEscrow; + public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; + public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; + public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lio/portone/sdk/server/schemas/CancelledPaymentEscrow;)V + public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; +} + +public final class io/portone/sdk/server/schemas/CancelledPaymentEscrow$Companion { + public final fun serializer ()Lkotlinx/serialization/KSerializer; +} + +public final class io/portone/sdk/server/schemas/Card { + public static final field Companion Lio/portone/sdk/server/schemas/Card$Companion; + public fun ()V + public fun (Ljava/lang/String;Ljava/lang/String;Lio/portone/sdk/server/schemas/CardBrand;Lio/portone/sdk/server/schemas/CardType;Lio/portone/sdk/server/schemas/CardOwnerType;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V + public synthetic fun (Ljava/lang/String;Ljava/lang/String;Lio/portone/sdk/server/schemas/CardBrand;Lio/portone/sdk/server/schemas/CardType;Lio/portone/sdk/server/schemas/CardOwnerType;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;ILkotlin/jvm/internal/DefaultConstructorMarker;)V + public final fun component1 ()Ljava/lang/String; + public final fun component2 ()Ljava/lang/String; + public final fun component3 ()Lio/portone/sdk/server/schemas/CardBrand; + public final fun component4 ()Lio/portone/sdk/server/schemas/CardType; + public final fun component5 ()Lio/portone/sdk/server/schemas/CardOwnerType; + public final fun component6 ()Ljava/lang/String; + public final fun component7 ()Ljava/lang/String; + public final fun component8 ()Ljava/lang/String; + public final fun copy (Ljava/lang/String;Ljava/lang/String;Lio/portone/sdk/server/schemas/CardBrand;Lio/portone/sdk/server/schemas/CardType;Lio/portone/sdk/server/schemas/CardOwnerType;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Lio/portone/sdk/server/schemas/Card; + public static synthetic fun copy$default (Lio/portone/sdk/server/schemas/Card;Ljava/lang/String;Ljava/lang/String;Lio/portone/sdk/server/schemas/CardBrand;Lio/portone/sdk/server/schemas/CardType;Lio/portone/sdk/server/schemas/CardOwnerType;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;ILjava/lang/Object;)Lio/portone/sdk/server/schemas/Card; + public fun equals (Ljava/lang/Object;)Z + public final fun getBin ()Ljava/lang/String; + public final fun getBrand ()Lio/portone/sdk/server/schemas/CardBrand; + public final fun getIssuer ()Ljava/lang/String; + public final fun getName ()Ljava/lang/String; + public final fun getNumber ()Ljava/lang/String; + public final fun getOwnerType ()Lio/portone/sdk/server/schemas/CardOwnerType; + public final fun getPublisher ()Ljava/lang/String; + public final fun getType ()Lio/portone/sdk/server/schemas/CardType; + public fun hashCode ()I + public fun toString ()Ljava/lang/String; +} + +public synthetic class io/portone/sdk/server/schemas/Card$$serializer : kotlinx/serialization/internal/GeneratedSerializer { + public static final field INSTANCE Lio/portone/sdk/server/schemas/Card$$serializer; + public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; + public final fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Lio/portone/sdk/server/schemas/Card; + public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; + public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; + public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lio/portone/sdk/server/schemas/Card;)V + public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; +} + +public final class io/portone/sdk/server/schemas/Card$Companion { + public final fun serializer ()Lkotlinx/serialization/KSerializer; +} + +public final class io/portone/sdk/server/schemas/CardBrand : java/lang/Enum { + public static final field AMEX Lio/portone/sdk/server/schemas/CardBrand; + public static final field Companion Lio/portone/sdk/server/schemas/CardBrand$Companion; + public static final field DINERS Lio/portone/sdk/server/schemas/CardBrand; + public static final field JCB Lio/portone/sdk/server/schemas/CardBrand; + public static final field LOCAL Lio/portone/sdk/server/schemas/CardBrand; + public static final field MASTER Lio/portone/sdk/server/schemas/CardBrand; + public static final field UNIONPAY Lio/portone/sdk/server/schemas/CardBrand; + public static final field VISA Lio/portone/sdk/server/schemas/CardBrand; + public static fun getEntries ()Lkotlin/enums/EnumEntries; + public static fun valueOf (Ljava/lang/String;)Lio/portone/sdk/server/schemas/CardBrand; + public static fun values ()[Lio/portone/sdk/server/schemas/CardBrand; +} + +public final class io/portone/sdk/server/schemas/CardBrand$Companion { + public final fun serializer ()Lkotlinx/serialization/KSerializer; +} + +public final class io/portone/sdk/server/schemas/CardCredential { + public static final field Companion Lio/portone/sdk/server/schemas/CardCredential$Companion; + public fun (Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V + public synthetic fun (Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;ILkotlin/jvm/internal/DefaultConstructorMarker;)V + public final fun component1 ()Ljava/lang/String; + public final fun component2 ()Ljava/lang/String; + public final fun component3 ()Ljava/lang/String; + public final fun component4 ()Ljava/lang/String; + public final fun component5 ()Ljava/lang/String; + public final fun copy (Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Lio/portone/sdk/server/schemas/CardCredential; + public static synthetic fun copy$default (Lio/portone/sdk/server/schemas/CardCredential;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;ILjava/lang/Object;)Lio/portone/sdk/server/schemas/CardCredential; + public fun equals (Ljava/lang/Object;)Z + public final fun getBirthOrBusinessRegistrationNumber ()Ljava/lang/String; + public final fun getExpiryMonth ()Ljava/lang/String; + public final fun getExpiryYear ()Ljava/lang/String; + public final fun getNumber ()Ljava/lang/String; + public final fun getPasswordTwoDigits ()Ljava/lang/String; + public fun hashCode ()I + public fun toString ()Ljava/lang/String; +} + +public synthetic class io/portone/sdk/server/schemas/CardCredential$$serializer : kotlinx/serialization/internal/GeneratedSerializer { + public static final field INSTANCE Lio/portone/sdk/server/schemas/CardCredential$$serializer; + public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; + public final fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Lio/portone/sdk/server/schemas/CardCredential; + public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; + public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; + public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lio/portone/sdk/server/schemas/CardCredential;)V + public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; +} + +public final class io/portone/sdk/server/schemas/CardCredential$Companion { + public final fun serializer ()Lkotlinx/serialization/KSerializer; +} + +public final class io/portone/sdk/server/schemas/CardOwnerType : java/lang/Enum { + public static final field CORPORATE Lio/portone/sdk/server/schemas/CardOwnerType; + public static final field Companion Lio/portone/sdk/server/schemas/CardOwnerType$Companion; + public static final field PERSONAL Lio/portone/sdk/server/schemas/CardOwnerType; + public static fun getEntries ()Lkotlin/enums/EnumEntries; + public static fun valueOf (Ljava/lang/String;)Lio/portone/sdk/server/schemas/CardOwnerType; + public static fun values ()[Lio/portone/sdk/server/schemas/CardOwnerType; +} + +public final class io/portone/sdk/server/schemas/CardOwnerType$Companion { + public final fun serializer ()Lkotlinx/serialization/KSerializer; +} + +public final class io/portone/sdk/server/schemas/CardType : java/lang/Enum { + public static final field CREDIT Lio/portone/sdk/server/schemas/CardType; + public static final field Companion Lio/portone/sdk/server/schemas/CardType$Companion; + public static final field DEBIT Lio/portone/sdk/server/schemas/CardType; + public static final field GIFT Lio/portone/sdk/server/schemas/CardType; + public static fun getEntries ()Lkotlin/enums/EnumEntries; + public static fun valueOf (Ljava/lang/String;)Lio/portone/sdk/server/schemas/CardType; + public static fun values ()[Lio/portone/sdk/server/schemas/CardType; +} + +public final class io/portone/sdk/server/schemas/CardType$Companion { + public final fun serializer ()Lkotlinx/serialization/KSerializer; +} + +public abstract interface class io/portone/sdk/server/schemas/CashReceipt { + public static final field Companion Lio/portone/sdk/server/schemas/CashReceipt$Companion; + public abstract fun getChannel ()Lio/portone/sdk/server/schemas/SelectedChannel; + public abstract fun getMerchantId ()Ljava/lang/String; + public abstract fun getOrderName ()Ljava/lang/String; + public abstract fun getPaymentId ()Ljava/lang/String; + public abstract fun getStoreId ()Ljava/lang/String; + public abstract fun isManual ()Z +} + +public final class io/portone/sdk/server/schemas/CashReceipt$Companion { + public final fun serializer ()Lkotlinx/serialization/KSerializer; +} + +public final class io/portone/sdk/server/schemas/CashReceiptAlreadyIssuedException : java/lang/Exception { + public fun ()V + public fun (Ljava/lang/String;)V + public synthetic fun (Ljava/lang/String;ILkotlin/jvm/internal/DefaultConstructorMarker;)V +} + +public final class io/portone/sdk/server/schemas/CashReceiptInput { + public static final field Companion Lio/portone/sdk/server/schemas/CashReceiptInput$Companion; + public fun (Lio/portone/sdk/server/schemas/CashReceiptInputType;Ljava/lang/String;)V + public synthetic fun (Lio/portone/sdk/server/schemas/CashReceiptInputType;Ljava/lang/String;ILkotlin/jvm/internal/DefaultConstructorMarker;)V + public final fun component1 ()Lio/portone/sdk/server/schemas/CashReceiptInputType; + public final fun component2 ()Ljava/lang/String; + public final fun copy (Lio/portone/sdk/server/schemas/CashReceiptInputType;Ljava/lang/String;)Lio/portone/sdk/server/schemas/CashReceiptInput; + public static synthetic fun copy$default (Lio/portone/sdk/server/schemas/CashReceiptInput;Lio/portone/sdk/server/schemas/CashReceiptInputType;Ljava/lang/String;ILjava/lang/Object;)Lio/portone/sdk/server/schemas/CashReceiptInput; + public fun equals (Ljava/lang/Object;)Z + public final fun getCustomerIdentityNumber ()Ljava/lang/String; + public final fun getType ()Lio/portone/sdk/server/schemas/CashReceiptInputType; + public fun hashCode ()I + public fun toString ()Ljava/lang/String; +} + +public synthetic class io/portone/sdk/server/schemas/CashReceiptInput$$serializer : kotlinx/serialization/internal/GeneratedSerializer { + public static final field INSTANCE Lio/portone/sdk/server/schemas/CashReceiptInput$$serializer; + public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; + public final fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Lio/portone/sdk/server/schemas/CashReceiptInput; + public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; + public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; + public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lio/portone/sdk/server/schemas/CashReceiptInput;)V + public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; +} + +public final class io/portone/sdk/server/schemas/CashReceiptInput$Companion { + public final fun serializer ()Lkotlinx/serialization/KSerializer; +} + +public final class io/portone/sdk/server/schemas/CashReceiptInputType : java/lang/Enum { + public static final field CORPORATE Lio/portone/sdk/server/schemas/CashReceiptInputType; + public static final field Companion Lio/portone/sdk/server/schemas/CashReceiptInputType$Companion; + public static final field NO_RECEIPT Lio/portone/sdk/server/schemas/CashReceiptInputType; + public static final field PERSONAL Lio/portone/sdk/server/schemas/CashReceiptInputType; + public static fun getEntries ()Lkotlin/enums/EnumEntries; + public static fun valueOf (Ljava/lang/String;)Lio/portone/sdk/server/schemas/CashReceiptInputType; + public static fun values ()[Lio/portone/sdk/server/schemas/CashReceiptInputType; +} + +public final class io/portone/sdk/server/schemas/CashReceiptInputType$Companion { + public final fun serializer ()Lkotlinx/serialization/KSerializer; +} + +public final class io/portone/sdk/server/schemas/CashReceiptNotFoundException : java/lang/Exception { + public fun ()V + public fun (Ljava/lang/String;)V + public synthetic fun (Ljava/lang/String;ILkotlin/jvm/internal/DefaultConstructorMarker;)V +} + +public final class io/portone/sdk/server/schemas/CashReceiptNotIssuedException : java/lang/Exception { + public fun ()V + public fun (Ljava/lang/String;)V + public synthetic fun (Ljava/lang/String;ILkotlin/jvm/internal/DefaultConstructorMarker;)V +} + +public final class io/portone/sdk/server/schemas/CashReceiptSummary { + public static final field Companion Lio/portone/sdk/server/schemas/CashReceiptSummary$Companion; + public fun (Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V + public final fun component1 ()Ljava/lang/String; + public final fun component2 ()Ljava/lang/String; + public final fun component3 ()Ljava/lang/String; + public final fun copy (Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Lio/portone/sdk/server/schemas/CashReceiptSummary; + public static synthetic fun copy$default (Lio/portone/sdk/server/schemas/CashReceiptSummary;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;ILjava/lang/Object;)Lio/portone/sdk/server/schemas/CashReceiptSummary; + public fun equals (Ljava/lang/Object;)Z + public final fun getIssueNumber ()Ljava/lang/String; + public final fun getPgReceiptId ()Ljava/lang/String; + public final fun getUrl ()Ljava/lang/String; + public fun hashCode ()I + public fun toString ()Ljava/lang/String; +} + +public synthetic class io/portone/sdk/server/schemas/CashReceiptSummary$$serializer : kotlinx/serialization/internal/GeneratedSerializer { + public static final field INSTANCE Lio/portone/sdk/server/schemas/CashReceiptSummary$$serializer; + public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; + public final fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Lio/portone/sdk/server/schemas/CashReceiptSummary; + public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; + public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; + public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lio/portone/sdk/server/schemas/CashReceiptSummary;)V + public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; +} + +public final class io/portone/sdk/server/schemas/CashReceiptSummary$Companion { + public final fun serializer ()Lkotlinx/serialization/KSerializer; +} + +public final class io/portone/sdk/server/schemas/CashReceiptType : java/lang/Enum { + public static final field CORPORATE Lio/portone/sdk/server/schemas/CashReceiptType; + public static final field Companion Lio/portone/sdk/server/schemas/CashReceiptType$Companion; + public static final field PERSONAL Lio/portone/sdk/server/schemas/CashReceiptType; + public static fun getEntries ()Lkotlin/enums/EnumEntries; + public static fun valueOf (Ljava/lang/String;)Lio/portone/sdk/server/schemas/CashReceiptType; + public static fun values ()[Lio/portone/sdk/server/schemas/CashReceiptType; +} + +public final class io/portone/sdk/server/schemas/CashReceiptType$Companion { + public final fun serializer ()Lkotlinx/serialization/KSerializer; +} + +public final class io/portone/sdk/server/schemas/ChannelGroupSummary { + public static final field Companion Lio/portone/sdk/server/schemas/ChannelGroupSummary$Companion; + public fun (Ljava/lang/String;Ljava/lang/String;Z)V + public final fun component1 ()Ljava/lang/String; + public final fun component2 ()Ljava/lang/String; + public final fun component3 ()Z + public final fun copy (Ljava/lang/String;Ljava/lang/String;Z)Lio/portone/sdk/server/schemas/ChannelGroupSummary; + public static synthetic fun copy$default (Lio/portone/sdk/server/schemas/ChannelGroupSummary;Ljava/lang/String;Ljava/lang/String;ZILjava/lang/Object;)Lio/portone/sdk/server/schemas/ChannelGroupSummary; + public fun equals (Ljava/lang/Object;)Z + public final fun getId ()Ljava/lang/String; + public final fun getName ()Ljava/lang/String; + public fun hashCode ()I + public final fun isForTest ()Z + public fun toString ()Ljava/lang/String; +} + +public synthetic class io/portone/sdk/server/schemas/ChannelGroupSummary$$serializer : kotlinx/serialization/internal/GeneratedSerializer { + public static final field INSTANCE Lio/portone/sdk/server/schemas/ChannelGroupSummary$$serializer; + public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; + public final fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Lio/portone/sdk/server/schemas/ChannelGroupSummary; + public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; + public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; + public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lio/portone/sdk/server/schemas/ChannelGroupSummary;)V + public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; +} + +public final class io/portone/sdk/server/schemas/ChannelGroupSummary$Companion { + public final fun serializer ()Lkotlinx/serialization/KSerializer; +} + +public final class io/portone/sdk/server/schemas/ChannelNotFoundException : java/lang/Exception { + public fun ()V + public fun (Ljava/lang/String;)V + public synthetic fun (Ljava/lang/String;ILkotlin/jvm/internal/DefaultConstructorMarker;)V +} + +public final class io/portone/sdk/server/schemas/ChannelSpecificException : java/lang/Exception { + public fun (Ljava/lang/String;Ljava/util/List;Ljava/util/List;)V + public synthetic fun (Ljava/lang/String;Ljava/util/List;Ljava/util/List;ILkotlin/jvm/internal/DefaultConstructorMarker;)V + public final fun getFailures ()Ljava/util/List; + public final fun getSucceededChannels ()Ljava/util/List; +} + +public abstract interface class io/portone/sdk/server/schemas/ChannelSpecificFailure { + public static final field Companion Lio/portone/sdk/server/schemas/ChannelSpecificFailure$Companion; + public abstract fun getChannel ()Lio/portone/sdk/server/schemas/SelectedChannel; + public abstract fun getMessage ()Ljava/lang/String; +} + +public final class io/portone/sdk/server/schemas/ChannelSpecificFailure$Companion { + public final fun serializer ()Lkotlinx/serialization/KSerializer; +} + +public final class io/portone/sdk/server/schemas/ChannelSpecificFailureInvalidRequest : io/portone/sdk/server/schemas/ChannelSpecificFailure { + public static final field Companion Lio/portone/sdk/server/schemas/ChannelSpecificFailureInvalidRequest$Companion; + public fun (Lio/portone/sdk/server/schemas/SelectedChannel;Ljava/lang/String;)V + public synthetic fun (Lio/portone/sdk/server/schemas/SelectedChannel;Ljava/lang/String;ILkotlin/jvm/internal/DefaultConstructorMarker;)V + public final fun component1 ()Lio/portone/sdk/server/schemas/SelectedChannel; + public final fun component2 ()Ljava/lang/String; + public final fun copy (Lio/portone/sdk/server/schemas/SelectedChannel;Ljava/lang/String;)Lio/portone/sdk/server/schemas/ChannelSpecificFailureInvalidRequest; + public static synthetic fun copy$default (Lio/portone/sdk/server/schemas/ChannelSpecificFailureInvalidRequest;Lio/portone/sdk/server/schemas/SelectedChannel;Ljava/lang/String;ILjava/lang/Object;)Lio/portone/sdk/server/schemas/ChannelSpecificFailureInvalidRequest; + public fun equals (Ljava/lang/Object;)Z + public fun getChannel ()Lio/portone/sdk/server/schemas/SelectedChannel; + public fun getMessage ()Ljava/lang/String; + public fun hashCode ()I + public fun toString ()Ljava/lang/String; +} + +public synthetic class io/portone/sdk/server/schemas/ChannelSpecificFailureInvalidRequest$$serializer : kotlinx/serialization/internal/GeneratedSerializer { + public static final field INSTANCE Lio/portone/sdk/server/schemas/ChannelSpecificFailureInvalidRequest$$serializer; + public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; + public final fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Lio/portone/sdk/server/schemas/ChannelSpecificFailureInvalidRequest; + public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; + public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; + public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lio/portone/sdk/server/schemas/ChannelSpecificFailureInvalidRequest;)V + public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; +} + +public final class io/portone/sdk/server/schemas/ChannelSpecificFailureInvalidRequest$Companion { + public final fun serializer ()Lkotlinx/serialization/KSerializer; +} + +public final class io/portone/sdk/server/schemas/ChannelSpecificFailurePgProvider : io/portone/sdk/server/schemas/ChannelSpecificFailure { + public static final field Companion Lio/portone/sdk/server/schemas/ChannelSpecificFailurePgProvider$Companion; + public fun (Lio/portone/sdk/server/schemas/SelectedChannel;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V + public synthetic fun (Lio/portone/sdk/server/schemas/SelectedChannel;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;ILkotlin/jvm/internal/DefaultConstructorMarker;)V + public final fun component1 ()Lio/portone/sdk/server/schemas/SelectedChannel; + public final fun component2 ()Ljava/lang/String; + public final fun component3 ()Ljava/lang/String; + public final fun component4 ()Ljava/lang/String; + public final fun copy (Lio/portone/sdk/server/schemas/SelectedChannel;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Lio/portone/sdk/server/schemas/ChannelSpecificFailurePgProvider; + public static synthetic fun copy$default (Lio/portone/sdk/server/schemas/ChannelSpecificFailurePgProvider;Lio/portone/sdk/server/schemas/SelectedChannel;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;ILjava/lang/Object;)Lio/portone/sdk/server/schemas/ChannelSpecificFailurePgProvider; + public fun equals (Ljava/lang/Object;)Z + public fun getChannel ()Lio/portone/sdk/server/schemas/SelectedChannel; + public fun getMessage ()Ljava/lang/String; + public final fun getPgCode ()Ljava/lang/String; + public final fun getPgMessage ()Ljava/lang/String; + public fun hashCode ()I + public fun toString ()Ljava/lang/String; +} + +public synthetic class io/portone/sdk/server/schemas/ChannelSpecificFailurePgProvider$$serializer : kotlinx/serialization/internal/GeneratedSerializer { + public static final field INSTANCE Lio/portone/sdk/server/schemas/ChannelSpecificFailurePgProvider$$serializer; + public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; + public final fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Lio/portone/sdk/server/schemas/ChannelSpecificFailurePgProvider; + public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; + public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; + public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lio/portone/sdk/server/schemas/ChannelSpecificFailurePgProvider;)V + public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; +} + +public final class io/portone/sdk/server/schemas/ChannelSpecificFailurePgProvider$Companion { + public final fun serializer ()Lkotlinx/serialization/KSerializer; +} + +public final class io/portone/sdk/server/schemas/CloseVirtualAccountResponse { + public static final field Companion Lio/portone/sdk/server/schemas/CloseVirtualAccountResponse$Companion; + public fun (Ljava/time/Instant;)V + public final fun component1 ()Ljava/time/Instant; + public final fun copy (Ljava/time/Instant;)Lio/portone/sdk/server/schemas/CloseVirtualAccountResponse; + public static synthetic fun copy$default (Lio/portone/sdk/server/schemas/CloseVirtualAccountResponse;Ljava/time/Instant;ILjava/lang/Object;)Lio/portone/sdk/server/schemas/CloseVirtualAccountResponse; + public fun equals (Ljava/lang/Object;)Z + public final fun getClosedAt ()Ljava/time/Instant; + public fun hashCode ()I + public fun toString ()Ljava/lang/String; +} + +public synthetic class io/portone/sdk/server/schemas/CloseVirtualAccountResponse$$serializer : kotlinx/serialization/internal/GeneratedSerializer { + public static final field INSTANCE Lio/portone/sdk/server/schemas/CloseVirtualAccountResponse$$serializer; + public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; + public final fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Lio/portone/sdk/server/schemas/CloseVirtualAccountResponse; + public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; + public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; + public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lio/portone/sdk/server/schemas/CloseVirtualAccountResponse;)V + public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; +} + +public final class io/portone/sdk/server/schemas/CloseVirtualAccountResponse$Companion { + public final fun serializer ()Lkotlinx/serialization/KSerializer; +} + +public final class io/portone/sdk/server/schemas/ConfirmEscrowResponse { + public static final field Companion Lio/portone/sdk/server/schemas/ConfirmEscrowResponse$Companion; + public fun (Ljava/time/Instant;)V + public final fun component1 ()Ljava/time/Instant; + public final fun copy (Ljava/time/Instant;)Lio/portone/sdk/server/schemas/ConfirmEscrowResponse; + public static synthetic fun copy$default (Lio/portone/sdk/server/schemas/ConfirmEscrowResponse;Ljava/time/Instant;ILjava/lang/Object;)Lio/portone/sdk/server/schemas/ConfirmEscrowResponse; + public fun equals (Ljava/lang/Object;)Z + public final fun getCompletedAt ()Ljava/time/Instant; + public fun hashCode ()I + public fun toString ()Ljava/lang/String; +} + +public synthetic class io/portone/sdk/server/schemas/ConfirmEscrowResponse$$serializer : kotlinx/serialization/internal/GeneratedSerializer { + public static final field INSTANCE Lio/portone/sdk/server/schemas/ConfirmEscrowResponse$$serializer; + public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; + public final fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Lio/portone/sdk/server/schemas/ConfirmEscrowResponse; + public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; + public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; + public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lio/portone/sdk/server/schemas/ConfirmEscrowResponse;)V + public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; +} + +public final class io/portone/sdk/server/schemas/ConfirmEscrowResponse$Companion { + public final fun serializer ()Lkotlinx/serialization/KSerializer; +} + +public final class io/portone/sdk/server/schemas/ConfirmIdentityVerificationResponse { + public static final field Companion Lio/portone/sdk/server/schemas/ConfirmIdentityVerificationResponse$Companion; + public fun (Lio/portone/sdk/server/schemas/VerifiedIdentityVerification;)V + public final fun component1 ()Lio/portone/sdk/server/schemas/VerifiedIdentityVerification; + public final fun copy (Lio/portone/sdk/server/schemas/VerifiedIdentityVerification;)Lio/portone/sdk/server/schemas/ConfirmIdentityVerificationResponse; + public static synthetic fun copy$default (Lio/portone/sdk/server/schemas/ConfirmIdentityVerificationResponse;Lio/portone/sdk/server/schemas/VerifiedIdentityVerification;ILjava/lang/Object;)Lio/portone/sdk/server/schemas/ConfirmIdentityVerificationResponse; + public fun equals (Ljava/lang/Object;)Z + public final fun getIdentityVerification ()Lio/portone/sdk/server/schemas/VerifiedIdentityVerification; + public fun hashCode ()I + public fun toString ()Ljava/lang/String; +} + +public synthetic class io/portone/sdk/server/schemas/ConfirmIdentityVerificationResponse$$serializer : kotlinx/serialization/internal/GeneratedSerializer { + public static final field INSTANCE Lio/portone/sdk/server/schemas/ConfirmIdentityVerificationResponse$$serializer; + public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; + public final fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Lio/portone/sdk/server/schemas/ConfirmIdentityVerificationResponse; + public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; + public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; + public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lio/portone/sdk/server/schemas/ConfirmIdentityVerificationResponse;)V + public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; +} + +public final class io/portone/sdk/server/schemas/ConfirmIdentityVerificationResponse$Companion { + public final fun serializer ()Lkotlinx/serialization/KSerializer; +} + +public final class io/portone/sdk/server/schemas/ConfirmedPaymentEscrow : io/portone/sdk/server/schemas/PaymentEscrow { + public static final field Companion Lio/portone/sdk/server/schemas/ConfirmedPaymentEscrow$Companion; + public fun (Ljava/lang/String;Ljava/lang/String;Ljava/time/Instant;Ljava/time/Instant;Z)V + public synthetic fun (Ljava/lang/String;Ljava/lang/String;Ljava/time/Instant;Ljava/time/Instant;ZILkotlin/jvm/internal/DefaultConstructorMarker;)V + public final fun component1 ()Ljava/lang/String; + public final fun component2 ()Ljava/lang/String; + public final fun component3 ()Ljava/time/Instant; + public final fun component4 ()Ljava/time/Instant; + public final fun component5 ()Z + public final fun copy (Ljava/lang/String;Ljava/lang/String;Ljava/time/Instant;Ljava/time/Instant;Z)Lio/portone/sdk/server/schemas/ConfirmedPaymentEscrow; + public static synthetic fun copy$default (Lio/portone/sdk/server/schemas/ConfirmedPaymentEscrow;Ljava/lang/String;Ljava/lang/String;Ljava/time/Instant;Ljava/time/Instant;ZILjava/lang/Object;)Lio/portone/sdk/server/schemas/ConfirmedPaymentEscrow; + public fun equals (Ljava/lang/Object;)Z + public final fun getAppliedAt ()Ljava/time/Instant; + public final fun getCompany ()Ljava/lang/String; + public final fun getInvoiceNumber ()Ljava/lang/String; + public final fun getSentAt ()Ljava/time/Instant; + public fun hashCode ()I + public final fun isAutomaticallyConfirmed ()Z + public fun toString ()Ljava/lang/String; +} + +public synthetic class io/portone/sdk/server/schemas/ConfirmedPaymentEscrow$$serializer : kotlinx/serialization/internal/GeneratedSerializer { + public static final field INSTANCE Lio/portone/sdk/server/schemas/ConfirmedPaymentEscrow$$serializer; + public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; + public final fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Lio/portone/sdk/server/schemas/ConfirmedPaymentEscrow; + public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; + public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; + public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lio/portone/sdk/server/schemas/ConfirmedPaymentEscrow;)V + public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; +} + +public final class io/portone/sdk/server/schemas/ConfirmedPaymentEscrow$Companion { + public final fun serializer ()Lkotlinx/serialization/KSerializer; +} + +public final class io/portone/sdk/server/schemas/Country : java/lang/Enum { + public static final field AD Lio/portone/sdk/server/schemas/Country; + public static final field AE Lio/portone/sdk/server/schemas/Country; + public static final field AF Lio/portone/sdk/server/schemas/Country; + public static final field AG Lio/portone/sdk/server/schemas/Country; + public static final field AI Lio/portone/sdk/server/schemas/Country; + public static final field AL Lio/portone/sdk/server/schemas/Country; + public static final field AM Lio/portone/sdk/server/schemas/Country; + public static final field AO Lio/portone/sdk/server/schemas/Country; + public static final field AQ Lio/portone/sdk/server/schemas/Country; + public static final field AR Lio/portone/sdk/server/schemas/Country; + public static final field AS Lio/portone/sdk/server/schemas/Country; + public static final field AT Lio/portone/sdk/server/schemas/Country; + public static final field AU Lio/portone/sdk/server/schemas/Country; + public static final field AW Lio/portone/sdk/server/schemas/Country; + public static final field AX Lio/portone/sdk/server/schemas/Country; + public static final field AZ Lio/portone/sdk/server/schemas/Country; + public static final field BA Lio/portone/sdk/server/schemas/Country; + public static final field BB Lio/portone/sdk/server/schemas/Country; + public static final field BD Lio/portone/sdk/server/schemas/Country; + public static final field BE Lio/portone/sdk/server/schemas/Country; + public static final field BF Lio/portone/sdk/server/schemas/Country; + public static final field BG Lio/portone/sdk/server/schemas/Country; + public static final field BH Lio/portone/sdk/server/schemas/Country; + public static final field BI Lio/portone/sdk/server/schemas/Country; + public static final field BJ Lio/portone/sdk/server/schemas/Country; + public static final field BL Lio/portone/sdk/server/schemas/Country; + public static final field BM Lio/portone/sdk/server/schemas/Country; + public static final field BN Lio/portone/sdk/server/schemas/Country; + public static final field BO Lio/portone/sdk/server/schemas/Country; + public static final field BQ Lio/portone/sdk/server/schemas/Country; + public static final field BR Lio/portone/sdk/server/schemas/Country; + public static final field BS Lio/portone/sdk/server/schemas/Country; + public static final field BT Lio/portone/sdk/server/schemas/Country; + public static final field BV Lio/portone/sdk/server/schemas/Country; + public static final field BW Lio/portone/sdk/server/schemas/Country; + public static final field BY Lio/portone/sdk/server/schemas/Country; + public static final field BZ Lio/portone/sdk/server/schemas/Country; + public static final field CA Lio/portone/sdk/server/schemas/Country; + public static final field CC Lio/portone/sdk/server/schemas/Country; + public static final field CD Lio/portone/sdk/server/schemas/Country; + public static final field CF Lio/portone/sdk/server/schemas/Country; + public static final field CG Lio/portone/sdk/server/schemas/Country; + public static final field CH Lio/portone/sdk/server/schemas/Country; + public static final field CI Lio/portone/sdk/server/schemas/Country; + public static final field CK Lio/portone/sdk/server/schemas/Country; + public static final field CL Lio/portone/sdk/server/schemas/Country; + public static final field CM Lio/portone/sdk/server/schemas/Country; + public static final field CN Lio/portone/sdk/server/schemas/Country; + public static final field CO Lio/portone/sdk/server/schemas/Country; + public static final field CR Lio/portone/sdk/server/schemas/Country; + public static final field CU Lio/portone/sdk/server/schemas/Country; + public static final field CV Lio/portone/sdk/server/schemas/Country; + public static final field CW Lio/portone/sdk/server/schemas/Country; + public static final field CX Lio/portone/sdk/server/schemas/Country; + public static final field CY Lio/portone/sdk/server/schemas/Country; + public static final field CZ Lio/portone/sdk/server/schemas/Country; + public static final field Companion Lio/portone/sdk/server/schemas/Country$Companion; + public static final field DE Lio/portone/sdk/server/schemas/Country; + public static final field DJ Lio/portone/sdk/server/schemas/Country; + public static final field DK Lio/portone/sdk/server/schemas/Country; + public static final field DM Lio/portone/sdk/server/schemas/Country; + public static final field DO Lio/portone/sdk/server/schemas/Country; + public static final field DZ Lio/portone/sdk/server/schemas/Country; + public static final field EC Lio/portone/sdk/server/schemas/Country; + public static final field EE Lio/portone/sdk/server/schemas/Country; + public static final field EG Lio/portone/sdk/server/schemas/Country; + public static final field EH Lio/portone/sdk/server/schemas/Country; + public static final field ER Lio/portone/sdk/server/schemas/Country; + public static final field ES Lio/portone/sdk/server/schemas/Country; + public static final field ET Lio/portone/sdk/server/schemas/Country; + public static final field FI Lio/portone/sdk/server/schemas/Country; + public static final field FJ Lio/portone/sdk/server/schemas/Country; + public static final field FK Lio/portone/sdk/server/schemas/Country; + public static final field FM Lio/portone/sdk/server/schemas/Country; + public static final field FO Lio/portone/sdk/server/schemas/Country; + public static final field FR Lio/portone/sdk/server/schemas/Country; + public static final field GA Lio/portone/sdk/server/schemas/Country; + public static final field GB Lio/portone/sdk/server/schemas/Country; + public static final field GD Lio/portone/sdk/server/schemas/Country; + public static final field GE Lio/portone/sdk/server/schemas/Country; + public static final field GF Lio/portone/sdk/server/schemas/Country; + public static final field GG Lio/portone/sdk/server/schemas/Country; + public static final field GH Lio/portone/sdk/server/schemas/Country; + public static final field GI Lio/portone/sdk/server/schemas/Country; + public static final field GL Lio/portone/sdk/server/schemas/Country; + public static final field GM Lio/portone/sdk/server/schemas/Country; + public static final field GN Lio/portone/sdk/server/schemas/Country; + public static final field GP Lio/portone/sdk/server/schemas/Country; + public static final field GQ Lio/portone/sdk/server/schemas/Country; + public static final field GR Lio/portone/sdk/server/schemas/Country; + public static final field GS Lio/portone/sdk/server/schemas/Country; + public static final field GT Lio/portone/sdk/server/schemas/Country; + public static final field GU Lio/portone/sdk/server/schemas/Country; + public static final field GW Lio/portone/sdk/server/schemas/Country; + public static final field GY Lio/portone/sdk/server/schemas/Country; + public static final field HK Lio/portone/sdk/server/schemas/Country; + public static final field HM Lio/portone/sdk/server/schemas/Country; + public static final field HN Lio/portone/sdk/server/schemas/Country; + public static final field HR Lio/portone/sdk/server/schemas/Country; + public static final field HT Lio/portone/sdk/server/schemas/Country; + public static final field HU Lio/portone/sdk/server/schemas/Country; + public static final field ID Lio/portone/sdk/server/schemas/Country; + public static final field IE Lio/portone/sdk/server/schemas/Country; + public static final field IL Lio/portone/sdk/server/schemas/Country; + public static final field IM Lio/portone/sdk/server/schemas/Country; + public static final field IN Lio/portone/sdk/server/schemas/Country; + public static final field IO Lio/portone/sdk/server/schemas/Country; + public static final field IQ Lio/portone/sdk/server/schemas/Country; + public static final field IR Lio/portone/sdk/server/schemas/Country; + public static final field IS Lio/portone/sdk/server/schemas/Country; + public static final field IT Lio/portone/sdk/server/schemas/Country; + public static final field JE Lio/portone/sdk/server/schemas/Country; + public static final field JM Lio/portone/sdk/server/schemas/Country; + public static final field JO Lio/portone/sdk/server/schemas/Country; + public static final field JP Lio/portone/sdk/server/schemas/Country; + public static final field KE Lio/portone/sdk/server/schemas/Country; + public static final field KG Lio/portone/sdk/server/schemas/Country; + public static final field KH Lio/portone/sdk/server/schemas/Country; + public static final field KI Lio/portone/sdk/server/schemas/Country; + public static final field KM Lio/portone/sdk/server/schemas/Country; + public static final field KN Lio/portone/sdk/server/schemas/Country; + public static final field KP Lio/portone/sdk/server/schemas/Country; + public static final field KR Lio/portone/sdk/server/schemas/Country; + public static final field KW Lio/portone/sdk/server/schemas/Country; + public static final field KY Lio/portone/sdk/server/schemas/Country; + public static final field KZ Lio/portone/sdk/server/schemas/Country; + public static final field LA Lio/portone/sdk/server/schemas/Country; + public static final field LB Lio/portone/sdk/server/schemas/Country; + public static final field LC Lio/portone/sdk/server/schemas/Country; + public static final field LI Lio/portone/sdk/server/schemas/Country; + public static final field LK Lio/portone/sdk/server/schemas/Country; + public static final field LR Lio/portone/sdk/server/schemas/Country; + public static final field LS Lio/portone/sdk/server/schemas/Country; + public static final field LT Lio/portone/sdk/server/schemas/Country; + public static final field LU Lio/portone/sdk/server/schemas/Country; + public static final field LV Lio/portone/sdk/server/schemas/Country; + public static final field LY Lio/portone/sdk/server/schemas/Country; + public static final field MA Lio/portone/sdk/server/schemas/Country; + public static final field MC Lio/portone/sdk/server/schemas/Country; + public static final field MD Lio/portone/sdk/server/schemas/Country; + public static final field ME Lio/portone/sdk/server/schemas/Country; + public static final field MF Lio/portone/sdk/server/schemas/Country; + public static final field MG Lio/portone/sdk/server/schemas/Country; + public static final field MH Lio/portone/sdk/server/schemas/Country; + public static final field MK Lio/portone/sdk/server/schemas/Country; + public static final field ML Lio/portone/sdk/server/schemas/Country; + public static final field MM Lio/portone/sdk/server/schemas/Country; + public static final field MN Lio/portone/sdk/server/schemas/Country; + public static final field MO Lio/portone/sdk/server/schemas/Country; + public static final field MP Lio/portone/sdk/server/schemas/Country; + public static final field MQ Lio/portone/sdk/server/schemas/Country; + public static final field MR Lio/portone/sdk/server/schemas/Country; + public static final field MS Lio/portone/sdk/server/schemas/Country; + public static final field MT Lio/portone/sdk/server/schemas/Country; + public static final field MU Lio/portone/sdk/server/schemas/Country; + public static final field MV Lio/portone/sdk/server/schemas/Country; + public static final field MW Lio/portone/sdk/server/schemas/Country; + public static final field MX Lio/portone/sdk/server/schemas/Country; + public static final field MY Lio/portone/sdk/server/schemas/Country; + public static final field MZ Lio/portone/sdk/server/schemas/Country; + public static final field NA Lio/portone/sdk/server/schemas/Country; + public static final field NC Lio/portone/sdk/server/schemas/Country; + public static final field NE Lio/portone/sdk/server/schemas/Country; + public static final field NF Lio/portone/sdk/server/schemas/Country; + public static final field NG Lio/portone/sdk/server/schemas/Country; + public static final field NI Lio/portone/sdk/server/schemas/Country; + public static final field NL Lio/portone/sdk/server/schemas/Country; + public static final field NO Lio/portone/sdk/server/schemas/Country; + public static final field NP Lio/portone/sdk/server/schemas/Country; + public static final field NR Lio/portone/sdk/server/schemas/Country; + public static final field NU Lio/portone/sdk/server/schemas/Country; + public static final field NZ Lio/portone/sdk/server/schemas/Country; + public static final field OM Lio/portone/sdk/server/schemas/Country; + public static final field PA Lio/portone/sdk/server/schemas/Country; + public static final field PE Lio/portone/sdk/server/schemas/Country; + public static final field PF Lio/portone/sdk/server/schemas/Country; + public static final field PG Lio/portone/sdk/server/schemas/Country; + public static final field PH Lio/portone/sdk/server/schemas/Country; + public static final field PK Lio/portone/sdk/server/schemas/Country; + public static final field PL Lio/portone/sdk/server/schemas/Country; + public static final field PM Lio/portone/sdk/server/schemas/Country; + public static final field PN Lio/portone/sdk/server/schemas/Country; + public static final field PR Lio/portone/sdk/server/schemas/Country; + public static final field PS Lio/portone/sdk/server/schemas/Country; + public static final field PT Lio/portone/sdk/server/schemas/Country; + public static final field PW Lio/portone/sdk/server/schemas/Country; + public static final field PY Lio/portone/sdk/server/schemas/Country; + public static final field QA Lio/portone/sdk/server/schemas/Country; + public static final field RE Lio/portone/sdk/server/schemas/Country; + public static final field RO Lio/portone/sdk/server/schemas/Country; + public static final field RS Lio/portone/sdk/server/schemas/Country; + public static final field RU Lio/portone/sdk/server/schemas/Country; + public static final field RW Lio/portone/sdk/server/schemas/Country; + public static final field SA Lio/portone/sdk/server/schemas/Country; + public static final field SB Lio/portone/sdk/server/schemas/Country; + public static final field SC Lio/portone/sdk/server/schemas/Country; + public static final field SD Lio/portone/sdk/server/schemas/Country; + public static final field SE Lio/portone/sdk/server/schemas/Country; + public static final field SG Lio/portone/sdk/server/schemas/Country; + public static final field SH Lio/portone/sdk/server/schemas/Country; + public static final field SI Lio/portone/sdk/server/schemas/Country; + public static final field SJ Lio/portone/sdk/server/schemas/Country; + public static final field SK Lio/portone/sdk/server/schemas/Country; + public static final field SL Lio/portone/sdk/server/schemas/Country; + public static final field SM Lio/portone/sdk/server/schemas/Country; + public static final field SN Lio/portone/sdk/server/schemas/Country; + public static final field SO Lio/portone/sdk/server/schemas/Country; + public static final field SR Lio/portone/sdk/server/schemas/Country; + public static final field SS Lio/portone/sdk/server/schemas/Country; + public static final field ST Lio/portone/sdk/server/schemas/Country; + public static final field SV Lio/portone/sdk/server/schemas/Country; + public static final field SX Lio/portone/sdk/server/schemas/Country; + public static final field SY Lio/portone/sdk/server/schemas/Country; + public static final field SZ Lio/portone/sdk/server/schemas/Country; + public static final field TC Lio/portone/sdk/server/schemas/Country; + public static final field TD Lio/portone/sdk/server/schemas/Country; + public static final field TF Lio/portone/sdk/server/schemas/Country; + public static final field TG Lio/portone/sdk/server/schemas/Country; + public static final field TH Lio/portone/sdk/server/schemas/Country; + public static final field TJ Lio/portone/sdk/server/schemas/Country; + public static final field TK Lio/portone/sdk/server/schemas/Country; + public static final field TL Lio/portone/sdk/server/schemas/Country; + public static final field TM Lio/portone/sdk/server/schemas/Country; + public static final field TN Lio/portone/sdk/server/schemas/Country; + public static final field TO Lio/portone/sdk/server/schemas/Country; + public static final field TR Lio/portone/sdk/server/schemas/Country; + public static final field TT Lio/portone/sdk/server/schemas/Country; + public static final field TV Lio/portone/sdk/server/schemas/Country; + public static final field TW Lio/portone/sdk/server/schemas/Country; + public static final field TZ Lio/portone/sdk/server/schemas/Country; + public static final field UA Lio/portone/sdk/server/schemas/Country; + public static final field UG Lio/portone/sdk/server/schemas/Country; + public static final field UM Lio/portone/sdk/server/schemas/Country; + public static final field US Lio/portone/sdk/server/schemas/Country; + public static final field UY Lio/portone/sdk/server/schemas/Country; + public static final field UZ Lio/portone/sdk/server/schemas/Country; + public static final field VA Lio/portone/sdk/server/schemas/Country; + public static final field VC Lio/portone/sdk/server/schemas/Country; + public static final field VE Lio/portone/sdk/server/schemas/Country; + public static final field VG Lio/portone/sdk/server/schemas/Country; + public static final field VI Lio/portone/sdk/server/schemas/Country; + public static final field VN Lio/portone/sdk/server/schemas/Country; + public static final field VU Lio/portone/sdk/server/schemas/Country; + public static final field WF Lio/portone/sdk/server/schemas/Country; + public static final field WS Lio/portone/sdk/server/schemas/Country; + public static final field YE Lio/portone/sdk/server/schemas/Country; + public static final field YT Lio/portone/sdk/server/schemas/Country; + public static final field ZA Lio/portone/sdk/server/schemas/Country; + public static final field ZM Lio/portone/sdk/server/schemas/Country; + public static final field ZW Lio/portone/sdk/server/schemas/Country; + public static fun getEntries ()Lkotlin/enums/EnumEntries; + public static fun valueOf (Ljava/lang/String;)Lio/portone/sdk/server/schemas/Country; + public static fun values ()[Lio/portone/sdk/server/schemas/Country; +} + +public final class io/portone/sdk/server/schemas/Country$Companion { + public final fun serializer ()Lkotlinx/serialization/KSerializer; +} + +public final class io/portone/sdk/server/schemas/CreatePaymentScheduleResponse { + public static final field Companion Lio/portone/sdk/server/schemas/CreatePaymentScheduleResponse$Companion; + public fun (Lio/portone/sdk/server/schemas/PaymentScheduleSummary;)V + public final fun component1 ()Lio/portone/sdk/server/schemas/PaymentScheduleSummary; + public final fun copy (Lio/portone/sdk/server/schemas/PaymentScheduleSummary;)Lio/portone/sdk/server/schemas/CreatePaymentScheduleResponse; + public static synthetic fun copy$default (Lio/portone/sdk/server/schemas/CreatePaymentScheduleResponse;Lio/portone/sdk/server/schemas/PaymentScheduleSummary;ILjava/lang/Object;)Lio/portone/sdk/server/schemas/CreatePaymentScheduleResponse; + public fun equals (Ljava/lang/Object;)Z + public final fun getSchedule ()Lio/portone/sdk/server/schemas/PaymentScheduleSummary; + public fun hashCode ()I + public fun toString ()Ljava/lang/String; +} + +public synthetic class io/portone/sdk/server/schemas/CreatePaymentScheduleResponse$$serializer : kotlinx/serialization/internal/GeneratedSerializer { + public static final field INSTANCE Lio/portone/sdk/server/schemas/CreatePaymentScheduleResponse$$serializer; + public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; + public final fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Lio/portone/sdk/server/schemas/CreatePaymentScheduleResponse; + public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; + public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; + public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lio/portone/sdk/server/schemas/CreatePaymentScheduleResponse;)V + public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; +} + +public final class io/portone/sdk/server/schemas/CreatePaymentScheduleResponse$Companion { + public final fun serializer ()Lkotlinx/serialization/KSerializer; +} + +public final class io/portone/sdk/server/schemas/Currency : java/lang/Enum { + public static final field AED Lio/portone/sdk/server/schemas/Currency; + public static final field AFN Lio/portone/sdk/server/schemas/Currency; + public static final field ALL Lio/portone/sdk/server/schemas/Currency; + public static final field AMD Lio/portone/sdk/server/schemas/Currency; + public static final field ANG Lio/portone/sdk/server/schemas/Currency; + public static final field AOA Lio/portone/sdk/server/schemas/Currency; + public static final field ARS Lio/portone/sdk/server/schemas/Currency; + public static final field AUD Lio/portone/sdk/server/schemas/Currency; + public static final field AWG Lio/portone/sdk/server/schemas/Currency; + public static final field AZN Lio/portone/sdk/server/schemas/Currency; + public static final field BAM Lio/portone/sdk/server/schemas/Currency; + public static final field BBD Lio/portone/sdk/server/schemas/Currency; + public static final field BDT Lio/portone/sdk/server/schemas/Currency; + public static final field BGN Lio/portone/sdk/server/schemas/Currency; + public static final field BHD Lio/portone/sdk/server/schemas/Currency; + public static final field BIF Lio/portone/sdk/server/schemas/Currency; + public static final field BMD Lio/portone/sdk/server/schemas/Currency; + public static final field BND Lio/portone/sdk/server/schemas/Currency; + public static final field BOB Lio/portone/sdk/server/schemas/Currency; + public static final field BOV Lio/portone/sdk/server/schemas/Currency; + public static final field BRL Lio/portone/sdk/server/schemas/Currency; + public static final field BSD Lio/portone/sdk/server/schemas/Currency; + public static final field BTN Lio/portone/sdk/server/schemas/Currency; + public static final field BWP Lio/portone/sdk/server/schemas/Currency; + public static final field BYN Lio/portone/sdk/server/schemas/Currency; + public static final field BZD Lio/portone/sdk/server/schemas/Currency; + public static final field CAD Lio/portone/sdk/server/schemas/Currency; + public static final field CDF Lio/portone/sdk/server/schemas/Currency; + public static final field CHE Lio/portone/sdk/server/schemas/Currency; + public static final field CHF Lio/portone/sdk/server/schemas/Currency; + public static final field CHW Lio/portone/sdk/server/schemas/Currency; + public static final field CLF Lio/portone/sdk/server/schemas/Currency; + public static final field CLP Lio/portone/sdk/server/schemas/Currency; + public static final field CNY Lio/portone/sdk/server/schemas/Currency; + public static final field COP Lio/portone/sdk/server/schemas/Currency; + public static final field COU Lio/portone/sdk/server/schemas/Currency; + public static final field CRC Lio/portone/sdk/server/schemas/Currency; + public static final field CUC Lio/portone/sdk/server/schemas/Currency; + public static final field CUP Lio/portone/sdk/server/schemas/Currency; + public static final field CVE Lio/portone/sdk/server/schemas/Currency; + public static final field CZK Lio/portone/sdk/server/schemas/Currency; + public static final field Companion Lio/portone/sdk/server/schemas/Currency$Companion; + public static final field DJF Lio/portone/sdk/server/schemas/Currency; + public static final field DKK Lio/portone/sdk/server/schemas/Currency; + public static final field DOP Lio/portone/sdk/server/schemas/Currency; + public static final field DZD Lio/portone/sdk/server/schemas/Currency; + public static final field EGP Lio/portone/sdk/server/schemas/Currency; + public static final field ERN Lio/portone/sdk/server/schemas/Currency; + public static final field ETB Lio/portone/sdk/server/schemas/Currency; + public static final field EUR Lio/portone/sdk/server/schemas/Currency; + public static final field FJD Lio/portone/sdk/server/schemas/Currency; + public static final field FKP Lio/portone/sdk/server/schemas/Currency; + public static final field GBP Lio/portone/sdk/server/schemas/Currency; + public static final field GEL Lio/portone/sdk/server/schemas/Currency; + public static final field GHS Lio/portone/sdk/server/schemas/Currency; + public static final field GIP Lio/portone/sdk/server/schemas/Currency; + public static final field GMD Lio/portone/sdk/server/schemas/Currency; + public static final field GNF Lio/portone/sdk/server/schemas/Currency; + public static final field GTQ Lio/portone/sdk/server/schemas/Currency; + public static final field GYD Lio/portone/sdk/server/schemas/Currency; + public static final field HKD Lio/portone/sdk/server/schemas/Currency; + public static final field HNL Lio/portone/sdk/server/schemas/Currency; + public static final field HRK Lio/portone/sdk/server/schemas/Currency; + public static final field HTG Lio/portone/sdk/server/schemas/Currency; + public static final field HUF Lio/portone/sdk/server/schemas/Currency; + public static final field IDR Lio/portone/sdk/server/schemas/Currency; + public static final field ILS Lio/portone/sdk/server/schemas/Currency; + public static final field INR Lio/portone/sdk/server/schemas/Currency; + public static final field IQD Lio/portone/sdk/server/schemas/Currency; + public static final field IRR Lio/portone/sdk/server/schemas/Currency; + public static final field ISK Lio/portone/sdk/server/schemas/Currency; + public static final field JMD Lio/portone/sdk/server/schemas/Currency; + public static final field JOD Lio/portone/sdk/server/schemas/Currency; + public static final field JPY Lio/portone/sdk/server/schemas/Currency; + public static final field KES Lio/portone/sdk/server/schemas/Currency; + public static final field KGS Lio/portone/sdk/server/schemas/Currency; + public static final field KHR Lio/portone/sdk/server/schemas/Currency; + public static final field KMF Lio/portone/sdk/server/schemas/Currency; + public static final field KPW Lio/portone/sdk/server/schemas/Currency; + public static final field KRW Lio/portone/sdk/server/schemas/Currency; + public static final field KWD Lio/portone/sdk/server/schemas/Currency; + public static final field KYD Lio/portone/sdk/server/schemas/Currency; + public static final field KZT Lio/portone/sdk/server/schemas/Currency; + public static final field LAK Lio/portone/sdk/server/schemas/Currency; + public static final field LBP Lio/portone/sdk/server/schemas/Currency; + public static final field LKR Lio/portone/sdk/server/schemas/Currency; + public static final field LRD Lio/portone/sdk/server/schemas/Currency; + public static final field LSL Lio/portone/sdk/server/schemas/Currency; + public static final field LYD Lio/portone/sdk/server/schemas/Currency; + public static final field MAD Lio/portone/sdk/server/schemas/Currency; + public static final field MDL Lio/portone/sdk/server/schemas/Currency; + public static final field MGA Lio/portone/sdk/server/schemas/Currency; + public static final field MKD Lio/portone/sdk/server/schemas/Currency; + public static final field MMK Lio/portone/sdk/server/schemas/Currency; + public static final field MNT Lio/portone/sdk/server/schemas/Currency; + public static final field MOP Lio/portone/sdk/server/schemas/Currency; + public static final field MRU Lio/portone/sdk/server/schemas/Currency; + public static final field MUR Lio/portone/sdk/server/schemas/Currency; + public static final field MVR Lio/portone/sdk/server/schemas/Currency; + public static final field MWK Lio/portone/sdk/server/schemas/Currency; + public static final field MXN Lio/portone/sdk/server/schemas/Currency; + public static final field MXV Lio/portone/sdk/server/schemas/Currency; + public static final field MYR Lio/portone/sdk/server/schemas/Currency; + public static final field MZN Lio/portone/sdk/server/schemas/Currency; + public static final field NAD Lio/portone/sdk/server/schemas/Currency; + public static final field NGN Lio/portone/sdk/server/schemas/Currency; + public static final field NIO Lio/portone/sdk/server/schemas/Currency; + public static final field NOK Lio/portone/sdk/server/schemas/Currency; + public static final field NPR Lio/portone/sdk/server/schemas/Currency; + public static final field NZD Lio/portone/sdk/server/schemas/Currency; + public static final field OMR Lio/portone/sdk/server/schemas/Currency; + public static final field PAB Lio/portone/sdk/server/schemas/Currency; + public static final field PEN Lio/portone/sdk/server/schemas/Currency; + public static final field PGK Lio/portone/sdk/server/schemas/Currency; + public static final field PHP Lio/portone/sdk/server/schemas/Currency; + public static final field PKR Lio/portone/sdk/server/schemas/Currency; + public static final field PLN Lio/portone/sdk/server/schemas/Currency; + public static final field PYG Lio/portone/sdk/server/schemas/Currency; + public static final field QAR Lio/portone/sdk/server/schemas/Currency; + public static final field RON Lio/portone/sdk/server/schemas/Currency; + public static final field RSD Lio/portone/sdk/server/schemas/Currency; + public static final field RUB Lio/portone/sdk/server/schemas/Currency; + public static final field RWF Lio/portone/sdk/server/schemas/Currency; + public static final field SAR Lio/portone/sdk/server/schemas/Currency; + public static final field SBD Lio/portone/sdk/server/schemas/Currency; + public static final field SCR Lio/portone/sdk/server/schemas/Currency; + public static final field SDG Lio/portone/sdk/server/schemas/Currency; + public static final field SEK Lio/portone/sdk/server/schemas/Currency; + public static final field SGD Lio/portone/sdk/server/schemas/Currency; + public static final field SHP Lio/portone/sdk/server/schemas/Currency; + public static final field SLE Lio/portone/sdk/server/schemas/Currency; + public static final field SLL Lio/portone/sdk/server/schemas/Currency; + public static final field SOS Lio/portone/sdk/server/schemas/Currency; + public static final field SRD Lio/portone/sdk/server/schemas/Currency; + public static final field SSP Lio/portone/sdk/server/schemas/Currency; + public static final field STN Lio/portone/sdk/server/schemas/Currency; + public static final field SVC Lio/portone/sdk/server/schemas/Currency; + public static final field SYP Lio/portone/sdk/server/schemas/Currency; + public static final field SZL Lio/portone/sdk/server/schemas/Currency; + public static final field THB Lio/portone/sdk/server/schemas/Currency; + public static final field TJS Lio/portone/sdk/server/schemas/Currency; + public static final field TMT Lio/portone/sdk/server/schemas/Currency; + public static final field TND Lio/portone/sdk/server/schemas/Currency; + public static final field TOP Lio/portone/sdk/server/schemas/Currency; + public static final field TRY Lio/portone/sdk/server/schemas/Currency; + public static final field TTD Lio/portone/sdk/server/schemas/Currency; + public static final field TWD Lio/portone/sdk/server/schemas/Currency; + public static final field TZS Lio/portone/sdk/server/schemas/Currency; + public static final field UAH Lio/portone/sdk/server/schemas/Currency; + public static final field UGX Lio/portone/sdk/server/schemas/Currency; + public static final field USD Lio/portone/sdk/server/schemas/Currency; + public static final field USN Lio/portone/sdk/server/schemas/Currency; + public static final field UYI Lio/portone/sdk/server/schemas/Currency; + public static final field UYU Lio/portone/sdk/server/schemas/Currency; + public static final field UYW Lio/portone/sdk/server/schemas/Currency; + public static final field UZS Lio/portone/sdk/server/schemas/Currency; + public static final field VED Lio/portone/sdk/server/schemas/Currency; + public static final field VES Lio/portone/sdk/server/schemas/Currency; + public static final field VND Lio/portone/sdk/server/schemas/Currency; + public static final field VUV Lio/portone/sdk/server/schemas/Currency; + public static final field WST Lio/portone/sdk/server/schemas/Currency; + public static final field XAF Lio/portone/sdk/server/schemas/Currency; + public static final field XAG Lio/portone/sdk/server/schemas/Currency; + public static final field XAU Lio/portone/sdk/server/schemas/Currency; + public static final field XBA Lio/portone/sdk/server/schemas/Currency; + public static final field XBB Lio/portone/sdk/server/schemas/Currency; + public static final field XBC Lio/portone/sdk/server/schemas/Currency; + public static final field XBD Lio/portone/sdk/server/schemas/Currency; + public static final field XCD Lio/portone/sdk/server/schemas/Currency; + public static final field XDR Lio/portone/sdk/server/schemas/Currency; + public static final field XOF Lio/portone/sdk/server/schemas/Currency; + public static final field XPD Lio/portone/sdk/server/schemas/Currency; + public static final field XPF Lio/portone/sdk/server/schemas/Currency; + public static final field XPT Lio/portone/sdk/server/schemas/Currency; + public static final field XSU Lio/portone/sdk/server/schemas/Currency; + public static final field XTS Lio/portone/sdk/server/schemas/Currency; + public static final field XUA Lio/portone/sdk/server/schemas/Currency; + public static final field XXX Lio/portone/sdk/server/schemas/Currency; + public static final field YER Lio/portone/sdk/server/schemas/Currency; + public static final field ZAR Lio/portone/sdk/server/schemas/Currency; + public static final field ZMW Lio/portone/sdk/server/schemas/Currency; + public static final field ZWL Lio/portone/sdk/server/schemas/Currency; + public static fun getEntries ()Lkotlin/enums/EnumEntries; + public static fun valueOf (Ljava/lang/String;)Lio/portone/sdk/server/schemas/Currency; + public static fun values ()[Lio/portone/sdk/server/schemas/Currency; +} + +public final class io/portone/sdk/server/schemas/Currency$Companion { + public final fun serializer ()Lkotlinx/serialization/KSerializer; +} + +public final class io/portone/sdk/server/schemas/Customer { + public static final field Companion Lio/portone/sdk/server/schemas/Customer$Companion; + public fun ()V + public fun (Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Lio/portone/sdk/server/schemas/Gender;Ljava/lang/String;Ljava/lang/String;Lio/portone/sdk/server/schemas/Address;Ljava/lang/String;)V + public synthetic fun (Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Lio/portone/sdk/server/schemas/Gender;Ljava/lang/String;Ljava/lang/String;Lio/portone/sdk/server/schemas/Address;Ljava/lang/String;ILkotlin/jvm/internal/DefaultConstructorMarker;)V + public final fun component1 ()Ljava/lang/String; + public final fun component2 ()Ljava/lang/String; + public final fun component3 ()Ljava/lang/String; + public final fun component4 ()Lio/portone/sdk/server/schemas/Gender; + public final fun component5 ()Ljava/lang/String; + public final fun component6 ()Ljava/lang/String; + public final fun component7 ()Lio/portone/sdk/server/schemas/Address; + public final fun component8 ()Ljava/lang/String; + public final fun copy (Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Lio/portone/sdk/server/schemas/Gender;Ljava/lang/String;Ljava/lang/String;Lio/portone/sdk/server/schemas/Address;Ljava/lang/String;)Lio/portone/sdk/server/schemas/Customer; + public static synthetic fun copy$default (Lio/portone/sdk/server/schemas/Customer;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Lio/portone/sdk/server/schemas/Gender;Ljava/lang/String;Ljava/lang/String;Lio/portone/sdk/server/schemas/Address;Ljava/lang/String;ILjava/lang/Object;)Lio/portone/sdk/server/schemas/Customer; + public fun equals (Ljava/lang/Object;)Z + public final fun getAddress ()Lio/portone/sdk/server/schemas/Address; + public final fun getBirthYear ()Ljava/lang/String; + public final fun getEmail ()Ljava/lang/String; + public final fun getGender ()Lio/portone/sdk/server/schemas/Gender; + public final fun getId ()Ljava/lang/String; + public final fun getName ()Ljava/lang/String; + public final fun getPhoneNumber ()Ljava/lang/String; + public final fun getZipcode ()Ljava/lang/String; + public fun hashCode ()I + public fun toString ()Ljava/lang/String; +} + +public synthetic class io/portone/sdk/server/schemas/Customer$$serializer : kotlinx/serialization/internal/GeneratedSerializer { + public static final field INSTANCE Lio/portone/sdk/server/schemas/Customer$$serializer; + public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; + public final fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Lio/portone/sdk/server/schemas/Customer; + public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; + public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; + public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lio/portone/sdk/server/schemas/Customer;)V + public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; +} + +public final class io/portone/sdk/server/schemas/Customer$Companion { + public final fun serializer ()Lkotlinx/serialization/KSerializer; +} + +public final class io/portone/sdk/server/schemas/CustomerInput { + public static final field Companion Lio/portone/sdk/server/schemas/CustomerInput$Companion; + public fun ()V + public fun (Ljava/lang/String;Lio/portone/sdk/server/schemas/CustomerNameInput;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Lio/portone/sdk/server/schemas/Country;Lio/portone/sdk/server/schemas/Gender;Ljava/lang/String;Ljava/lang/String;Lio/portone/sdk/server/schemas/SeparatedAddressInput;Ljava/lang/String;Ljava/lang/String;)V + public synthetic fun (Ljava/lang/String;Lio/portone/sdk/server/schemas/CustomerNameInput;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Lio/portone/sdk/server/schemas/Country;Lio/portone/sdk/server/schemas/Gender;Ljava/lang/String;Ljava/lang/String;Lio/portone/sdk/server/schemas/SeparatedAddressInput;Ljava/lang/String;Ljava/lang/String;ILkotlin/jvm/internal/DefaultConstructorMarker;)V + public final fun component1 ()Ljava/lang/String; + public final fun component10 ()Lio/portone/sdk/server/schemas/SeparatedAddressInput; + public final fun component11 ()Ljava/lang/String; + public final fun component12 ()Ljava/lang/String; + public final fun component2 ()Lio/portone/sdk/server/schemas/CustomerNameInput; + public final fun component3 ()Ljava/lang/String; + public final fun component4 ()Ljava/lang/String; + public final fun component5 ()Ljava/lang/String; + public final fun component6 ()Lio/portone/sdk/server/schemas/Country; + public final fun component7 ()Lio/portone/sdk/server/schemas/Gender; + public final fun component8 ()Ljava/lang/String; + public final fun component9 ()Ljava/lang/String; + public final fun copy (Ljava/lang/String;Lio/portone/sdk/server/schemas/CustomerNameInput;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Lio/portone/sdk/server/schemas/Country;Lio/portone/sdk/server/schemas/Gender;Ljava/lang/String;Ljava/lang/String;Lio/portone/sdk/server/schemas/SeparatedAddressInput;Ljava/lang/String;Ljava/lang/String;)Lio/portone/sdk/server/schemas/CustomerInput; + public static synthetic fun copy$default (Lio/portone/sdk/server/schemas/CustomerInput;Ljava/lang/String;Lio/portone/sdk/server/schemas/CustomerNameInput;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Lio/portone/sdk/server/schemas/Country;Lio/portone/sdk/server/schemas/Gender;Ljava/lang/String;Ljava/lang/String;Lio/portone/sdk/server/schemas/SeparatedAddressInput;Ljava/lang/String;Ljava/lang/String;ILjava/lang/Object;)Lio/portone/sdk/server/schemas/CustomerInput; + public fun equals (Ljava/lang/Object;)Z + public final fun getAddress ()Lio/portone/sdk/server/schemas/SeparatedAddressInput; + public final fun getBirthDay ()Ljava/lang/String; + public final fun getBirthMonth ()Ljava/lang/String; + public final fun getBirthYear ()Ljava/lang/String; + public final fun getBusinessRegistrationNumber ()Ljava/lang/String; + public final fun getCountry ()Lio/portone/sdk/server/schemas/Country; + public final fun getEmail ()Ljava/lang/String; + public final fun getGender ()Lio/portone/sdk/server/schemas/Gender; + public final fun getId ()Ljava/lang/String; + public final fun getName ()Lio/portone/sdk/server/schemas/CustomerNameInput; + public final fun getPhoneNumber ()Ljava/lang/String; + public final fun getZipcode ()Ljava/lang/String; + public fun hashCode ()I + public fun toString ()Ljava/lang/String; +} + +public synthetic class io/portone/sdk/server/schemas/CustomerInput$$serializer : kotlinx/serialization/internal/GeneratedSerializer { + public static final field INSTANCE Lio/portone/sdk/server/schemas/CustomerInput$$serializer; + public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; + public final fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Lio/portone/sdk/server/schemas/CustomerInput; + public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; + public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; + public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lio/portone/sdk/server/schemas/CustomerInput;)V + public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; +} + +public final class io/portone/sdk/server/schemas/CustomerInput$Companion { + public final fun serializer ()Lkotlinx/serialization/KSerializer; +} + +public final class io/portone/sdk/server/schemas/CustomerNameInput { + public static final field Companion Lio/portone/sdk/server/schemas/CustomerNameInput$Companion; + public fun ()V + public fun (Ljava/lang/String;Lio/portone/sdk/server/schemas/CustomerSeparatedName;)V + public synthetic fun (Ljava/lang/String;Lio/portone/sdk/server/schemas/CustomerSeparatedName;ILkotlin/jvm/internal/DefaultConstructorMarker;)V + public final fun component1 ()Ljava/lang/String; + public final fun component2 ()Lio/portone/sdk/server/schemas/CustomerSeparatedName; + public final fun copy (Ljava/lang/String;Lio/portone/sdk/server/schemas/CustomerSeparatedName;)Lio/portone/sdk/server/schemas/CustomerNameInput; + public static synthetic fun copy$default (Lio/portone/sdk/server/schemas/CustomerNameInput;Ljava/lang/String;Lio/portone/sdk/server/schemas/CustomerSeparatedName;ILjava/lang/Object;)Lio/portone/sdk/server/schemas/CustomerNameInput; + public fun equals (Ljava/lang/Object;)Z + public final fun getFull ()Ljava/lang/String; + public final fun getSeparated ()Lio/portone/sdk/server/schemas/CustomerSeparatedName; + public fun hashCode ()I + public fun toString ()Ljava/lang/String; +} + +public synthetic class io/portone/sdk/server/schemas/CustomerNameInput$$serializer : kotlinx/serialization/internal/GeneratedSerializer { + public static final field INSTANCE Lio/portone/sdk/server/schemas/CustomerNameInput$$serializer; + public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; + public final fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Lio/portone/sdk/server/schemas/CustomerNameInput; + public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; + public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; + public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lio/portone/sdk/server/schemas/CustomerNameInput;)V + public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; +} + +public final class io/portone/sdk/server/schemas/CustomerNameInput$Companion { + public final fun serializer ()Lkotlinx/serialization/KSerializer; +} + +public final class io/portone/sdk/server/schemas/CustomerSeparatedName { + public static final field Companion Lio/portone/sdk/server/schemas/CustomerSeparatedName$Companion; + public fun (Ljava/lang/String;Ljava/lang/String;)V + public final fun component1 ()Ljava/lang/String; + public final fun component2 ()Ljava/lang/String; + public final fun copy (Ljava/lang/String;Ljava/lang/String;)Lio/portone/sdk/server/schemas/CustomerSeparatedName; + public static synthetic fun copy$default (Lio/portone/sdk/server/schemas/CustomerSeparatedName;Ljava/lang/String;Ljava/lang/String;ILjava/lang/Object;)Lio/portone/sdk/server/schemas/CustomerSeparatedName; + public fun equals (Ljava/lang/Object;)Z + public final fun getFirst ()Ljava/lang/String; + public final fun getLast ()Ljava/lang/String; + public fun hashCode ()I + public fun toString ()Ljava/lang/String; +} + +public synthetic class io/portone/sdk/server/schemas/CustomerSeparatedName$$serializer : kotlinx/serialization/internal/GeneratedSerializer { + public static final field INSTANCE Lio/portone/sdk/server/schemas/CustomerSeparatedName$$serializer; + public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; + public final fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Lio/portone/sdk/server/schemas/CustomerSeparatedName; + public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; + public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; + public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lio/portone/sdk/server/schemas/CustomerSeparatedName;)V + public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; +} + +public final class io/portone/sdk/server/schemas/CustomerSeparatedName$Companion { + public final fun serializer ()Lkotlinx/serialization/KSerializer; +} + +public final class io/portone/sdk/server/schemas/DateTimeRange { + public static final field Companion Lio/portone/sdk/server/schemas/DateTimeRange$Companion; + public fun (Ljava/time/Instant;Ljava/time/Instant;)V + public final fun component1 ()Ljava/time/Instant; + public final fun component2 ()Ljava/time/Instant; + public final fun copy (Ljava/time/Instant;Ljava/time/Instant;)Lio/portone/sdk/server/schemas/DateTimeRange; + public static synthetic fun copy$default (Lio/portone/sdk/server/schemas/DateTimeRange;Ljava/time/Instant;Ljava/time/Instant;ILjava/lang/Object;)Lio/portone/sdk/server/schemas/DateTimeRange; + public fun equals (Ljava/lang/Object;)Z + public final fun getFrom ()Ljava/time/Instant; + public final fun getUntil ()Ljava/time/Instant; + public fun hashCode ()I + public fun toString ()Ljava/lang/String; +} + +public synthetic class io/portone/sdk/server/schemas/DateTimeRange$$serializer : kotlinx/serialization/internal/GeneratedSerializer { + public static final field INSTANCE Lio/portone/sdk/server/schemas/DateTimeRange$$serializer; + public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; + public final fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Lio/portone/sdk/server/schemas/DateTimeRange; + public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; + public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; + public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lio/portone/sdk/server/schemas/DateTimeRange;)V + public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; +} + +public final class io/portone/sdk/server/schemas/DateTimeRange$Companion { + public final fun serializer ()Lkotlinx/serialization/KSerializer; +} + +public final class io/portone/sdk/server/schemas/DeleteBillingKeyResponse { + public static final field Companion Lio/portone/sdk/server/schemas/DeleteBillingKeyResponse$Companion; + public fun (Ljava/time/Instant;)V + public final fun component1 ()Ljava/time/Instant; + public final fun copy (Ljava/time/Instant;)Lio/portone/sdk/server/schemas/DeleteBillingKeyResponse; + public static synthetic fun copy$default (Lio/portone/sdk/server/schemas/DeleteBillingKeyResponse;Ljava/time/Instant;ILjava/lang/Object;)Lio/portone/sdk/server/schemas/DeleteBillingKeyResponse; + public fun equals (Ljava/lang/Object;)Z + public final fun getDeletedAt ()Ljava/time/Instant; + public fun hashCode ()I + public fun toString ()Ljava/lang/String; +} + +public synthetic class io/portone/sdk/server/schemas/DeleteBillingKeyResponse$$serializer : kotlinx/serialization/internal/GeneratedSerializer { + public static final field INSTANCE Lio/portone/sdk/server/schemas/DeleteBillingKeyResponse$$serializer; + public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; + public final fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Lio/portone/sdk/server/schemas/DeleteBillingKeyResponse; + public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; + public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; + public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lio/portone/sdk/server/schemas/DeleteBillingKeyResponse;)V + public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; +} + +public final class io/portone/sdk/server/schemas/DeleteBillingKeyResponse$Companion { + public final fun serializer ()Lkotlinx/serialization/KSerializer; +} + +public final class io/portone/sdk/server/schemas/DeletedBillingKeyInfo : io/portone/sdk/server/schemas/BillingKeyInfo { + public static final field Companion Lio/portone/sdk/server/schemas/DeletedBillingKeyInfo$Companion; + public fun (Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/util/List;Ljava/util/List;Lio/portone/sdk/server/schemas/Customer;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/time/Instant;Ljava/time/Instant;Lio/portone/sdk/server/schemas/ChannelGroupSummary;Ljava/util/List;Ljava/time/Instant;)V + public synthetic fun (Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/util/List;Ljava/util/List;Lio/portone/sdk/server/schemas/Customer;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/time/Instant;Ljava/time/Instant;Lio/portone/sdk/server/schemas/ChannelGroupSummary;Ljava/util/List;Ljava/time/Instant;ILkotlin/jvm/internal/DefaultConstructorMarker;)V + public final fun component1 ()Ljava/lang/String; + public final fun component10 ()Ljava/time/Instant; + public final fun component11 ()Ljava/time/Instant; + public final fun component12 ()Lio/portone/sdk/server/schemas/ChannelGroupSummary; + public final fun component13 ()Ljava/util/List; + public final fun component14 ()Ljava/time/Instant; + public final fun component2 ()Ljava/lang/String; + public final fun component3 ()Ljava/lang/String; + public final fun component4 ()Ljava/util/List; + public final fun component5 ()Ljava/util/List; + public final fun component6 ()Lio/portone/sdk/server/schemas/Customer; + public final fun component7 ()Ljava/lang/String; + public final fun component8 ()Ljava/lang/String; + public final fun component9 ()Ljava/lang/String; + public final fun copy (Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/util/List;Ljava/util/List;Lio/portone/sdk/server/schemas/Customer;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/time/Instant;Ljava/time/Instant;Lio/portone/sdk/server/schemas/ChannelGroupSummary;Ljava/util/List;Ljava/time/Instant;)Lio/portone/sdk/server/schemas/DeletedBillingKeyInfo; + public static synthetic fun copy$default (Lio/portone/sdk/server/schemas/DeletedBillingKeyInfo;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/util/List;Ljava/util/List;Lio/portone/sdk/server/schemas/Customer;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/time/Instant;Ljava/time/Instant;Lio/portone/sdk/server/schemas/ChannelGroupSummary;Ljava/util/List;Ljava/time/Instant;ILjava/lang/Object;)Lio/portone/sdk/server/schemas/DeletedBillingKeyInfo; + public fun equals (Ljava/lang/Object;)Z + public fun getBillingKey ()Ljava/lang/String; + public fun getChannelGroup ()Lio/portone/sdk/server/schemas/ChannelGroupSummary; + public fun getChannels ()Ljava/util/List; + public fun getCustomData ()Ljava/lang/String; + public fun getCustomer ()Lio/portone/sdk/server/schemas/Customer; + public final fun getDeletedAt ()Ljava/time/Instant; + public fun getIssueId ()Ljava/lang/String; + public fun getIssueName ()Ljava/lang/String; + public fun getIssuedAt ()Ljava/time/Instant; + public fun getMerchantId ()Ljava/lang/String; + public fun getMethods ()Ljava/util/List; + public fun getPgBillingKeyIssueResponses ()Ljava/util/List; + public fun getRequestedAt ()Ljava/time/Instant; + public fun getStoreId ()Ljava/lang/String; + public fun hashCode ()I + public fun toString ()Ljava/lang/String; +} + +public synthetic class io/portone/sdk/server/schemas/DeletedBillingKeyInfo$$serializer : kotlinx/serialization/internal/GeneratedSerializer { + public static final field INSTANCE Lio/portone/sdk/server/schemas/DeletedBillingKeyInfo$$serializer; + public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; + public final fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Lio/portone/sdk/server/schemas/DeletedBillingKeyInfo; + public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; + public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; + public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lio/portone/sdk/server/schemas/DeletedBillingKeyInfo;)V + public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; +} + +public final class io/portone/sdk/server/schemas/DeletedBillingKeyInfo$Companion { + public final fun serializer ()Lkotlinx/serialization/KSerializer; +} + +public final class io/portone/sdk/server/schemas/DeliveredPaymentEscrow : io/portone/sdk/server/schemas/PaymentEscrow { + public static final field Companion Lio/portone/sdk/server/schemas/DeliveredPaymentEscrow$Companion; + public fun (Ljava/lang/String;Ljava/lang/String;Ljava/time/Instant;Ljava/time/Instant;)V + public synthetic fun (Ljava/lang/String;Ljava/lang/String;Ljava/time/Instant;Ljava/time/Instant;ILkotlin/jvm/internal/DefaultConstructorMarker;)V + public final fun component1 ()Ljava/lang/String; + public final fun component2 ()Ljava/lang/String; + public final fun component3 ()Ljava/time/Instant; + public final fun component4 ()Ljava/time/Instant; + public final fun copy (Ljava/lang/String;Ljava/lang/String;Ljava/time/Instant;Ljava/time/Instant;)Lio/portone/sdk/server/schemas/DeliveredPaymentEscrow; + public static synthetic fun copy$default (Lio/portone/sdk/server/schemas/DeliveredPaymentEscrow;Ljava/lang/String;Ljava/lang/String;Ljava/time/Instant;Ljava/time/Instant;ILjava/lang/Object;)Lio/portone/sdk/server/schemas/DeliveredPaymentEscrow; + public fun equals (Ljava/lang/Object;)Z + public final fun getAppliedAt ()Ljava/time/Instant; + public final fun getCompany ()Ljava/lang/String; + public final fun getInvoiceNumber ()Ljava/lang/String; + public final fun getSentAt ()Ljava/time/Instant; + public fun hashCode ()I + public fun toString ()Ljava/lang/String; +} + +public synthetic class io/portone/sdk/server/schemas/DeliveredPaymentEscrow$$serializer : kotlinx/serialization/internal/GeneratedSerializer { + public static final field INSTANCE Lio/portone/sdk/server/schemas/DeliveredPaymentEscrow$$serializer; + public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; + public final fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Lio/portone/sdk/server/schemas/DeliveredPaymentEscrow; + public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; + public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; + public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lio/portone/sdk/server/schemas/DeliveredPaymentEscrow;)V + public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; +} + +public final class io/portone/sdk/server/schemas/DeliveredPaymentEscrow$Companion { + public final fun serializer ()Lkotlinx/serialization/KSerializer; +} + +public final class io/portone/sdk/server/schemas/DiscountAmountExceedsTotalAmountException : java/lang/Exception { + public fun ()V + public fun (Ljava/lang/String;)V + public synthetic fun (Ljava/lang/String;ILkotlin/jvm/internal/DefaultConstructorMarker;)V +} + +public final class io/portone/sdk/server/schemas/EasyPayProvider : java/lang/Enum { + public static final field ALIPAY Lio/portone/sdk/server/schemas/EasyPayProvider; + public static final field APPLEPAY Lio/portone/sdk/server/schemas/EasyPayProvider; + public static final field CHAI Lio/portone/sdk/server/schemas/EasyPayProvider; + public static final field Companion Lio/portone/sdk/server/schemas/EasyPayProvider$Companion; + public static final field HYPHEN Lio/portone/sdk/server/schemas/EasyPayProvider; + public static final field KAKAOPAY Lio/portone/sdk/server/schemas/EasyPayProvider; + public static final field KB_APP Lio/portone/sdk/server/schemas/EasyPayProvider; + public static final field KPAY Lio/portone/sdk/server/schemas/EasyPayProvider; + public static final field LGPAY Lio/portone/sdk/server/schemas/EasyPayProvider; + public static final field LPAY Lio/portone/sdk/server/schemas/EasyPayProvider; + public static final field NAVERPAY Lio/portone/sdk/server/schemas/EasyPayProvider; + public static final field PAYCO Lio/portone/sdk/server/schemas/EasyPayProvider; + public static final field PINPAY Lio/portone/sdk/server/schemas/EasyPayProvider; + public static final field SAMSUNGPAY Lio/portone/sdk/server/schemas/EasyPayProvider; + public static final field SKPAY Lio/portone/sdk/server/schemas/EasyPayProvider; + public static final field SSGPAY Lio/portone/sdk/server/schemas/EasyPayProvider; + public static final field TOSSPAY Lio/portone/sdk/server/schemas/EasyPayProvider; + public static final field TOSS_BRANDPAY Lio/portone/sdk/server/schemas/EasyPayProvider; + public static fun getEntries ()Lkotlin/enums/EnumEntries; + public static fun valueOf (Ljava/lang/String;)Lio/portone/sdk/server/schemas/EasyPayProvider; + public static fun values ()[Lio/portone/sdk/server/schemas/EasyPayProvider; +} + +public final class io/portone/sdk/server/schemas/EasyPayProvider$Companion { + public final fun serializer ()Lkotlinx/serialization/KSerializer; +} + +public final class io/portone/sdk/server/schemas/FailedIdentityVerification : io/portone/sdk/server/schemas/IdentityVerification { + public static final field Companion Lio/portone/sdk/server/schemas/FailedIdentityVerification$Companion; + public fun (Ljava/lang/String;Lio/portone/sdk/server/schemas/SelectedChannel;Lio/portone/sdk/server/schemas/IdentityVerificationRequestedCustomer;Ljava/lang/String;Ljava/time/Instant;Ljava/time/Instant;Ljava/time/Instant;Lio/portone/sdk/server/schemas/IdentityVerificationFailure;)V + public synthetic fun (Ljava/lang/String;Lio/portone/sdk/server/schemas/SelectedChannel;Lio/portone/sdk/server/schemas/IdentityVerificationRequestedCustomer;Ljava/lang/String;Ljava/time/Instant;Ljava/time/Instant;Ljava/time/Instant;Lio/portone/sdk/server/schemas/IdentityVerificationFailure;ILkotlin/jvm/internal/DefaultConstructorMarker;)V + public final fun component1 ()Ljava/lang/String; + public final fun component2 ()Lio/portone/sdk/server/schemas/SelectedChannel; + public final fun component3 ()Lio/portone/sdk/server/schemas/IdentityVerificationRequestedCustomer; + public final fun component4 ()Ljava/lang/String; + public final fun component5 ()Ljava/time/Instant; + public final fun component6 ()Ljava/time/Instant; + public final fun component7 ()Ljava/time/Instant; + public final fun component8 ()Lio/portone/sdk/server/schemas/IdentityVerificationFailure; + public final fun copy (Ljava/lang/String;Lio/portone/sdk/server/schemas/SelectedChannel;Lio/portone/sdk/server/schemas/IdentityVerificationRequestedCustomer;Ljava/lang/String;Ljava/time/Instant;Ljava/time/Instant;Ljava/time/Instant;Lio/portone/sdk/server/schemas/IdentityVerificationFailure;)Lio/portone/sdk/server/schemas/FailedIdentityVerification; + public static synthetic fun copy$default (Lio/portone/sdk/server/schemas/FailedIdentityVerification;Ljava/lang/String;Lio/portone/sdk/server/schemas/SelectedChannel;Lio/portone/sdk/server/schemas/IdentityVerificationRequestedCustomer;Ljava/lang/String;Ljava/time/Instant;Ljava/time/Instant;Ljava/time/Instant;Lio/portone/sdk/server/schemas/IdentityVerificationFailure;ILjava/lang/Object;)Lio/portone/sdk/server/schemas/FailedIdentityVerification; + public fun equals (Ljava/lang/Object;)Z + public fun getChannel ()Lio/portone/sdk/server/schemas/SelectedChannel; + public fun getCustomData ()Ljava/lang/String; + public final fun getFailure ()Lio/portone/sdk/server/schemas/IdentityVerificationFailure; + public fun getId ()Ljava/lang/String; + public fun getRequestedAt ()Ljava/time/Instant; + public final fun getRequestedCustomer ()Lio/portone/sdk/server/schemas/IdentityVerificationRequestedCustomer; + public fun getStatusChangedAt ()Ljava/time/Instant; + public fun getUpdatedAt ()Ljava/time/Instant; + public fun hashCode ()I + public fun toString ()Ljava/lang/String; +} + +public synthetic class io/portone/sdk/server/schemas/FailedIdentityVerification$$serializer : kotlinx/serialization/internal/GeneratedSerializer { + public static final field INSTANCE Lio/portone/sdk/server/schemas/FailedIdentityVerification$$serializer; + public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; + public final fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Lio/portone/sdk/server/schemas/FailedIdentityVerification; + public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; + public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; + public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lio/portone/sdk/server/schemas/FailedIdentityVerification;)V + public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; +} + +public final class io/portone/sdk/server/schemas/FailedIdentityVerification$Companion { + public final fun serializer ()Lkotlinx/serialization/KSerializer; +} + +public final class io/portone/sdk/server/schemas/FailedPayment : io/portone/sdk/server/schemas/Payment { + public static final field Companion Lio/portone/sdk/server/schemas/FailedPayment$Companion; + public fun (Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Lio/portone/sdk/server/schemas/PaymentMethod;Lio/portone/sdk/server/schemas/SelectedChannel;Lio/portone/sdk/server/schemas/ChannelGroupSummary;Lio/portone/sdk/server/schemas/PortOneVersion;Ljava/lang/String;Ljava/lang/String;Ljava/util/List;Ljava/time/Instant;Ljava/time/Instant;Ljava/time/Instant;Ljava/lang/String;Lio/portone/sdk/server/schemas/PaymentAmount;Lio/portone/sdk/server/schemas/Currency;Lio/portone/sdk/server/schemas/Customer;Ljava/lang/String;Ljava/lang/Boolean;Lio/portone/sdk/server/schemas/PaymentEscrow;Ljava/util/List;Ljava/lang/Integer;Ljava/lang/String;Lio/portone/sdk/server/schemas/Country;Ljava/time/Instant;Lio/portone/sdk/server/schemas/PaymentFailure;)V + public synthetic fun (Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Lio/portone/sdk/server/schemas/PaymentMethod;Lio/portone/sdk/server/schemas/SelectedChannel;Lio/portone/sdk/server/schemas/ChannelGroupSummary;Lio/portone/sdk/server/schemas/PortOneVersion;Ljava/lang/String;Ljava/lang/String;Ljava/util/List;Ljava/time/Instant;Ljava/time/Instant;Ljava/time/Instant;Ljava/lang/String;Lio/portone/sdk/server/schemas/PaymentAmount;Lio/portone/sdk/server/schemas/Currency;Lio/portone/sdk/server/schemas/Customer;Ljava/lang/String;Ljava/lang/Boolean;Lio/portone/sdk/server/schemas/PaymentEscrow;Ljava/util/List;Ljava/lang/Integer;Ljava/lang/String;Lio/portone/sdk/server/schemas/Country;Ljava/time/Instant;Lio/portone/sdk/server/schemas/PaymentFailure;ILkotlin/jvm/internal/DefaultConstructorMarker;)V + public final fun component1 ()Ljava/lang/String; + public final fun component10 ()Ljava/lang/String; + public final fun component11 ()Ljava/util/List; + public final fun component12 ()Ljava/time/Instant; + public final fun component13 ()Ljava/time/Instant; + public final fun component14 ()Ljava/time/Instant; + public final fun component15 ()Ljava/lang/String; + public final fun component16 ()Lio/portone/sdk/server/schemas/PaymentAmount; + public final fun component17 ()Lio/portone/sdk/server/schemas/Currency; + public final fun component18 ()Lio/portone/sdk/server/schemas/Customer; + public final fun component19 ()Ljava/lang/String; + public final fun component2 ()Ljava/lang/String; + public final fun component20 ()Ljava/lang/Boolean; + public final fun component21 ()Lio/portone/sdk/server/schemas/PaymentEscrow; + public final fun component22 ()Ljava/util/List; + public final fun component23 ()Ljava/lang/Integer; + public final fun component24 ()Ljava/lang/String; + public final fun component25 ()Lio/portone/sdk/server/schemas/Country; + public final fun component26 ()Ljava/time/Instant; + public final fun component27 ()Lio/portone/sdk/server/schemas/PaymentFailure; + public final fun component3 ()Ljava/lang/String; + public final fun component4 ()Ljava/lang/String; + public final fun component5 ()Lio/portone/sdk/server/schemas/PaymentMethod; + public final fun component6 ()Lio/portone/sdk/server/schemas/SelectedChannel; + public final fun component7 ()Lio/portone/sdk/server/schemas/ChannelGroupSummary; + public final fun component8 ()Lio/portone/sdk/server/schemas/PortOneVersion; + public final fun component9 ()Ljava/lang/String; + public final fun copy (Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Lio/portone/sdk/server/schemas/PaymentMethod;Lio/portone/sdk/server/schemas/SelectedChannel;Lio/portone/sdk/server/schemas/ChannelGroupSummary;Lio/portone/sdk/server/schemas/PortOneVersion;Ljava/lang/String;Ljava/lang/String;Ljava/util/List;Ljava/time/Instant;Ljava/time/Instant;Ljava/time/Instant;Ljava/lang/String;Lio/portone/sdk/server/schemas/PaymentAmount;Lio/portone/sdk/server/schemas/Currency;Lio/portone/sdk/server/schemas/Customer;Ljava/lang/String;Ljava/lang/Boolean;Lio/portone/sdk/server/schemas/PaymentEscrow;Ljava/util/List;Ljava/lang/Integer;Ljava/lang/String;Lio/portone/sdk/server/schemas/Country;Ljava/time/Instant;Lio/portone/sdk/server/schemas/PaymentFailure;)Lio/portone/sdk/server/schemas/FailedPayment; + public static synthetic fun copy$default (Lio/portone/sdk/server/schemas/FailedPayment;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Lio/portone/sdk/server/schemas/PaymentMethod;Lio/portone/sdk/server/schemas/SelectedChannel;Lio/portone/sdk/server/schemas/ChannelGroupSummary;Lio/portone/sdk/server/schemas/PortOneVersion;Ljava/lang/String;Ljava/lang/String;Ljava/util/List;Ljava/time/Instant;Ljava/time/Instant;Ljava/time/Instant;Ljava/lang/String;Lio/portone/sdk/server/schemas/PaymentAmount;Lio/portone/sdk/server/schemas/Currency;Lio/portone/sdk/server/schemas/Customer;Ljava/lang/String;Ljava/lang/Boolean;Lio/portone/sdk/server/schemas/PaymentEscrow;Ljava/util/List;Ljava/lang/Integer;Ljava/lang/String;Lio/portone/sdk/server/schemas/Country;Ljava/time/Instant;Lio/portone/sdk/server/schemas/PaymentFailure;ILjava/lang/Object;)Lio/portone/sdk/server/schemas/FailedPayment; + public fun equals (Ljava/lang/Object;)Z + public fun getAmount ()Lio/portone/sdk/server/schemas/PaymentAmount; + public fun getBillingKey ()Ljava/lang/String; + public fun getChannel ()Lio/portone/sdk/server/schemas/SelectedChannel; + public fun getChannelGroup ()Lio/portone/sdk/server/schemas/ChannelGroupSummary; + public fun getCountry ()Lio/portone/sdk/server/schemas/Country; + public fun getCurrency ()Lio/portone/sdk/server/schemas/Currency; + public fun getCustomData ()Ljava/lang/String; + public fun getCustomer ()Lio/portone/sdk/server/schemas/Customer; + public fun getEscrow ()Lio/portone/sdk/server/schemas/PaymentEscrow; + public final fun getFailedAt ()Ljava/time/Instant; + public final fun getFailure ()Lio/portone/sdk/server/schemas/PaymentFailure; + public fun getId ()Ljava/lang/String; + public fun getMerchantId ()Ljava/lang/String; + public fun getMethod ()Lio/portone/sdk/server/schemas/PaymentMethod; + public fun getOrderName ()Ljava/lang/String; + public fun getProductCount ()Ljava/lang/Integer; + public fun getProducts ()Ljava/util/List; + public fun getPromotionId ()Ljava/lang/String; + public fun getRequestedAt ()Ljava/time/Instant; + public fun getScheduleId ()Ljava/lang/String; + public fun getStatusChangedAt ()Ljava/time/Instant; + public fun getStoreId ()Ljava/lang/String; + public final fun getTransactionId ()Ljava/lang/String; + public fun getUpdatedAt ()Ljava/time/Instant; + public fun getVersion ()Lio/portone/sdk/server/schemas/PortOneVersion; + public fun getWebhooks ()Ljava/util/List; + public fun hashCode ()I + public fun isCulturalExpense ()Ljava/lang/Boolean; + public fun toString ()Ljava/lang/String; +} + +public synthetic class io/portone/sdk/server/schemas/FailedPayment$$serializer : kotlinx/serialization/internal/GeneratedSerializer { + public static final field INSTANCE Lio/portone/sdk/server/schemas/FailedPayment$$serializer; + public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; + public final fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Lio/portone/sdk/server/schemas/FailedPayment; + public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; + public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; + public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lio/portone/sdk/server/schemas/FailedPayment;)V + public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; +} + +public final class io/portone/sdk/server/schemas/FailedPayment$Companion { + public final fun serializer ()Lkotlinx/serialization/KSerializer; +} + +public final class io/portone/sdk/server/schemas/FailedPaymentCancellation : io/portone/sdk/server/schemas/PaymentCancellation { + public static final field Companion Lio/portone/sdk/server/schemas/FailedPaymentCancellation$Companion; + public fun (Ljava/lang/String;Ljava/lang/String;JJJLjava/lang/Long;Ljava/lang/String;Ljava/time/Instant;Ljava/time/Instant;)V + public synthetic fun (Ljava/lang/String;Ljava/lang/String;JJJLjava/lang/Long;Ljava/lang/String;Ljava/time/Instant;Ljava/time/Instant;ILkotlin/jvm/internal/DefaultConstructorMarker;)V + public final fun component1 ()Ljava/lang/String; + public final fun component2 ()Ljava/lang/String; + public final fun component3 ()J + public final fun component4 ()J + public final fun component5 ()J + public final fun component6 ()Ljava/lang/Long; + public final fun component7 ()Ljava/lang/String; + public final fun component8 ()Ljava/time/Instant; + public final fun component9 ()Ljava/time/Instant; + public final fun copy (Ljava/lang/String;Ljava/lang/String;JJJLjava/lang/Long;Ljava/lang/String;Ljava/time/Instant;Ljava/time/Instant;)Lio/portone/sdk/server/schemas/FailedPaymentCancellation; + public static synthetic fun copy$default (Lio/portone/sdk/server/schemas/FailedPaymentCancellation;Ljava/lang/String;Ljava/lang/String;JJJLjava/lang/Long;Ljava/lang/String;Ljava/time/Instant;Ljava/time/Instant;ILjava/lang/Object;)Lio/portone/sdk/server/schemas/FailedPaymentCancellation; + public fun equals (Ljava/lang/Object;)Z + public fun getCancelledAt ()Ljava/time/Instant; + public fun getEasyPayDiscountAmount ()Ljava/lang/Long; + public fun getId ()Ljava/lang/String; + public fun getPgCancellationId ()Ljava/lang/String; + public fun getReason ()Ljava/lang/String; + public fun getRequestedAt ()Ljava/time/Instant; + public fun getTaxFreeAmount ()J + public fun getTotalAmount ()J + public fun getVatAmount ()J + public fun hashCode ()I + public fun toString ()Ljava/lang/String; +} + +public synthetic class io/portone/sdk/server/schemas/FailedPaymentCancellation$$serializer : kotlinx/serialization/internal/GeneratedSerializer { + public static final field INSTANCE Lio/portone/sdk/server/schemas/FailedPaymentCancellation$$serializer; + public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; + public final fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Lio/portone/sdk/server/schemas/FailedPaymentCancellation; + public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; + public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; + public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lio/portone/sdk/server/schemas/FailedPaymentCancellation;)V + public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; +} + +public final class io/portone/sdk/server/schemas/FailedPaymentCancellation$Companion { + public final fun serializer ()Lkotlinx/serialization/KSerializer; +} + +public final class io/portone/sdk/server/schemas/FailedPaymentSchedule : io/portone/sdk/server/schemas/PaymentSchedule { + public static final field Companion Lio/portone/sdk/server/schemas/FailedPaymentSchedule$Companion; + public fun (Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;ZZLio/portone/sdk/server/schemas/Customer;Ljava/lang/String;JLjava/lang/Long;Ljava/lang/Long;Lio/portone/sdk/server/schemas/Currency;Ljava/lang/Integer;Ljava/util/List;Ljava/util/List;Ljava/time/Instant;Ljava/time/Instant;Ljava/time/Instant;Ljava/time/Instant;)V + public synthetic fun (Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;ZZLio/portone/sdk/server/schemas/Customer;Ljava/lang/String;JLjava/lang/Long;Ljava/lang/Long;Lio/portone/sdk/server/schemas/Currency;Ljava/lang/Integer;Ljava/util/List;Ljava/util/List;Ljava/time/Instant;Ljava/time/Instant;Ljava/time/Instant;Ljava/time/Instant;ILkotlin/jvm/internal/DefaultConstructorMarker;)V + public final fun component1 ()Ljava/lang/String; + public final fun component10 ()Ljava/lang/String; + public final fun component11 ()J + public final fun component12 ()Ljava/lang/Long; + public final fun component13 ()Ljava/lang/Long; + public final fun component14 ()Lio/portone/sdk/server/schemas/Currency; + public final fun component15 ()Ljava/lang/Integer; + public final fun component16 ()Ljava/util/List; + public final fun component17 ()Ljava/util/List; + public final fun component18 ()Ljava/time/Instant; + public final fun component19 ()Ljava/time/Instant; + public final fun component2 ()Ljava/lang/String; + public final fun component20 ()Ljava/time/Instant; + public final fun component21 ()Ljava/time/Instant; + public final fun component3 ()Ljava/lang/String; + public final fun component4 ()Ljava/lang/String; + public final fun component5 ()Ljava/lang/String; + public final fun component6 ()Ljava/lang/String; + public final fun component7 ()Z + public final fun component8 ()Z + public final fun component9 ()Lio/portone/sdk/server/schemas/Customer; + public final fun copy (Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;ZZLio/portone/sdk/server/schemas/Customer;Ljava/lang/String;JLjava/lang/Long;Ljava/lang/Long;Lio/portone/sdk/server/schemas/Currency;Ljava/lang/Integer;Ljava/util/List;Ljava/util/List;Ljava/time/Instant;Ljava/time/Instant;Ljava/time/Instant;Ljava/time/Instant;)Lio/portone/sdk/server/schemas/FailedPaymentSchedule; + public static synthetic fun copy$default (Lio/portone/sdk/server/schemas/FailedPaymentSchedule;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;ZZLio/portone/sdk/server/schemas/Customer;Ljava/lang/String;JLjava/lang/Long;Ljava/lang/Long;Lio/portone/sdk/server/schemas/Currency;Ljava/lang/Integer;Ljava/util/List;Ljava/util/List;Ljava/time/Instant;Ljava/time/Instant;Ljava/time/Instant;Ljava/time/Instant;ILjava/lang/Object;)Lio/portone/sdk/server/schemas/FailedPaymentSchedule; + public fun equals (Ljava/lang/Object;)Z + public fun getBillingKey ()Ljava/lang/String; + public final fun getCompletedAt ()Ljava/time/Instant; + public fun getCreatedAt ()Ljava/time/Instant; + public fun getCurrency ()Lio/portone/sdk/server/schemas/Currency; + public fun getCustomData ()Ljava/lang/String; + public fun getCustomer ()Lio/portone/sdk/server/schemas/Customer; + public fun getId ()Ljava/lang/String; + public fun getInstallmentMonth ()Ljava/lang/Integer; + public fun getMerchantId ()Ljava/lang/String; + public fun getNoticeUrls ()Ljava/util/List; + public fun getOrderName ()Ljava/lang/String; + public fun getPaymentId ()Ljava/lang/String; + public fun getProducts ()Ljava/util/List; + public final fun getStartedAt ()Ljava/time/Instant; + public fun getStoreId ()Ljava/lang/String; + public fun getTaxFreeAmount ()Ljava/lang/Long; + public fun getTimeToPay ()Ljava/time/Instant; + public fun getTotalAmount ()J + public fun getVatAmount ()Ljava/lang/Long; + public fun hashCode ()I + public fun isCulturalExpense ()Z + public fun isEscrow ()Z + public fun toString ()Ljava/lang/String; +} + +public synthetic class io/portone/sdk/server/schemas/FailedPaymentSchedule$$serializer : kotlinx/serialization/internal/GeneratedSerializer { + public static final field INSTANCE Lio/portone/sdk/server/schemas/FailedPaymentSchedule$$serializer; + public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; + public final fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Lio/portone/sdk/server/schemas/FailedPaymentSchedule; + public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; + public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; + public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lio/portone/sdk/server/schemas/FailedPaymentSchedule;)V + public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; +} + +public final class io/portone/sdk/server/schemas/FailedPaymentSchedule$Companion { + public final fun serializer ()Lkotlinx/serialization/KSerializer; +} + +public final class io/portone/sdk/server/schemas/FailedPgBillingKeyIssueResponse : io/portone/sdk/server/schemas/PgBillingKeyIssueResponse { + public static final field Companion Lio/portone/sdk/server/schemas/FailedPgBillingKeyIssueResponse$Companion; + public fun (Lio/portone/sdk/server/schemas/SelectedChannel;Lio/portone/sdk/server/schemas/BillingKeyFailure;)V + public final fun component1 ()Lio/portone/sdk/server/schemas/SelectedChannel; + public final fun component2 ()Lio/portone/sdk/server/schemas/BillingKeyFailure; + public final fun copy (Lio/portone/sdk/server/schemas/SelectedChannel;Lio/portone/sdk/server/schemas/BillingKeyFailure;)Lio/portone/sdk/server/schemas/FailedPgBillingKeyIssueResponse; + public static synthetic fun copy$default (Lio/portone/sdk/server/schemas/FailedPgBillingKeyIssueResponse;Lio/portone/sdk/server/schemas/SelectedChannel;Lio/portone/sdk/server/schemas/BillingKeyFailure;ILjava/lang/Object;)Lio/portone/sdk/server/schemas/FailedPgBillingKeyIssueResponse; + public fun equals (Ljava/lang/Object;)Z + public fun getChannel ()Lio/portone/sdk/server/schemas/SelectedChannel; + public final fun getFailure ()Lio/portone/sdk/server/schemas/BillingKeyFailure; + public fun hashCode ()I + public fun toString ()Ljava/lang/String; +} + +public synthetic class io/portone/sdk/server/schemas/FailedPgBillingKeyIssueResponse$$serializer : kotlinx/serialization/internal/GeneratedSerializer { + public static final field INSTANCE Lio/portone/sdk/server/schemas/FailedPgBillingKeyIssueResponse$$serializer; + public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; + public final fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Lio/portone/sdk/server/schemas/FailedPgBillingKeyIssueResponse; + public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; + public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; + public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lio/portone/sdk/server/schemas/FailedPgBillingKeyIssueResponse;)V + public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; +} + +public final class io/portone/sdk/server/schemas/FailedPgBillingKeyIssueResponse$Companion { + public final fun serializer ()Lkotlinx/serialization/KSerializer; +} + +public final class io/portone/sdk/server/schemas/ForbiddenException : java/lang/Exception { + public fun ()V + public fun (Ljava/lang/String;)V + public synthetic fun (Ljava/lang/String;ILkotlin/jvm/internal/DefaultConstructorMarker;)V +} + +public final class io/portone/sdk/server/schemas/Gender : java/lang/Enum { + public static final field Companion Lio/portone/sdk/server/schemas/Gender$Companion; + public static final field FEMALE Lio/portone/sdk/server/schemas/Gender; + public static final field MALE Lio/portone/sdk/server/schemas/Gender; + public static final field OTHER Lio/portone/sdk/server/schemas/Gender; + public static fun getEntries ()Lkotlin/enums/EnumEntries; + public static fun valueOf (Ljava/lang/String;)Lio/portone/sdk/server/schemas/Gender; + public static fun values ()[Lio/portone/sdk/server/schemas/Gender; +} + +public final class io/portone/sdk/server/schemas/Gender$Companion { + public final fun serializer ()Lkotlinx/serialization/KSerializer; +} + +public final class io/portone/sdk/server/schemas/GetAllPaymentsByCursorResponse { + public static final field Companion Lio/portone/sdk/server/schemas/GetAllPaymentsByCursorResponse$Companion; + public fun (Ljava/util/List;)V + public final fun component1 ()Ljava/util/List; + public final fun copy (Ljava/util/List;)Lio/portone/sdk/server/schemas/GetAllPaymentsByCursorResponse; + public static synthetic fun copy$default (Lio/portone/sdk/server/schemas/GetAllPaymentsByCursorResponse;Ljava/util/List;ILjava/lang/Object;)Lio/portone/sdk/server/schemas/GetAllPaymentsByCursorResponse; + public fun equals (Ljava/lang/Object;)Z + public final fun getItems ()Ljava/util/List; + public fun hashCode ()I + public fun toString ()Ljava/lang/String; +} + +public synthetic class io/portone/sdk/server/schemas/GetAllPaymentsByCursorResponse$$serializer : kotlinx/serialization/internal/GeneratedSerializer { + public static final field INSTANCE Lio/portone/sdk/server/schemas/GetAllPaymentsByCursorResponse$$serializer; + public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; + public final fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Lio/portone/sdk/server/schemas/GetAllPaymentsByCursorResponse; + public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; + public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; + public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lio/portone/sdk/server/schemas/GetAllPaymentsByCursorResponse;)V + public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; +} + +public final class io/portone/sdk/server/schemas/GetAllPaymentsByCursorResponse$Companion { + public final fun serializer ()Lkotlinx/serialization/KSerializer; +} + +public final class io/portone/sdk/server/schemas/GetBillingKeyInfosResponse { + public static final field Companion Lio/portone/sdk/server/schemas/GetBillingKeyInfosResponse$Companion; + public fun (Ljava/util/List;Lio/portone/sdk/server/schemas/PageInfo;)V + public final fun component1 ()Ljava/util/List; + public final fun component2 ()Lio/portone/sdk/server/schemas/PageInfo; + public final fun copy (Ljava/util/List;Lio/portone/sdk/server/schemas/PageInfo;)Lio/portone/sdk/server/schemas/GetBillingKeyInfosResponse; + public static synthetic fun copy$default (Lio/portone/sdk/server/schemas/GetBillingKeyInfosResponse;Ljava/util/List;Lio/portone/sdk/server/schemas/PageInfo;ILjava/lang/Object;)Lio/portone/sdk/server/schemas/GetBillingKeyInfosResponse; + public fun equals (Ljava/lang/Object;)Z + public final fun getItems ()Ljava/util/List; + public final fun getPage ()Lio/portone/sdk/server/schemas/PageInfo; + public fun hashCode ()I + public fun toString ()Ljava/lang/String; +} + +public synthetic class io/portone/sdk/server/schemas/GetBillingKeyInfosResponse$$serializer : kotlinx/serialization/internal/GeneratedSerializer { + public static final field INSTANCE Lio/portone/sdk/server/schemas/GetBillingKeyInfosResponse$$serializer; + public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; + public final fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Lio/portone/sdk/server/schemas/GetBillingKeyInfosResponse; + public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; + public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; + public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lio/portone/sdk/server/schemas/GetBillingKeyInfosResponse;)V + public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; +} + +public final class io/portone/sdk/server/schemas/GetBillingKeyInfosResponse$Companion { + public final fun serializer ()Lkotlinx/serialization/KSerializer; +} + +public final class io/portone/sdk/server/schemas/GetKakaopayPaymentOrderResponse { + public static final field Companion Lio/portone/sdk/server/schemas/GetKakaopayPaymentOrderResponse$Companion; + public fun (ILjava/lang/String;)V + public final fun component1 ()I + public final fun component2 ()Ljava/lang/String; + public final fun copy (ILjava/lang/String;)Lio/portone/sdk/server/schemas/GetKakaopayPaymentOrderResponse; + public static synthetic fun copy$default (Lio/portone/sdk/server/schemas/GetKakaopayPaymentOrderResponse;ILjava/lang/String;ILjava/lang/Object;)Lio/portone/sdk/server/schemas/GetKakaopayPaymentOrderResponse; + public fun equals (Ljava/lang/Object;)Z + public final fun getBody ()Ljava/lang/String; + public final fun getStatusCode ()I + public fun hashCode ()I + public fun toString ()Ljava/lang/String; +} + +public synthetic class io/portone/sdk/server/schemas/GetKakaopayPaymentOrderResponse$$serializer : kotlinx/serialization/internal/GeneratedSerializer { + public static final field INSTANCE Lio/portone/sdk/server/schemas/GetKakaopayPaymentOrderResponse$$serializer; + public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; + public final fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Lio/portone/sdk/server/schemas/GetKakaopayPaymentOrderResponse; + public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; + public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; + public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lio/portone/sdk/server/schemas/GetKakaopayPaymentOrderResponse;)V + public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; +} + +public final class io/portone/sdk/server/schemas/GetKakaopayPaymentOrderResponse$Companion { + public final fun serializer ()Lkotlinx/serialization/KSerializer; +} + +public final class io/portone/sdk/server/schemas/GetPaymentSchedulesResponse { + public static final field Companion Lio/portone/sdk/server/schemas/GetPaymentSchedulesResponse$Companion; + public fun (Ljava/util/List;Lio/portone/sdk/server/schemas/PageInfo;)V + public final fun component1 ()Ljava/util/List; + public final fun component2 ()Lio/portone/sdk/server/schemas/PageInfo; + public final fun copy (Ljava/util/List;Lio/portone/sdk/server/schemas/PageInfo;)Lio/portone/sdk/server/schemas/GetPaymentSchedulesResponse; + public static synthetic fun copy$default (Lio/portone/sdk/server/schemas/GetPaymentSchedulesResponse;Ljava/util/List;Lio/portone/sdk/server/schemas/PageInfo;ILjava/lang/Object;)Lio/portone/sdk/server/schemas/GetPaymentSchedulesResponse; + public fun equals (Ljava/lang/Object;)Z + public final fun getItems ()Ljava/util/List; + public final fun getPage ()Lio/portone/sdk/server/schemas/PageInfo; + public fun hashCode ()I + public fun toString ()Ljava/lang/String; +} + +public synthetic class io/portone/sdk/server/schemas/GetPaymentSchedulesResponse$$serializer : kotlinx/serialization/internal/GeneratedSerializer { + public static final field INSTANCE Lio/portone/sdk/server/schemas/GetPaymentSchedulesResponse$$serializer; + public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; + public final fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Lio/portone/sdk/server/schemas/GetPaymentSchedulesResponse; + public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; + public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; + public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lio/portone/sdk/server/schemas/GetPaymentSchedulesResponse;)V + public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; +} + +public final class io/portone/sdk/server/schemas/GetPaymentSchedulesResponse$Companion { + public final fun serializer ()Lkotlinx/serialization/KSerializer; +} + +public final class io/portone/sdk/server/schemas/GetPaymentsResponse { + public static final field Companion Lio/portone/sdk/server/schemas/GetPaymentsResponse$Companion; + public fun (Ljava/util/List;Lio/portone/sdk/server/schemas/PageInfo;)V + public final fun component1 ()Ljava/util/List; + public final fun component2 ()Lio/portone/sdk/server/schemas/PageInfo; + public final fun copy (Ljava/util/List;Lio/portone/sdk/server/schemas/PageInfo;)Lio/portone/sdk/server/schemas/GetPaymentsResponse; + public static synthetic fun copy$default (Lio/portone/sdk/server/schemas/GetPaymentsResponse;Ljava/util/List;Lio/portone/sdk/server/schemas/PageInfo;ILjava/lang/Object;)Lio/portone/sdk/server/schemas/GetPaymentsResponse; + public fun equals (Ljava/lang/Object;)Z + public final fun getItems ()Ljava/util/List; + public final fun getPage ()Lio/portone/sdk/server/schemas/PageInfo; + public fun hashCode ()I + public fun toString ()Ljava/lang/String; +} + +public synthetic class io/portone/sdk/server/schemas/GetPaymentsResponse$$serializer : kotlinx/serialization/internal/GeneratedSerializer { + public static final field INSTANCE Lio/portone/sdk/server/schemas/GetPaymentsResponse$$serializer; + public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; + public final fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Lio/portone/sdk/server/schemas/GetPaymentsResponse; + public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; + public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; + public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lio/portone/sdk/server/schemas/GetPaymentsResponse;)V + public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; +} + +public final class io/portone/sdk/server/schemas/GetPaymentsResponse$Companion { + public final fun serializer ()Lkotlinx/serialization/KSerializer; +} + +public abstract interface class io/portone/sdk/server/schemas/IdentityVerification { + public static final field Companion Lio/portone/sdk/server/schemas/IdentityVerification$Companion; + public abstract fun getChannel ()Lio/portone/sdk/server/schemas/SelectedChannel; + public abstract fun getCustomData ()Ljava/lang/String; + public abstract fun getId ()Ljava/lang/String; + public abstract fun getRequestedAt ()Ljava/time/Instant; + public abstract fun getStatusChangedAt ()Ljava/time/Instant; + public abstract fun getUpdatedAt ()Ljava/time/Instant; +} + +public final class io/portone/sdk/server/schemas/IdentityVerification$Companion { + public final fun serializer ()Lkotlinx/serialization/KSerializer; +} + +public final class io/portone/sdk/server/schemas/IdentityVerificationAlreadySentException : java/lang/Exception { + public fun ()V + public fun (Ljava/lang/String;)V + public synthetic fun (Ljava/lang/String;ILkotlin/jvm/internal/DefaultConstructorMarker;)V +} + +public final class io/portone/sdk/server/schemas/IdentityVerificationAlreadyVerifiedException : java/lang/Exception { + public fun ()V + public fun (Ljava/lang/String;)V + public synthetic fun (Ljava/lang/String;ILkotlin/jvm/internal/DefaultConstructorMarker;)V +} + +public final class io/portone/sdk/server/schemas/IdentityVerificationFailure { + public static final field Companion Lio/portone/sdk/server/schemas/IdentityVerificationFailure$Companion; + public fun ()V + public fun (Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V + public synthetic fun (Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;ILkotlin/jvm/internal/DefaultConstructorMarker;)V + public final fun component1 ()Ljava/lang/String; + public final fun component2 ()Ljava/lang/String; + public final fun component3 ()Ljava/lang/String; + public final fun copy (Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Lio/portone/sdk/server/schemas/IdentityVerificationFailure; + public static synthetic fun copy$default (Lio/portone/sdk/server/schemas/IdentityVerificationFailure;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;ILjava/lang/Object;)Lio/portone/sdk/server/schemas/IdentityVerificationFailure; + public fun equals (Ljava/lang/Object;)Z + public final fun getPgCode ()Ljava/lang/String; + public final fun getPgMessage ()Ljava/lang/String; + public final fun getReason ()Ljava/lang/String; + public fun hashCode ()I + public fun toString ()Ljava/lang/String; +} + +public synthetic class io/portone/sdk/server/schemas/IdentityVerificationFailure$$serializer : kotlinx/serialization/internal/GeneratedSerializer { + public static final field INSTANCE Lio/portone/sdk/server/schemas/IdentityVerificationFailure$$serializer; + public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; + public final fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Lio/portone/sdk/server/schemas/IdentityVerificationFailure; + public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; + public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; + public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lio/portone/sdk/server/schemas/IdentityVerificationFailure;)V + public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; +} + +public final class io/portone/sdk/server/schemas/IdentityVerificationFailure$Companion { + public final fun serializer ()Lkotlinx/serialization/KSerializer; +} + +public final class io/portone/sdk/server/schemas/IdentityVerificationMethod : java/lang/Enum { + public static final field APP Lio/portone/sdk/server/schemas/IdentityVerificationMethod; + public static final field Companion Lio/portone/sdk/server/schemas/IdentityVerificationMethod$Companion; + public static final field SMS Lio/portone/sdk/server/schemas/IdentityVerificationMethod; + public static fun getEntries ()Lkotlin/enums/EnumEntries; + public static fun valueOf (Ljava/lang/String;)Lio/portone/sdk/server/schemas/IdentityVerificationMethod; + public static fun values ()[Lio/portone/sdk/server/schemas/IdentityVerificationMethod; +} + +public final class io/portone/sdk/server/schemas/IdentityVerificationMethod$Companion { + public final fun serializer ()Lkotlinx/serialization/KSerializer; +} + +public final class io/portone/sdk/server/schemas/IdentityVerificationNotFoundException : java/lang/Exception { + public fun ()V + public fun (Ljava/lang/String;)V + public synthetic fun (Ljava/lang/String;ILkotlin/jvm/internal/DefaultConstructorMarker;)V +} + +public final class io/portone/sdk/server/schemas/IdentityVerificationNotSentException : java/lang/Exception { + public fun ()V + public fun (Ljava/lang/String;)V + public synthetic fun (Ljava/lang/String;ILkotlin/jvm/internal/DefaultConstructorMarker;)V +} + +public final class io/portone/sdk/server/schemas/IdentityVerificationOperator : java/lang/Enum { + public static final field Companion Lio/portone/sdk/server/schemas/IdentityVerificationOperator$Companion; + public static final field KT Lio/portone/sdk/server/schemas/IdentityVerificationOperator; + public static final field KT_MVNO Lio/portone/sdk/server/schemas/IdentityVerificationOperator; + public static final field LGU Lio/portone/sdk/server/schemas/IdentityVerificationOperator; + public static final field LGU_MVNO Lio/portone/sdk/server/schemas/IdentityVerificationOperator; + public static final field SKT Lio/portone/sdk/server/schemas/IdentityVerificationOperator; + public static final field SKT_MVNO Lio/portone/sdk/server/schemas/IdentityVerificationOperator; + public static fun getEntries ()Lkotlin/enums/EnumEntries; + public static fun valueOf (Ljava/lang/String;)Lio/portone/sdk/server/schemas/IdentityVerificationOperator; + public static fun values ()[Lio/portone/sdk/server/schemas/IdentityVerificationOperator; +} + +public final class io/portone/sdk/server/schemas/IdentityVerificationOperator$Companion { + public final fun serializer ()Lkotlinx/serialization/KSerializer; +} + +public final class io/portone/sdk/server/schemas/IdentityVerificationRequestedCustomer { + public static final field Companion Lio/portone/sdk/server/schemas/IdentityVerificationRequestedCustomer$Companion; + public fun ()V + public fun (Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V + public synthetic fun (Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;ILkotlin/jvm/internal/DefaultConstructorMarker;)V + public final fun component1 ()Ljava/lang/String; + public final fun component2 ()Ljava/lang/String; + public final fun component3 ()Ljava/lang/String; + public final fun copy (Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Lio/portone/sdk/server/schemas/IdentityVerificationRequestedCustomer; + public static synthetic fun copy$default (Lio/portone/sdk/server/schemas/IdentityVerificationRequestedCustomer;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;ILjava/lang/Object;)Lio/portone/sdk/server/schemas/IdentityVerificationRequestedCustomer; + public fun equals (Ljava/lang/Object;)Z + public final fun getId ()Ljava/lang/String; + public final fun getName ()Ljava/lang/String; + public final fun getPhoneNumber ()Ljava/lang/String; + public fun hashCode ()I + public fun toString ()Ljava/lang/String; +} + +public synthetic class io/portone/sdk/server/schemas/IdentityVerificationRequestedCustomer$$serializer : kotlinx/serialization/internal/GeneratedSerializer { + public static final field INSTANCE Lio/portone/sdk/server/schemas/IdentityVerificationRequestedCustomer$$serializer; + public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; + public final fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Lio/portone/sdk/server/schemas/IdentityVerificationRequestedCustomer; + public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; + public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; + public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lio/portone/sdk/server/schemas/IdentityVerificationRequestedCustomer;)V + public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; +} + +public final class io/portone/sdk/server/schemas/IdentityVerificationRequestedCustomer$Companion { + public final fun serializer ()Lkotlinx/serialization/KSerializer; +} + +public final class io/portone/sdk/server/schemas/IdentityVerificationVerifiedCustomer { + public static final field Companion Lio/portone/sdk/server/schemas/IdentityVerificationVerifiedCustomer$Companion; + public fun (Ljava/lang/String;Ljava/lang/String;Lio/portone/sdk/server/schemas/IdentityVerificationOperator;Ljava/lang/String;Ljava/lang/String;Lio/portone/sdk/server/schemas/Gender;Ljava/lang/Boolean;Ljava/lang/String;Ljava/lang/String;)V + public synthetic fun (Ljava/lang/String;Ljava/lang/String;Lio/portone/sdk/server/schemas/IdentityVerificationOperator;Ljava/lang/String;Ljava/lang/String;Lio/portone/sdk/server/schemas/Gender;Ljava/lang/Boolean;Ljava/lang/String;Ljava/lang/String;ILkotlin/jvm/internal/DefaultConstructorMarker;)V + public final fun component1 ()Ljava/lang/String; + public final fun component2 ()Ljava/lang/String; + public final fun component3 ()Lio/portone/sdk/server/schemas/IdentityVerificationOperator; + public final fun component4 ()Ljava/lang/String; + public final fun component5 ()Ljava/lang/String; + public final fun component6 ()Lio/portone/sdk/server/schemas/Gender; + public final fun component7 ()Ljava/lang/Boolean; + public final fun component8 ()Ljava/lang/String; + public final fun component9 ()Ljava/lang/String; + public final fun copy (Ljava/lang/String;Ljava/lang/String;Lio/portone/sdk/server/schemas/IdentityVerificationOperator;Ljava/lang/String;Ljava/lang/String;Lio/portone/sdk/server/schemas/Gender;Ljava/lang/Boolean;Ljava/lang/String;Ljava/lang/String;)Lio/portone/sdk/server/schemas/IdentityVerificationVerifiedCustomer; + public static synthetic fun copy$default (Lio/portone/sdk/server/schemas/IdentityVerificationVerifiedCustomer;Ljava/lang/String;Ljava/lang/String;Lio/portone/sdk/server/schemas/IdentityVerificationOperator;Ljava/lang/String;Ljava/lang/String;Lio/portone/sdk/server/schemas/Gender;Ljava/lang/Boolean;Ljava/lang/String;Ljava/lang/String;ILjava/lang/Object;)Lio/portone/sdk/server/schemas/IdentityVerificationVerifiedCustomer; + public fun equals (Ljava/lang/Object;)Z + public final fun getBirthDate ()Ljava/lang/String; + public final fun getCi ()Ljava/lang/String; + public final fun getDi ()Ljava/lang/String; + public final fun getGender ()Lio/portone/sdk/server/schemas/Gender; + public final fun getId ()Ljava/lang/String; + public final fun getName ()Ljava/lang/String; + public final fun getOperator ()Lio/portone/sdk/server/schemas/IdentityVerificationOperator; + public final fun getPhoneNumber ()Ljava/lang/String; + public fun hashCode ()I + public final fun isForeigner ()Ljava/lang/Boolean; + public fun toString ()Ljava/lang/String; +} + +public synthetic class io/portone/sdk/server/schemas/IdentityVerificationVerifiedCustomer$$serializer : kotlinx/serialization/internal/GeneratedSerializer { + public static final field INSTANCE Lio/portone/sdk/server/schemas/IdentityVerificationVerifiedCustomer$$serializer; + public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; + public final fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Lio/portone/sdk/server/schemas/IdentityVerificationVerifiedCustomer; + public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; + public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; + public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lio/portone/sdk/server/schemas/IdentityVerificationVerifiedCustomer;)V + public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; +} + +public final class io/portone/sdk/server/schemas/IdentityVerificationVerifiedCustomer$Companion { + public final fun serializer ()Lkotlinx/serialization/KSerializer; +} + +public final class io/portone/sdk/server/schemas/InstantBillingKeyPaymentMethodInput { + public static final field Companion Lio/portone/sdk/server/schemas/InstantBillingKeyPaymentMethodInput$Companion; + public fun ()V + public fun (Lio/portone/sdk/server/schemas/InstantBillingKeyPaymentMethodInputCard;)V + public synthetic fun (Lio/portone/sdk/server/schemas/InstantBillingKeyPaymentMethodInputCard;ILkotlin/jvm/internal/DefaultConstructorMarker;)V + public final fun component1 ()Lio/portone/sdk/server/schemas/InstantBillingKeyPaymentMethodInputCard; + public final fun copy (Lio/portone/sdk/server/schemas/InstantBillingKeyPaymentMethodInputCard;)Lio/portone/sdk/server/schemas/InstantBillingKeyPaymentMethodInput; + public static synthetic fun copy$default (Lio/portone/sdk/server/schemas/InstantBillingKeyPaymentMethodInput;Lio/portone/sdk/server/schemas/InstantBillingKeyPaymentMethodInputCard;ILjava/lang/Object;)Lio/portone/sdk/server/schemas/InstantBillingKeyPaymentMethodInput; + public fun equals (Ljava/lang/Object;)Z + public final fun getCard ()Lio/portone/sdk/server/schemas/InstantBillingKeyPaymentMethodInputCard; + public fun hashCode ()I + public fun toString ()Ljava/lang/String; +} + +public synthetic class io/portone/sdk/server/schemas/InstantBillingKeyPaymentMethodInput$$serializer : kotlinx/serialization/internal/GeneratedSerializer { + public static final field INSTANCE Lio/portone/sdk/server/schemas/InstantBillingKeyPaymentMethodInput$$serializer; + public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; + public final fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Lio/portone/sdk/server/schemas/InstantBillingKeyPaymentMethodInput; + public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; + public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; + public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lio/portone/sdk/server/schemas/InstantBillingKeyPaymentMethodInput;)V + public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; +} + +public final class io/portone/sdk/server/schemas/InstantBillingKeyPaymentMethodInput$Companion { + public final fun serializer ()Lkotlinx/serialization/KSerializer; +} + +public final class io/portone/sdk/server/schemas/InstantBillingKeyPaymentMethodInputCard { + public static final field Companion Lio/portone/sdk/server/schemas/InstantBillingKeyPaymentMethodInputCard$Companion; + public fun (Lio/portone/sdk/server/schemas/CardCredential;)V + public final fun component1 ()Lio/portone/sdk/server/schemas/CardCredential; + public final fun copy (Lio/portone/sdk/server/schemas/CardCredential;)Lio/portone/sdk/server/schemas/InstantBillingKeyPaymentMethodInputCard; + public static synthetic fun copy$default (Lio/portone/sdk/server/schemas/InstantBillingKeyPaymentMethodInputCard;Lio/portone/sdk/server/schemas/CardCredential;ILjava/lang/Object;)Lio/portone/sdk/server/schemas/InstantBillingKeyPaymentMethodInputCard; + public fun equals (Ljava/lang/Object;)Z + public final fun getCredential ()Lio/portone/sdk/server/schemas/CardCredential; + public fun hashCode ()I + public fun toString ()Ljava/lang/String; +} + +public synthetic class io/portone/sdk/server/schemas/InstantBillingKeyPaymentMethodInputCard$$serializer : kotlinx/serialization/internal/GeneratedSerializer { + public static final field INSTANCE Lio/portone/sdk/server/schemas/InstantBillingKeyPaymentMethodInputCard$$serializer; + public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; + public final fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Lio/portone/sdk/server/schemas/InstantBillingKeyPaymentMethodInputCard; + public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; + public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; + public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lio/portone/sdk/server/schemas/InstantBillingKeyPaymentMethodInputCard;)V + public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; +} + +public final class io/portone/sdk/server/schemas/InstantBillingKeyPaymentMethodInputCard$Companion { + public final fun serializer ()Lkotlinx/serialization/KSerializer; +} + +public final class io/portone/sdk/server/schemas/InstantPaymentMethodInput { + public static final field Companion Lio/portone/sdk/server/schemas/InstantPaymentMethodInput$Companion; + public fun ()V + public fun (Lio/portone/sdk/server/schemas/InstantPaymentMethodInputCard;Lio/portone/sdk/server/schemas/InstantPaymentMethodInputVirtualAccount;)V + public synthetic fun (Lio/portone/sdk/server/schemas/InstantPaymentMethodInputCard;Lio/portone/sdk/server/schemas/InstantPaymentMethodInputVirtualAccount;ILkotlin/jvm/internal/DefaultConstructorMarker;)V + public final fun component1 ()Lio/portone/sdk/server/schemas/InstantPaymentMethodInputCard; + public final fun component2 ()Lio/portone/sdk/server/schemas/InstantPaymentMethodInputVirtualAccount; + public final fun copy (Lio/portone/sdk/server/schemas/InstantPaymentMethodInputCard;Lio/portone/sdk/server/schemas/InstantPaymentMethodInputVirtualAccount;)Lio/portone/sdk/server/schemas/InstantPaymentMethodInput; + public static synthetic fun copy$default (Lio/portone/sdk/server/schemas/InstantPaymentMethodInput;Lio/portone/sdk/server/schemas/InstantPaymentMethodInputCard;Lio/portone/sdk/server/schemas/InstantPaymentMethodInputVirtualAccount;ILjava/lang/Object;)Lio/portone/sdk/server/schemas/InstantPaymentMethodInput; + public fun equals (Ljava/lang/Object;)Z + public final fun getCard ()Lio/portone/sdk/server/schemas/InstantPaymentMethodInputCard; + public final fun getVirtualAccount ()Lio/portone/sdk/server/schemas/InstantPaymentMethodInputVirtualAccount; + public fun hashCode ()I + public fun toString ()Ljava/lang/String; +} + +public synthetic class io/portone/sdk/server/schemas/InstantPaymentMethodInput$$serializer : kotlinx/serialization/internal/GeneratedSerializer { + public static final field INSTANCE Lio/portone/sdk/server/schemas/InstantPaymentMethodInput$$serializer; + public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; + public final fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Lio/portone/sdk/server/schemas/InstantPaymentMethodInput; + public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; + public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; + public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lio/portone/sdk/server/schemas/InstantPaymentMethodInput;)V + public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; +} + +public final class io/portone/sdk/server/schemas/InstantPaymentMethodInput$Companion { + public final fun serializer ()Lkotlinx/serialization/KSerializer; +} + +public final class io/portone/sdk/server/schemas/InstantPaymentMethodInputCard { + public static final field Companion Lio/portone/sdk/server/schemas/InstantPaymentMethodInputCard$Companion; + public fun (Lio/portone/sdk/server/schemas/CardCredential;Ljava/lang/Integer;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;)V + public synthetic fun (Lio/portone/sdk/server/schemas/CardCredential;Ljava/lang/Integer;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;ILkotlin/jvm/internal/DefaultConstructorMarker;)V + public final fun component1 ()Lio/portone/sdk/server/schemas/CardCredential; + public final fun component2 ()Ljava/lang/Integer; + public final fun component3 ()Ljava/lang/Boolean; + public final fun component4 ()Ljava/lang/Boolean; + public final fun component5 ()Ljava/lang/Boolean; + public final fun copy (Lio/portone/sdk/server/schemas/CardCredential;Ljava/lang/Integer;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;)Lio/portone/sdk/server/schemas/InstantPaymentMethodInputCard; + public static synthetic fun copy$default (Lio/portone/sdk/server/schemas/InstantPaymentMethodInputCard;Lio/portone/sdk/server/schemas/CardCredential;Ljava/lang/Integer;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;ILjava/lang/Object;)Lio/portone/sdk/server/schemas/InstantPaymentMethodInputCard; + public fun equals (Ljava/lang/Object;)Z + public final fun getCredential ()Lio/portone/sdk/server/schemas/CardCredential; + public final fun getInstallmentMonth ()Ljava/lang/Integer; + public final fun getUseCardPoint ()Ljava/lang/Boolean; + public final fun getUseFreeInstallmentPlan ()Ljava/lang/Boolean; + public final fun getUseFreeInterestFromMerchant ()Ljava/lang/Boolean; + public fun hashCode ()I + public fun toString ()Ljava/lang/String; +} + +public synthetic class io/portone/sdk/server/schemas/InstantPaymentMethodInputCard$$serializer : kotlinx/serialization/internal/GeneratedSerializer { + public static final field INSTANCE Lio/portone/sdk/server/schemas/InstantPaymentMethodInputCard$$serializer; + public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; + public final fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Lio/portone/sdk/server/schemas/InstantPaymentMethodInputCard; + public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; + public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; + public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lio/portone/sdk/server/schemas/InstantPaymentMethodInputCard;)V + public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; +} + +public final class io/portone/sdk/server/schemas/InstantPaymentMethodInputCard$Companion { + public final fun serializer ()Lkotlinx/serialization/KSerializer; +} + +public final class io/portone/sdk/server/schemas/InstantPaymentMethodInputVirtualAccount { + public static final field Companion Lio/portone/sdk/server/schemas/InstantPaymentMethodInputVirtualAccount$Companion; + public fun (Lio/portone/sdk/server/schemas/Bank;Lio/portone/sdk/server/schemas/InstantPaymentMethodInputVirtualAccountExpiry;Lio/portone/sdk/server/schemas/InstantPaymentMethodInputVirtualAccountOption;Lio/portone/sdk/server/schemas/InstantPaymentMethodInputVirtualAccountCashReceiptInfo;Ljava/lang/String;)V + public synthetic fun (Lio/portone/sdk/server/schemas/Bank;Lio/portone/sdk/server/schemas/InstantPaymentMethodInputVirtualAccountExpiry;Lio/portone/sdk/server/schemas/InstantPaymentMethodInputVirtualAccountOption;Lio/portone/sdk/server/schemas/InstantPaymentMethodInputVirtualAccountCashReceiptInfo;Ljava/lang/String;ILkotlin/jvm/internal/DefaultConstructorMarker;)V + public final fun component1 ()Lio/portone/sdk/server/schemas/Bank; + public final fun component2 ()Lio/portone/sdk/server/schemas/InstantPaymentMethodInputVirtualAccountExpiry; + public final fun component3 ()Lio/portone/sdk/server/schemas/InstantPaymentMethodInputVirtualAccountOption; + public final fun component4 ()Lio/portone/sdk/server/schemas/InstantPaymentMethodInputVirtualAccountCashReceiptInfo; + public final fun component5 ()Ljava/lang/String; + public final fun copy (Lio/portone/sdk/server/schemas/Bank;Lio/portone/sdk/server/schemas/InstantPaymentMethodInputVirtualAccountExpiry;Lio/portone/sdk/server/schemas/InstantPaymentMethodInputVirtualAccountOption;Lio/portone/sdk/server/schemas/InstantPaymentMethodInputVirtualAccountCashReceiptInfo;Ljava/lang/String;)Lio/portone/sdk/server/schemas/InstantPaymentMethodInputVirtualAccount; + public static synthetic fun copy$default (Lio/portone/sdk/server/schemas/InstantPaymentMethodInputVirtualAccount;Lio/portone/sdk/server/schemas/Bank;Lio/portone/sdk/server/schemas/InstantPaymentMethodInputVirtualAccountExpiry;Lio/portone/sdk/server/schemas/InstantPaymentMethodInputVirtualAccountOption;Lio/portone/sdk/server/schemas/InstantPaymentMethodInputVirtualAccountCashReceiptInfo;Ljava/lang/String;ILjava/lang/Object;)Lio/portone/sdk/server/schemas/InstantPaymentMethodInputVirtualAccount; + public fun equals (Ljava/lang/Object;)Z + public final fun getBank ()Lio/portone/sdk/server/schemas/Bank; + public final fun getCashReceipt ()Lio/portone/sdk/server/schemas/InstantPaymentMethodInputVirtualAccountCashReceiptInfo; + public final fun getExpiry ()Lio/portone/sdk/server/schemas/InstantPaymentMethodInputVirtualAccountExpiry; + public final fun getOption ()Lio/portone/sdk/server/schemas/InstantPaymentMethodInputVirtualAccountOption; + public final fun getRemitteeName ()Ljava/lang/String; + public fun hashCode ()I + public fun toString ()Ljava/lang/String; +} + +public synthetic class io/portone/sdk/server/schemas/InstantPaymentMethodInputVirtualAccount$$serializer : kotlinx/serialization/internal/GeneratedSerializer { + public static final field INSTANCE Lio/portone/sdk/server/schemas/InstantPaymentMethodInputVirtualAccount$$serializer; + public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; + public final fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Lio/portone/sdk/server/schemas/InstantPaymentMethodInputVirtualAccount; + public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; + public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; + public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lio/portone/sdk/server/schemas/InstantPaymentMethodInputVirtualAccount;)V + public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; +} + +public final class io/portone/sdk/server/schemas/InstantPaymentMethodInputVirtualAccount$Companion { + public final fun serializer ()Lkotlinx/serialization/KSerializer; +} + +public final class io/portone/sdk/server/schemas/InstantPaymentMethodInputVirtualAccountCashReceiptInfo { + public static final field Companion Lio/portone/sdk/server/schemas/InstantPaymentMethodInputVirtualAccountCashReceiptInfo$Companion; + public fun (Lio/portone/sdk/server/schemas/CashReceiptInputType;Ljava/lang/String;)V + public final fun component1 ()Lio/portone/sdk/server/schemas/CashReceiptInputType; + public final fun component2 ()Ljava/lang/String; + public final fun copy (Lio/portone/sdk/server/schemas/CashReceiptInputType;Ljava/lang/String;)Lio/portone/sdk/server/schemas/InstantPaymentMethodInputVirtualAccountCashReceiptInfo; + public static synthetic fun copy$default (Lio/portone/sdk/server/schemas/InstantPaymentMethodInputVirtualAccountCashReceiptInfo;Lio/portone/sdk/server/schemas/CashReceiptInputType;Ljava/lang/String;ILjava/lang/Object;)Lio/portone/sdk/server/schemas/InstantPaymentMethodInputVirtualAccountCashReceiptInfo; + public fun equals (Ljava/lang/Object;)Z + public final fun getCustomerIdentityNumber ()Ljava/lang/String; + public final fun getType ()Lio/portone/sdk/server/schemas/CashReceiptInputType; + public fun hashCode ()I + public fun toString ()Ljava/lang/String; +} + +public synthetic class io/portone/sdk/server/schemas/InstantPaymentMethodInputVirtualAccountCashReceiptInfo$$serializer : kotlinx/serialization/internal/GeneratedSerializer { + public static final field INSTANCE Lio/portone/sdk/server/schemas/InstantPaymentMethodInputVirtualAccountCashReceiptInfo$$serializer; + public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; + public final fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Lio/portone/sdk/server/schemas/InstantPaymentMethodInputVirtualAccountCashReceiptInfo; + public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; + public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; + public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lio/portone/sdk/server/schemas/InstantPaymentMethodInputVirtualAccountCashReceiptInfo;)V + public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; +} + +public final class io/portone/sdk/server/schemas/InstantPaymentMethodInputVirtualAccountCashReceiptInfo$Companion { + public final fun serializer ()Lkotlinx/serialization/KSerializer; +} + +public final class io/portone/sdk/server/schemas/InstantPaymentMethodInputVirtualAccountExpiry { + public static final field Companion Lio/portone/sdk/server/schemas/InstantPaymentMethodInputVirtualAccountExpiry$Companion; + public fun ()V + public fun (Ljava/lang/Integer;Ljava/time/Instant;)V + public synthetic fun (Ljava/lang/Integer;Ljava/time/Instant;ILkotlin/jvm/internal/DefaultConstructorMarker;)V + public final fun component1 ()Ljava/lang/Integer; + public final fun component2 ()Ljava/time/Instant; + public final fun copy (Ljava/lang/Integer;Ljava/time/Instant;)Lio/portone/sdk/server/schemas/InstantPaymentMethodInputVirtualAccountExpiry; + public static synthetic fun copy$default (Lio/portone/sdk/server/schemas/InstantPaymentMethodInputVirtualAccountExpiry;Ljava/lang/Integer;Ljava/time/Instant;ILjava/lang/Object;)Lio/portone/sdk/server/schemas/InstantPaymentMethodInputVirtualAccountExpiry; + public fun equals (Ljava/lang/Object;)Z + public final fun getDueDate ()Ljava/time/Instant; + public final fun getValidHours ()Ljava/lang/Integer; + public fun hashCode ()I + public fun toString ()Ljava/lang/String; +} + +public synthetic class io/portone/sdk/server/schemas/InstantPaymentMethodInputVirtualAccountExpiry$$serializer : kotlinx/serialization/internal/GeneratedSerializer { + public static final field INSTANCE Lio/portone/sdk/server/schemas/InstantPaymentMethodInputVirtualAccountExpiry$$serializer; + public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; + public final fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Lio/portone/sdk/server/schemas/InstantPaymentMethodInputVirtualAccountExpiry; + public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; + public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; + public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lio/portone/sdk/server/schemas/InstantPaymentMethodInputVirtualAccountExpiry;)V + public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; +} + +public final class io/portone/sdk/server/schemas/InstantPaymentMethodInputVirtualAccountExpiry$Companion { + public final fun serializer ()Lkotlinx/serialization/KSerializer; +} + +public final class io/portone/sdk/server/schemas/InstantPaymentMethodInputVirtualAccountOption { + public static final field Companion Lio/portone/sdk/server/schemas/InstantPaymentMethodInputVirtualAccountOption$Companion; + public fun (Lio/portone/sdk/server/schemas/InstantPaymentMethodInputVirtualAccountOptionType;Lio/portone/sdk/server/schemas/InstantPaymentMethodInputVirtualAccountOptionFixed;)V + public synthetic fun (Lio/portone/sdk/server/schemas/InstantPaymentMethodInputVirtualAccountOptionType;Lio/portone/sdk/server/schemas/InstantPaymentMethodInputVirtualAccountOptionFixed;ILkotlin/jvm/internal/DefaultConstructorMarker;)V + public final fun component1 ()Lio/portone/sdk/server/schemas/InstantPaymentMethodInputVirtualAccountOptionType; + public final fun component2 ()Lio/portone/sdk/server/schemas/InstantPaymentMethodInputVirtualAccountOptionFixed; + public final fun copy (Lio/portone/sdk/server/schemas/InstantPaymentMethodInputVirtualAccountOptionType;Lio/portone/sdk/server/schemas/InstantPaymentMethodInputVirtualAccountOptionFixed;)Lio/portone/sdk/server/schemas/InstantPaymentMethodInputVirtualAccountOption; + public static synthetic fun copy$default (Lio/portone/sdk/server/schemas/InstantPaymentMethodInputVirtualAccountOption;Lio/portone/sdk/server/schemas/InstantPaymentMethodInputVirtualAccountOptionType;Lio/portone/sdk/server/schemas/InstantPaymentMethodInputVirtualAccountOptionFixed;ILjava/lang/Object;)Lio/portone/sdk/server/schemas/InstantPaymentMethodInputVirtualAccountOption; + public fun equals (Ljava/lang/Object;)Z + public final fun getFixed ()Lio/portone/sdk/server/schemas/InstantPaymentMethodInputVirtualAccountOptionFixed; + public final fun getType ()Lio/portone/sdk/server/schemas/InstantPaymentMethodInputVirtualAccountOptionType; + public fun hashCode ()I + public fun toString ()Ljava/lang/String; +} + +public synthetic class io/portone/sdk/server/schemas/InstantPaymentMethodInputVirtualAccountOption$$serializer : kotlinx/serialization/internal/GeneratedSerializer { + public static final field INSTANCE Lio/portone/sdk/server/schemas/InstantPaymentMethodInputVirtualAccountOption$$serializer; + public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; + public final fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Lio/portone/sdk/server/schemas/InstantPaymentMethodInputVirtualAccountOption; + public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; + public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; + public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lio/portone/sdk/server/schemas/InstantPaymentMethodInputVirtualAccountOption;)V + public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; +} + +public final class io/portone/sdk/server/schemas/InstantPaymentMethodInputVirtualAccountOption$Companion { + public final fun serializer ()Lkotlinx/serialization/KSerializer; +} + +public final class io/portone/sdk/server/schemas/InstantPaymentMethodInputVirtualAccountOptionFixed { + public static final field Companion Lio/portone/sdk/server/schemas/InstantPaymentMethodInputVirtualAccountOptionFixed$Companion; + public fun ()V + public fun (Ljava/lang/String;Ljava/lang/String;)V + public synthetic fun (Ljava/lang/String;Ljava/lang/String;ILkotlin/jvm/internal/DefaultConstructorMarker;)V + public final fun component1 ()Ljava/lang/String; + public final fun component2 ()Ljava/lang/String; + public final fun copy (Ljava/lang/String;Ljava/lang/String;)Lio/portone/sdk/server/schemas/InstantPaymentMethodInputVirtualAccountOptionFixed; + public static synthetic fun copy$default (Lio/portone/sdk/server/schemas/InstantPaymentMethodInputVirtualAccountOptionFixed;Ljava/lang/String;Ljava/lang/String;ILjava/lang/Object;)Lio/portone/sdk/server/schemas/InstantPaymentMethodInputVirtualAccountOptionFixed; + public fun equals (Ljava/lang/Object;)Z + public final fun getAccountNumber ()Ljava/lang/String; + public final fun getPgAccountId ()Ljava/lang/String; + public fun hashCode ()I + public fun toString ()Ljava/lang/String; +} + +public synthetic class io/portone/sdk/server/schemas/InstantPaymentMethodInputVirtualAccountOptionFixed$$serializer : kotlinx/serialization/internal/GeneratedSerializer { + public static final field INSTANCE Lio/portone/sdk/server/schemas/InstantPaymentMethodInputVirtualAccountOptionFixed$$serializer; + public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; + public final fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Lio/portone/sdk/server/schemas/InstantPaymentMethodInputVirtualAccountOptionFixed; + public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; + public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; + public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lio/portone/sdk/server/schemas/InstantPaymentMethodInputVirtualAccountOptionFixed;)V + public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; +} + +public final class io/portone/sdk/server/schemas/InstantPaymentMethodInputVirtualAccountOptionFixed$Companion { + public final fun serializer ()Lkotlinx/serialization/KSerializer; +} + +public final class io/portone/sdk/server/schemas/InstantPaymentMethodInputVirtualAccountOptionType : java/lang/Enum { + public static final field Companion Lio/portone/sdk/server/schemas/InstantPaymentMethodInputVirtualAccountOptionType$Companion; + public static final field FIXED Lio/portone/sdk/server/schemas/InstantPaymentMethodInputVirtualAccountOptionType; + public static final field NORMAL Lio/portone/sdk/server/schemas/InstantPaymentMethodInputVirtualAccountOptionType; + public static fun getEntries ()Lkotlin/enums/EnumEntries; + public static fun valueOf (Ljava/lang/String;)Lio/portone/sdk/server/schemas/InstantPaymentMethodInputVirtualAccountOptionType; + public static fun values ()[Lio/portone/sdk/server/schemas/InstantPaymentMethodInputVirtualAccountOptionType; +} + +public final class io/portone/sdk/server/schemas/InstantPaymentMethodInputVirtualAccountOptionType$Companion { + public final fun serializer ()Lkotlinx/serialization/KSerializer; +} + +public final class io/portone/sdk/server/schemas/InstantPaymentSummary { + public static final field Companion Lio/portone/sdk/server/schemas/InstantPaymentSummary$Companion; + public fun (Ljava/lang/String;Ljava/time/Instant;)V + public final fun component1 ()Ljava/lang/String; + public final fun component2 ()Ljava/time/Instant; + public final fun copy (Ljava/lang/String;Ljava/time/Instant;)Lio/portone/sdk/server/schemas/InstantPaymentSummary; + public static synthetic fun copy$default (Lio/portone/sdk/server/schemas/InstantPaymentSummary;Ljava/lang/String;Ljava/time/Instant;ILjava/lang/Object;)Lio/portone/sdk/server/schemas/InstantPaymentSummary; + public fun equals (Ljava/lang/Object;)Z + public final fun getPaidAt ()Ljava/time/Instant; + public final fun getPgTxId ()Ljava/lang/String; + public fun hashCode ()I + public fun toString ()Ljava/lang/String; +} + +public synthetic class io/portone/sdk/server/schemas/InstantPaymentSummary$$serializer : kotlinx/serialization/internal/GeneratedSerializer { + public static final field INSTANCE Lio/portone/sdk/server/schemas/InstantPaymentSummary$$serializer; + public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; + public final fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Lio/portone/sdk/server/schemas/InstantPaymentSummary; + public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; + public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; + public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lio/portone/sdk/server/schemas/InstantPaymentSummary;)V + public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; +} + +public final class io/portone/sdk/server/schemas/InstantPaymentSummary$Companion { + public final fun serializer ()Lkotlinx/serialization/KSerializer; +} + +public final class io/portone/sdk/server/schemas/InvalidRequestException : java/lang/Exception { + public fun ()V + public fun (Ljava/lang/String;)V + public synthetic fun (Ljava/lang/String;ILkotlin/jvm/internal/DefaultConstructorMarker;)V +} + +public final class io/portone/sdk/server/schemas/IssueBillingKeyResponse { + public static final field Companion Lio/portone/sdk/server/schemas/IssueBillingKeyResponse$Companion; + public fun (Lio/portone/sdk/server/schemas/BillingKeyInfoSummary;Ljava/util/List;)V + public synthetic fun (Lio/portone/sdk/server/schemas/BillingKeyInfoSummary;Ljava/util/List;ILkotlin/jvm/internal/DefaultConstructorMarker;)V + public final fun component1 ()Lio/portone/sdk/server/schemas/BillingKeyInfoSummary; + public final fun component2 ()Ljava/util/List; + public final fun copy (Lio/portone/sdk/server/schemas/BillingKeyInfoSummary;Ljava/util/List;)Lio/portone/sdk/server/schemas/IssueBillingKeyResponse; + public static synthetic fun copy$default (Lio/portone/sdk/server/schemas/IssueBillingKeyResponse;Lio/portone/sdk/server/schemas/BillingKeyInfoSummary;Ljava/util/List;ILjava/lang/Object;)Lio/portone/sdk/server/schemas/IssueBillingKeyResponse; + public fun equals (Ljava/lang/Object;)Z + public final fun getBillingKeyInfo ()Lio/portone/sdk/server/schemas/BillingKeyInfoSummary; + public final fun getChannelSpecificFailures ()Ljava/util/List; + public fun hashCode ()I + public fun toString ()Ljava/lang/String; +} + +public synthetic class io/portone/sdk/server/schemas/IssueBillingKeyResponse$$serializer : kotlinx/serialization/internal/GeneratedSerializer { + public static final field INSTANCE Lio/portone/sdk/server/schemas/IssueBillingKeyResponse$$serializer; + public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; + public final fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Lio/portone/sdk/server/schemas/IssueBillingKeyResponse; + public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; + public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; + public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lio/portone/sdk/server/schemas/IssueBillingKeyResponse;)V + public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; +} + +public final class io/portone/sdk/server/schemas/IssueBillingKeyResponse$Companion { + public final fun serializer ()Lkotlinx/serialization/KSerializer; +} + +public final class io/portone/sdk/server/schemas/IssueCashReceiptCustomerInput { + public static final field Companion Lio/portone/sdk/server/schemas/IssueCashReceiptCustomerInput$Companion; + public fun (Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V + public synthetic fun (Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;ILkotlin/jvm/internal/DefaultConstructorMarker;)V + public final fun component1 ()Ljava/lang/String; + public final fun component2 ()Ljava/lang/String; + public final fun component3 ()Ljava/lang/String; + public final fun component4 ()Ljava/lang/String; + public final fun copy (Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Lio/portone/sdk/server/schemas/IssueCashReceiptCustomerInput; + public static synthetic fun copy$default (Lio/portone/sdk/server/schemas/IssueCashReceiptCustomerInput;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;ILjava/lang/Object;)Lio/portone/sdk/server/schemas/IssueCashReceiptCustomerInput; + public fun equals (Ljava/lang/Object;)Z + public final fun getEmail ()Ljava/lang/String; + public final fun getIdentityNumber ()Ljava/lang/String; + public final fun getName ()Ljava/lang/String; + public final fun getPhoneNumber ()Ljava/lang/String; + public fun hashCode ()I + public fun toString ()Ljava/lang/String; +} + +public synthetic class io/portone/sdk/server/schemas/IssueCashReceiptCustomerInput$$serializer : kotlinx/serialization/internal/GeneratedSerializer { + public static final field INSTANCE Lio/portone/sdk/server/schemas/IssueCashReceiptCustomerInput$$serializer; + public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; + public final fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Lio/portone/sdk/server/schemas/IssueCashReceiptCustomerInput; + public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; + public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; + public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lio/portone/sdk/server/schemas/IssueCashReceiptCustomerInput;)V + public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; +} + +public final class io/portone/sdk/server/schemas/IssueCashReceiptCustomerInput$Companion { + public final fun serializer ()Lkotlinx/serialization/KSerializer; +} + +public final class io/portone/sdk/server/schemas/IssueCashReceiptResponse { + public static final field Companion Lio/portone/sdk/server/schemas/IssueCashReceiptResponse$Companion; + public fun (Lio/portone/sdk/server/schemas/CashReceiptSummary;)V + public final fun component1 ()Lio/portone/sdk/server/schemas/CashReceiptSummary; + public final fun copy (Lio/portone/sdk/server/schemas/CashReceiptSummary;)Lio/portone/sdk/server/schemas/IssueCashReceiptResponse; + public static synthetic fun copy$default (Lio/portone/sdk/server/schemas/IssueCashReceiptResponse;Lio/portone/sdk/server/schemas/CashReceiptSummary;ILjava/lang/Object;)Lio/portone/sdk/server/schemas/IssueCashReceiptResponse; + public fun equals (Ljava/lang/Object;)Z + public final fun getCashReceipt ()Lio/portone/sdk/server/schemas/CashReceiptSummary; + public fun hashCode ()I + public fun toString ()Ljava/lang/String; +} + +public synthetic class io/portone/sdk/server/schemas/IssueCashReceiptResponse$$serializer : kotlinx/serialization/internal/GeneratedSerializer { + public static final field INSTANCE Lio/portone/sdk/server/schemas/IssueCashReceiptResponse$$serializer; + public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; + public final fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Lio/portone/sdk/server/schemas/IssueCashReceiptResponse; + public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; + public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; + public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lio/portone/sdk/server/schemas/IssueCashReceiptResponse;)V + public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; +} + +public final class io/portone/sdk/server/schemas/IssueCashReceiptResponse$Companion { + public final fun serializer ()Lkotlinx/serialization/KSerializer; +} + +public final class io/portone/sdk/server/schemas/IssueFailedCashReceipt : io/portone/sdk/server/schemas/CashReceipt { + public static final field Companion Lio/portone/sdk/server/schemas/IssueFailedCashReceipt$Companion; + public fun (Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Lio/portone/sdk/server/schemas/SelectedChannel;Ljava/lang/String;Z)V + public synthetic fun (Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Lio/portone/sdk/server/schemas/SelectedChannel;Ljava/lang/String;ZILkotlin/jvm/internal/DefaultConstructorMarker;)V + public final fun component1 ()Ljava/lang/String; + public final fun component2 ()Ljava/lang/String; + public final fun component3 ()Ljava/lang/String; + public final fun component4 ()Lio/portone/sdk/server/schemas/SelectedChannel; + public final fun component5 ()Ljava/lang/String; + public final fun component6 ()Z + public final fun copy (Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Lio/portone/sdk/server/schemas/SelectedChannel;Ljava/lang/String;Z)Lio/portone/sdk/server/schemas/IssueFailedCashReceipt; + public static synthetic fun copy$default (Lio/portone/sdk/server/schemas/IssueFailedCashReceipt;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Lio/portone/sdk/server/schemas/SelectedChannel;Ljava/lang/String;ZILjava/lang/Object;)Lio/portone/sdk/server/schemas/IssueFailedCashReceipt; + public fun equals (Ljava/lang/Object;)Z + public fun getChannel ()Lio/portone/sdk/server/schemas/SelectedChannel; + public fun getMerchantId ()Ljava/lang/String; + public fun getOrderName ()Ljava/lang/String; + public fun getPaymentId ()Ljava/lang/String; + public fun getStoreId ()Ljava/lang/String; + public fun hashCode ()I + public fun isManual ()Z + public fun toString ()Ljava/lang/String; +} + +public synthetic class io/portone/sdk/server/schemas/IssueFailedCashReceipt$$serializer : kotlinx/serialization/internal/GeneratedSerializer { + public static final field INSTANCE Lio/portone/sdk/server/schemas/IssueFailedCashReceipt$$serializer; + public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; + public final fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Lio/portone/sdk/server/schemas/IssueFailedCashReceipt; + public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; + public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; + public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lio/portone/sdk/server/schemas/IssueFailedCashReceipt;)V + public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; +} + +public final class io/portone/sdk/server/schemas/IssueFailedCashReceipt$Companion { + public final fun serializer ()Lkotlinx/serialization/KSerializer; +} + +public final class io/portone/sdk/server/schemas/IssuedBillingKeyInfo : io/portone/sdk/server/schemas/BillingKeyInfo { + public static final field Companion Lio/portone/sdk/server/schemas/IssuedBillingKeyInfo$Companion; + public fun (Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/util/List;Ljava/util/List;Lio/portone/sdk/server/schemas/Customer;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/time/Instant;Ljava/time/Instant;Lio/portone/sdk/server/schemas/ChannelGroupSummary;Ljava/util/List;)V + public synthetic fun (Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/util/List;Ljava/util/List;Lio/portone/sdk/server/schemas/Customer;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/time/Instant;Ljava/time/Instant;Lio/portone/sdk/server/schemas/ChannelGroupSummary;Ljava/util/List;ILkotlin/jvm/internal/DefaultConstructorMarker;)V + public final fun component1 ()Ljava/lang/String; + public final fun component10 ()Ljava/time/Instant; + public final fun component11 ()Ljava/time/Instant; + public final fun component12 ()Lio/portone/sdk/server/schemas/ChannelGroupSummary; + public final fun component13 ()Ljava/util/List; + public final fun component2 ()Ljava/lang/String; + public final fun component3 ()Ljava/lang/String; + public final fun component4 ()Ljava/util/List; + public final fun component5 ()Ljava/util/List; + public final fun component6 ()Lio/portone/sdk/server/schemas/Customer; + public final fun component7 ()Ljava/lang/String; + public final fun component8 ()Ljava/lang/String; + public final fun component9 ()Ljava/lang/String; + public final fun copy (Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/util/List;Ljava/util/List;Lio/portone/sdk/server/schemas/Customer;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/time/Instant;Ljava/time/Instant;Lio/portone/sdk/server/schemas/ChannelGroupSummary;Ljava/util/List;)Lio/portone/sdk/server/schemas/IssuedBillingKeyInfo; + public static synthetic fun copy$default (Lio/portone/sdk/server/schemas/IssuedBillingKeyInfo;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/util/List;Ljava/util/List;Lio/portone/sdk/server/schemas/Customer;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/time/Instant;Ljava/time/Instant;Lio/portone/sdk/server/schemas/ChannelGroupSummary;Ljava/util/List;ILjava/lang/Object;)Lio/portone/sdk/server/schemas/IssuedBillingKeyInfo; + public fun equals (Ljava/lang/Object;)Z + public fun getBillingKey ()Ljava/lang/String; + public fun getChannelGroup ()Lio/portone/sdk/server/schemas/ChannelGroupSummary; + public fun getChannels ()Ljava/util/List; + public fun getCustomData ()Ljava/lang/String; + public fun getCustomer ()Lio/portone/sdk/server/schemas/Customer; + public fun getIssueId ()Ljava/lang/String; + public fun getIssueName ()Ljava/lang/String; + public fun getIssuedAt ()Ljava/time/Instant; + public fun getMerchantId ()Ljava/lang/String; + public fun getMethods ()Ljava/util/List; + public fun getPgBillingKeyIssueResponses ()Ljava/util/List; + public fun getRequestedAt ()Ljava/time/Instant; + public fun getStoreId ()Ljava/lang/String; + public fun hashCode ()I + public fun toString ()Ljava/lang/String; +} + +public synthetic class io/portone/sdk/server/schemas/IssuedBillingKeyInfo$$serializer : kotlinx/serialization/internal/GeneratedSerializer { + public static final field INSTANCE Lio/portone/sdk/server/schemas/IssuedBillingKeyInfo$$serializer; + public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; + public final fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Lio/portone/sdk/server/schemas/IssuedBillingKeyInfo; + public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; + public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; + public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lio/portone/sdk/server/schemas/IssuedBillingKeyInfo;)V + public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; +} + +public final class io/portone/sdk/server/schemas/IssuedBillingKeyInfo$Companion { + public final fun serializer ()Lkotlinx/serialization/KSerializer; +} + +public final class io/portone/sdk/server/schemas/IssuedCashReceipt : io/portone/sdk/server/schemas/CashReceipt { + public static final field Companion Lio/portone/sdk/server/schemas/IssuedCashReceipt$Companion; + public fun (Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Lio/portone/sdk/server/schemas/SelectedChannel;JLjava/lang/Long;Ljava/lang/Long;Lio/portone/sdk/server/schemas/Currency;Ljava/lang/String;ZLio/portone/sdk/server/schemas/CashReceiptType;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/time/Instant;)V + public synthetic fun (Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Lio/portone/sdk/server/schemas/SelectedChannel;JLjava/lang/Long;Ljava/lang/Long;Lio/portone/sdk/server/schemas/Currency;Ljava/lang/String;ZLio/portone/sdk/server/schemas/CashReceiptType;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/time/Instant;ILkotlin/jvm/internal/DefaultConstructorMarker;)V + public final fun component1 ()Ljava/lang/String; + public final fun component10 ()Z + public final fun component11 ()Lio/portone/sdk/server/schemas/CashReceiptType; + public final fun component12 ()Ljava/lang/String; + public final fun component13 ()Ljava/lang/String; + public final fun component14 ()Ljava/lang/String; + public final fun component15 ()Ljava/time/Instant; + public final fun component2 ()Ljava/lang/String; + public final fun component3 ()Ljava/lang/String; + public final fun component4 ()Lio/portone/sdk/server/schemas/SelectedChannel; + public final fun component5 ()J + public final fun component6 ()Ljava/lang/Long; + public final fun component7 ()Ljava/lang/Long; + public final fun component8 ()Lio/portone/sdk/server/schemas/Currency; + public final fun component9 ()Ljava/lang/String; + public final fun copy (Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Lio/portone/sdk/server/schemas/SelectedChannel;JLjava/lang/Long;Ljava/lang/Long;Lio/portone/sdk/server/schemas/Currency;Ljava/lang/String;ZLio/portone/sdk/server/schemas/CashReceiptType;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/time/Instant;)Lio/portone/sdk/server/schemas/IssuedCashReceipt; + public static synthetic fun copy$default (Lio/portone/sdk/server/schemas/IssuedCashReceipt;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Lio/portone/sdk/server/schemas/SelectedChannel;JLjava/lang/Long;Ljava/lang/Long;Lio/portone/sdk/server/schemas/Currency;Ljava/lang/String;ZLio/portone/sdk/server/schemas/CashReceiptType;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/time/Instant;ILjava/lang/Object;)Lio/portone/sdk/server/schemas/IssuedCashReceipt; + public fun equals (Ljava/lang/Object;)Z + public final fun getAmount ()J + public fun getChannel ()Lio/portone/sdk/server/schemas/SelectedChannel; + public final fun getCurrency ()Lio/portone/sdk/server/schemas/Currency; + public final fun getIssueNumber ()Ljava/lang/String; + public final fun getIssuedAt ()Ljava/time/Instant; + public fun getMerchantId ()Ljava/lang/String; + public fun getOrderName ()Ljava/lang/String; + public fun getPaymentId ()Ljava/lang/String; + public final fun getPgReceiptId ()Ljava/lang/String; + public fun getStoreId ()Ljava/lang/String; + public final fun getTaxFreeAmount ()Ljava/lang/Long; + public final fun getType ()Lio/portone/sdk/server/schemas/CashReceiptType; + public final fun getUrl ()Ljava/lang/String; + public final fun getVatAmount ()Ljava/lang/Long; + public fun hashCode ()I + public fun isManual ()Z + public fun toString ()Ljava/lang/String; +} + +public synthetic class io/portone/sdk/server/schemas/IssuedCashReceipt$$serializer : kotlinx/serialization/internal/GeneratedSerializer { + public static final field INSTANCE Lio/portone/sdk/server/schemas/IssuedCashReceipt$$serializer; + public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; + public final fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Lio/portone/sdk/server/schemas/IssuedCashReceipt; + public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; + public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; + public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lio/portone/sdk/server/schemas/IssuedCashReceipt;)V + public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; +} + +public final class io/portone/sdk/server/schemas/IssuedCashReceipt$Companion { + public final fun serializer ()Lkotlinx/serialization/KSerializer; +} + +public final class io/portone/sdk/server/schemas/IssuedPaymentCashReceipt : io/portone/sdk/server/schemas/PaymentCashReceipt { + public static final field Companion Lio/portone/sdk/server/schemas/IssuedPaymentCashReceipt$Companion; + public fun (Lio/portone/sdk/server/schemas/CashReceiptType;Ljava/lang/String;Ljava/lang/String;JLjava/lang/Long;Lio/portone/sdk/server/schemas/Currency;Ljava/lang/String;Ljava/time/Instant;)V + public synthetic fun (Lio/portone/sdk/server/schemas/CashReceiptType;Ljava/lang/String;Ljava/lang/String;JLjava/lang/Long;Lio/portone/sdk/server/schemas/Currency;Ljava/lang/String;Ljava/time/Instant;ILkotlin/jvm/internal/DefaultConstructorMarker;)V + public final fun component1 ()Lio/portone/sdk/server/schemas/CashReceiptType; + public final fun component2 ()Ljava/lang/String; + public final fun component3 ()Ljava/lang/String; + public final fun component4 ()J + public final fun component5 ()Ljava/lang/Long; + public final fun component6 ()Lio/portone/sdk/server/schemas/Currency; + public final fun component7 ()Ljava/lang/String; + public final fun component8 ()Ljava/time/Instant; + public final fun copy (Lio/portone/sdk/server/schemas/CashReceiptType;Ljava/lang/String;Ljava/lang/String;JLjava/lang/Long;Lio/portone/sdk/server/schemas/Currency;Ljava/lang/String;Ljava/time/Instant;)Lio/portone/sdk/server/schemas/IssuedPaymentCashReceipt; + public static synthetic fun copy$default (Lio/portone/sdk/server/schemas/IssuedPaymentCashReceipt;Lio/portone/sdk/server/schemas/CashReceiptType;Ljava/lang/String;Ljava/lang/String;JLjava/lang/Long;Lio/portone/sdk/server/schemas/Currency;Ljava/lang/String;Ljava/time/Instant;ILjava/lang/Object;)Lio/portone/sdk/server/schemas/IssuedPaymentCashReceipt; + public fun equals (Ljava/lang/Object;)Z + public fun getCurrency ()Lio/portone/sdk/server/schemas/Currency; + public fun getIssueNumber ()Ljava/lang/String; + public fun getIssuedAt ()Ljava/time/Instant; + public fun getPgReceiptId ()Ljava/lang/String; + public fun getTaxFreeAmount ()Ljava/lang/Long; + public fun getTotalAmount ()J + public fun getType ()Lio/portone/sdk/server/schemas/CashReceiptType; + public fun getUrl ()Ljava/lang/String; + public fun hashCode ()I + public fun toString ()Ljava/lang/String; +} + +public synthetic class io/portone/sdk/server/schemas/IssuedPaymentCashReceipt$$serializer : kotlinx/serialization/internal/GeneratedSerializer { + public static final field INSTANCE Lio/portone/sdk/server/schemas/IssuedPaymentCashReceipt$$serializer; + public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; + public final fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Lio/portone/sdk/server/schemas/IssuedPaymentCashReceipt; + public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; + public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; + public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lio/portone/sdk/server/schemas/IssuedPaymentCashReceipt;)V + public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; +} + +public final class io/portone/sdk/server/schemas/IssuedPaymentCashReceipt$Companion { + public final fun serializer ()Lkotlinx/serialization/KSerializer; +} + +public final class io/portone/sdk/server/schemas/IssuedPgBillingKeyIssueResponse : io/portone/sdk/server/schemas/PgBillingKeyIssueResponse { + public static final field Companion Lio/portone/sdk/server/schemas/IssuedPgBillingKeyIssueResponse$Companion; + public fun (Lio/portone/sdk/server/schemas/SelectedChannel;Ljava/lang/String;Lio/portone/sdk/server/schemas/BillingKeyPaymentMethod;)V + public synthetic fun (Lio/portone/sdk/server/schemas/SelectedChannel;Ljava/lang/String;Lio/portone/sdk/server/schemas/BillingKeyPaymentMethod;ILkotlin/jvm/internal/DefaultConstructorMarker;)V + public final fun component1 ()Lio/portone/sdk/server/schemas/SelectedChannel; + public final fun component2 ()Ljava/lang/String; + public final fun component3 ()Lio/portone/sdk/server/schemas/BillingKeyPaymentMethod; + public final fun copy (Lio/portone/sdk/server/schemas/SelectedChannel;Ljava/lang/String;Lio/portone/sdk/server/schemas/BillingKeyPaymentMethod;)Lio/portone/sdk/server/schemas/IssuedPgBillingKeyIssueResponse; + public static synthetic fun copy$default (Lio/portone/sdk/server/schemas/IssuedPgBillingKeyIssueResponse;Lio/portone/sdk/server/schemas/SelectedChannel;Ljava/lang/String;Lio/portone/sdk/server/schemas/BillingKeyPaymentMethod;ILjava/lang/Object;)Lio/portone/sdk/server/schemas/IssuedPgBillingKeyIssueResponse; + public fun equals (Ljava/lang/Object;)Z + public fun getChannel ()Lio/portone/sdk/server/schemas/SelectedChannel; + public final fun getMethod ()Lio/portone/sdk/server/schemas/BillingKeyPaymentMethod; + public final fun getPgTxId ()Ljava/lang/String; + public fun hashCode ()I + public fun toString ()Ljava/lang/String; +} + +public synthetic class io/portone/sdk/server/schemas/IssuedPgBillingKeyIssueResponse$$serializer : kotlinx/serialization/internal/GeneratedSerializer { + public static final field INSTANCE Lio/portone/sdk/server/schemas/IssuedPgBillingKeyIssueResponse$$serializer; + public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; + public final fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Lio/portone/sdk/server/schemas/IssuedPgBillingKeyIssueResponse; + public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; + public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; + public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lio/portone/sdk/server/schemas/IssuedPgBillingKeyIssueResponse;)V + public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; +} + +public final class io/portone/sdk/server/schemas/IssuedPgBillingKeyIssueResponse$Companion { + public final fun serializer ()Lkotlinx/serialization/KSerializer; +} + +public final class io/portone/sdk/server/schemas/ModifyEscrowLogisticsResponse { + public static final field Companion Lio/portone/sdk/server/schemas/ModifyEscrowLogisticsResponse$Companion; + public fun (Ljava/lang/String;Ljava/time/Instant;Ljava/time/Instant;)V + public final fun component1 ()Ljava/lang/String; + public final fun component2 ()Ljava/time/Instant; + public final fun component3 ()Ljava/time/Instant; + public final fun copy (Ljava/lang/String;Ljava/time/Instant;Ljava/time/Instant;)Lio/portone/sdk/server/schemas/ModifyEscrowLogisticsResponse; + public static synthetic fun copy$default (Lio/portone/sdk/server/schemas/ModifyEscrowLogisticsResponse;Ljava/lang/String;Ljava/time/Instant;Ljava/time/Instant;ILjava/lang/Object;)Lio/portone/sdk/server/schemas/ModifyEscrowLogisticsResponse; + public fun equals (Ljava/lang/Object;)Z + public final fun getInvoiceNumber ()Ljava/lang/String; + public final fun getModifiedAt ()Ljava/time/Instant; + public final fun getSentAt ()Ljava/time/Instant; + public fun hashCode ()I + public fun toString ()Ljava/lang/String; +} + +public synthetic class io/portone/sdk/server/schemas/ModifyEscrowLogisticsResponse$$serializer : kotlinx/serialization/internal/GeneratedSerializer { + public static final field INSTANCE Lio/portone/sdk/server/schemas/ModifyEscrowLogisticsResponse$$serializer; + public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; + public final fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Lio/portone/sdk/server/schemas/ModifyEscrowLogisticsResponse; + public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; + public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; + public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lio/portone/sdk/server/schemas/ModifyEscrowLogisticsResponse;)V + public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; +} + +public final class io/portone/sdk/server/schemas/ModifyEscrowLogisticsResponse$Companion { + public final fun serializer ()Lkotlinx/serialization/KSerializer; +} + +public final class io/portone/sdk/server/schemas/OneLineAddress : io/portone/sdk/server/schemas/Address { + public static final field Companion Lio/portone/sdk/server/schemas/OneLineAddress$Companion; + public fun (Ljava/lang/String;)V + public final fun component1 ()Ljava/lang/String; + public final fun copy (Ljava/lang/String;)Lio/portone/sdk/server/schemas/OneLineAddress; + public static synthetic fun copy$default (Lio/portone/sdk/server/schemas/OneLineAddress;Ljava/lang/String;ILjava/lang/Object;)Lio/portone/sdk/server/schemas/OneLineAddress; + public fun equals (Ljava/lang/Object;)Z + public fun getOneLine ()Ljava/lang/String; + public fun hashCode ()I + public fun toString ()Ljava/lang/String; +} + +public synthetic class io/portone/sdk/server/schemas/OneLineAddress$$serializer : kotlinx/serialization/internal/GeneratedSerializer { + public static final field INSTANCE Lio/portone/sdk/server/schemas/OneLineAddress$$serializer; + public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; + public final fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Lio/portone/sdk/server/schemas/OneLineAddress; + public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; + public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; + public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lio/portone/sdk/server/schemas/OneLineAddress;)V + public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; +} + +public final class io/portone/sdk/server/schemas/OneLineAddress$Companion { + public final fun serializer ()Lkotlinx/serialization/KSerializer; +} + +public final class io/portone/sdk/server/schemas/PageInfo { + public static final field Companion Lio/portone/sdk/server/schemas/PageInfo$Companion; + public fun (III)V + public final fun component1 ()I + public final fun component2 ()I + public final fun component3 ()I + public final fun copy (III)Lio/portone/sdk/server/schemas/PageInfo; + public static synthetic fun copy$default (Lio/portone/sdk/server/schemas/PageInfo;IIIILjava/lang/Object;)Lio/portone/sdk/server/schemas/PageInfo; + public fun equals (Ljava/lang/Object;)Z + public final fun getNumber ()I + public final fun getSize ()I + public final fun getTotalCount ()I + public fun hashCode ()I + public fun toString ()Ljava/lang/String; +} + +public synthetic class io/portone/sdk/server/schemas/PageInfo$$serializer : kotlinx/serialization/internal/GeneratedSerializer { + public static final field INSTANCE Lio/portone/sdk/server/schemas/PageInfo$$serializer; + public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; + public final fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Lio/portone/sdk/server/schemas/PageInfo; + public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; + public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; + public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lio/portone/sdk/server/schemas/PageInfo;)V + public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; +} + +public final class io/portone/sdk/server/schemas/PageInfo$Companion { + public final fun serializer ()Lkotlinx/serialization/KSerializer; +} + +public final class io/portone/sdk/server/schemas/PageInput { + public static final field Companion Lio/portone/sdk/server/schemas/PageInput$Companion; + public fun ()V + public fun (Ljava/lang/Integer;Ljava/lang/Integer;)V + public synthetic fun (Ljava/lang/Integer;Ljava/lang/Integer;ILkotlin/jvm/internal/DefaultConstructorMarker;)V + public final fun component1 ()Ljava/lang/Integer; + public final fun component2 ()Ljava/lang/Integer; + public final fun copy (Ljava/lang/Integer;Ljava/lang/Integer;)Lio/portone/sdk/server/schemas/PageInput; + public static synthetic fun copy$default (Lio/portone/sdk/server/schemas/PageInput;Ljava/lang/Integer;Ljava/lang/Integer;ILjava/lang/Object;)Lio/portone/sdk/server/schemas/PageInput; + public fun equals (Ljava/lang/Object;)Z + public final fun getNumber ()Ljava/lang/Integer; + public final fun getSize ()Ljava/lang/Integer; + public fun hashCode ()I + public fun toString ()Ljava/lang/String; +} + +public synthetic class io/portone/sdk/server/schemas/PageInput$$serializer : kotlinx/serialization/internal/GeneratedSerializer { + public static final field INSTANCE Lio/portone/sdk/server/schemas/PageInput$$serializer; + public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; + public final fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Lio/portone/sdk/server/schemas/PageInput; + public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; + public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; + public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lio/portone/sdk/server/schemas/PageInput;)V + public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; +} + +public final class io/portone/sdk/server/schemas/PageInput$Companion { + public final fun serializer ()Lkotlinx/serialization/KSerializer; +} + +public final class io/portone/sdk/server/schemas/PaidPayment : io/portone/sdk/server/schemas/Payment { + public static final field Companion Lio/portone/sdk/server/schemas/PaidPayment$Companion; + public fun (Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Lio/portone/sdk/server/schemas/PaymentMethod;Lio/portone/sdk/server/schemas/SelectedChannel;Lio/portone/sdk/server/schemas/ChannelGroupSummary;Lio/portone/sdk/server/schemas/PortOneVersion;Ljava/lang/String;Ljava/lang/String;Ljava/util/List;Ljava/time/Instant;Ljava/time/Instant;Ljava/time/Instant;Ljava/lang/String;Lio/portone/sdk/server/schemas/PaymentAmount;Lio/portone/sdk/server/schemas/Currency;Lio/portone/sdk/server/schemas/Customer;Ljava/lang/String;Ljava/lang/Boolean;Lio/portone/sdk/server/schemas/PaymentEscrow;Ljava/util/List;Ljava/lang/Integer;Ljava/lang/String;Lio/portone/sdk/server/schemas/Country;Ljava/time/Instant;Ljava/lang/String;Ljava/lang/String;Lio/portone/sdk/server/schemas/PaymentCashReceipt;Ljava/lang/String;)V + public synthetic fun (Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Lio/portone/sdk/server/schemas/PaymentMethod;Lio/portone/sdk/server/schemas/SelectedChannel;Lio/portone/sdk/server/schemas/ChannelGroupSummary;Lio/portone/sdk/server/schemas/PortOneVersion;Ljava/lang/String;Ljava/lang/String;Ljava/util/List;Ljava/time/Instant;Ljava/time/Instant;Ljava/time/Instant;Ljava/lang/String;Lio/portone/sdk/server/schemas/PaymentAmount;Lio/portone/sdk/server/schemas/Currency;Lio/portone/sdk/server/schemas/Customer;Ljava/lang/String;Ljava/lang/Boolean;Lio/portone/sdk/server/schemas/PaymentEscrow;Ljava/util/List;Ljava/lang/Integer;Ljava/lang/String;Lio/portone/sdk/server/schemas/Country;Ljava/time/Instant;Ljava/lang/String;Ljava/lang/String;Lio/portone/sdk/server/schemas/PaymentCashReceipt;Ljava/lang/String;ILkotlin/jvm/internal/DefaultConstructorMarker;)V + public final fun component1 ()Ljava/lang/String; + public final fun component10 ()Ljava/lang/String; + public final fun component11 ()Ljava/util/List; + public final fun component12 ()Ljava/time/Instant; + public final fun component13 ()Ljava/time/Instant; + public final fun component14 ()Ljava/time/Instant; + public final fun component15 ()Ljava/lang/String; + public final fun component16 ()Lio/portone/sdk/server/schemas/PaymentAmount; + public final fun component17 ()Lio/portone/sdk/server/schemas/Currency; + public final fun component18 ()Lio/portone/sdk/server/schemas/Customer; + public final fun component19 ()Ljava/lang/String; + public final fun component2 ()Ljava/lang/String; + public final fun component20 ()Ljava/lang/Boolean; + public final fun component21 ()Lio/portone/sdk/server/schemas/PaymentEscrow; + public final fun component22 ()Ljava/util/List; + public final fun component23 ()Ljava/lang/Integer; + public final fun component24 ()Ljava/lang/String; + public final fun component25 ()Lio/portone/sdk/server/schemas/Country; + public final fun component26 ()Ljava/time/Instant; + public final fun component27 ()Ljava/lang/String; + public final fun component28 ()Ljava/lang/String; + public final fun component29 ()Lio/portone/sdk/server/schemas/PaymentCashReceipt; + public final fun component3 ()Ljava/lang/String; + public final fun component30 ()Ljava/lang/String; + public final fun component4 ()Ljava/lang/String; + public final fun component5 ()Lio/portone/sdk/server/schemas/PaymentMethod; + public final fun component6 ()Lio/portone/sdk/server/schemas/SelectedChannel; + public final fun component7 ()Lio/portone/sdk/server/schemas/ChannelGroupSummary; + public final fun component8 ()Lio/portone/sdk/server/schemas/PortOneVersion; + public final fun component9 ()Ljava/lang/String; + public final fun copy (Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Lio/portone/sdk/server/schemas/PaymentMethod;Lio/portone/sdk/server/schemas/SelectedChannel;Lio/portone/sdk/server/schemas/ChannelGroupSummary;Lio/portone/sdk/server/schemas/PortOneVersion;Ljava/lang/String;Ljava/lang/String;Ljava/util/List;Ljava/time/Instant;Ljava/time/Instant;Ljava/time/Instant;Ljava/lang/String;Lio/portone/sdk/server/schemas/PaymentAmount;Lio/portone/sdk/server/schemas/Currency;Lio/portone/sdk/server/schemas/Customer;Ljava/lang/String;Ljava/lang/Boolean;Lio/portone/sdk/server/schemas/PaymentEscrow;Ljava/util/List;Ljava/lang/Integer;Ljava/lang/String;Lio/portone/sdk/server/schemas/Country;Ljava/time/Instant;Ljava/lang/String;Ljava/lang/String;Lio/portone/sdk/server/schemas/PaymentCashReceipt;Ljava/lang/String;)Lio/portone/sdk/server/schemas/PaidPayment; + public static synthetic fun copy$default (Lio/portone/sdk/server/schemas/PaidPayment;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Lio/portone/sdk/server/schemas/PaymentMethod;Lio/portone/sdk/server/schemas/SelectedChannel;Lio/portone/sdk/server/schemas/ChannelGroupSummary;Lio/portone/sdk/server/schemas/PortOneVersion;Ljava/lang/String;Ljava/lang/String;Ljava/util/List;Ljava/time/Instant;Ljava/time/Instant;Ljava/time/Instant;Ljava/lang/String;Lio/portone/sdk/server/schemas/PaymentAmount;Lio/portone/sdk/server/schemas/Currency;Lio/portone/sdk/server/schemas/Customer;Ljava/lang/String;Ljava/lang/Boolean;Lio/portone/sdk/server/schemas/PaymentEscrow;Ljava/util/List;Ljava/lang/Integer;Ljava/lang/String;Lio/portone/sdk/server/schemas/Country;Ljava/time/Instant;Ljava/lang/String;Ljava/lang/String;Lio/portone/sdk/server/schemas/PaymentCashReceipt;Ljava/lang/String;ILjava/lang/Object;)Lio/portone/sdk/server/schemas/PaidPayment; + public fun equals (Ljava/lang/Object;)Z + public fun getAmount ()Lio/portone/sdk/server/schemas/PaymentAmount; + public fun getBillingKey ()Ljava/lang/String; + public final fun getCashReceipt ()Lio/portone/sdk/server/schemas/PaymentCashReceipt; + public fun getChannel ()Lio/portone/sdk/server/schemas/SelectedChannel; + public fun getChannelGroup ()Lio/portone/sdk/server/schemas/ChannelGroupSummary; + public fun getCountry ()Lio/portone/sdk/server/schemas/Country; + public fun getCurrency ()Lio/portone/sdk/server/schemas/Currency; + public fun getCustomData ()Ljava/lang/String; + public fun getCustomer ()Lio/portone/sdk/server/schemas/Customer; + public fun getEscrow ()Lio/portone/sdk/server/schemas/PaymentEscrow; + public fun getId ()Ljava/lang/String; + public fun getMerchantId ()Ljava/lang/String; + public fun getMethod ()Lio/portone/sdk/server/schemas/PaymentMethod; + public fun getOrderName ()Ljava/lang/String; + public final fun getPaidAt ()Ljava/time/Instant; + public final fun getPgResponse ()Ljava/lang/String; + public final fun getPgTxId ()Ljava/lang/String; + public fun getProductCount ()Ljava/lang/Integer; + public fun getProducts ()Ljava/util/List; + public fun getPromotionId ()Ljava/lang/String; + public final fun getReceiptUrl ()Ljava/lang/String; + public fun getRequestedAt ()Ljava/time/Instant; + public fun getScheduleId ()Ljava/lang/String; + public fun getStatusChangedAt ()Ljava/time/Instant; + public fun getStoreId ()Ljava/lang/String; + public final fun getTransactionId ()Ljava/lang/String; + public fun getUpdatedAt ()Ljava/time/Instant; + public fun getVersion ()Lio/portone/sdk/server/schemas/PortOneVersion; + public fun getWebhooks ()Ljava/util/List; + public fun hashCode ()I + public fun isCulturalExpense ()Ljava/lang/Boolean; + public fun toString ()Ljava/lang/String; +} + +public synthetic class io/portone/sdk/server/schemas/PaidPayment$$serializer : kotlinx/serialization/internal/GeneratedSerializer { + public static final field INSTANCE Lio/portone/sdk/server/schemas/PaidPayment$$serializer; + public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; + public final fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Lio/portone/sdk/server/schemas/PaidPayment; + public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; + public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; + public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lio/portone/sdk/server/schemas/PaidPayment;)V + public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; +} + +public final class io/portone/sdk/server/schemas/PaidPayment$Companion { + public final fun serializer ()Lkotlinx/serialization/KSerializer; +} + +public final class io/portone/sdk/server/schemas/PartialCancelledPayment : io/portone/sdk/server/schemas/Payment { + public static final field Companion Lio/portone/sdk/server/schemas/PartialCancelledPayment$Companion; + public fun (Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Lio/portone/sdk/server/schemas/PaymentMethod;Lio/portone/sdk/server/schemas/SelectedChannel;Lio/portone/sdk/server/schemas/ChannelGroupSummary;Lio/portone/sdk/server/schemas/PortOneVersion;Ljava/lang/String;Ljava/lang/String;Ljava/util/List;Ljava/time/Instant;Ljava/time/Instant;Ljava/time/Instant;Ljava/lang/String;Lio/portone/sdk/server/schemas/PaymentAmount;Lio/portone/sdk/server/schemas/Currency;Lio/portone/sdk/server/schemas/Customer;Ljava/lang/String;Ljava/lang/Boolean;Lio/portone/sdk/server/schemas/PaymentEscrow;Ljava/util/List;Ljava/lang/Integer;Ljava/lang/String;Lio/portone/sdk/server/schemas/Country;Ljava/time/Instant;Ljava/lang/String;Lio/portone/sdk/server/schemas/PaymentCashReceipt;Ljava/lang/String;Ljava/util/List;Ljava/time/Instant;)V + public synthetic fun (Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Lio/portone/sdk/server/schemas/PaymentMethod;Lio/portone/sdk/server/schemas/SelectedChannel;Lio/portone/sdk/server/schemas/ChannelGroupSummary;Lio/portone/sdk/server/schemas/PortOneVersion;Ljava/lang/String;Ljava/lang/String;Ljava/util/List;Ljava/time/Instant;Ljava/time/Instant;Ljava/time/Instant;Ljava/lang/String;Lio/portone/sdk/server/schemas/PaymentAmount;Lio/portone/sdk/server/schemas/Currency;Lio/portone/sdk/server/schemas/Customer;Ljava/lang/String;Ljava/lang/Boolean;Lio/portone/sdk/server/schemas/PaymentEscrow;Ljava/util/List;Ljava/lang/Integer;Ljava/lang/String;Lio/portone/sdk/server/schemas/Country;Ljava/time/Instant;Ljava/lang/String;Lio/portone/sdk/server/schemas/PaymentCashReceipt;Ljava/lang/String;Ljava/util/List;Ljava/time/Instant;ILkotlin/jvm/internal/DefaultConstructorMarker;)V + public final fun component1 ()Ljava/lang/String; + public final fun component10 ()Ljava/lang/String; + public final fun component11 ()Ljava/util/List; + public final fun component12 ()Ljava/time/Instant; + public final fun component13 ()Ljava/time/Instant; + public final fun component14 ()Ljava/time/Instant; + public final fun component15 ()Ljava/lang/String; + public final fun component16 ()Lio/portone/sdk/server/schemas/PaymentAmount; + public final fun component17 ()Lio/portone/sdk/server/schemas/Currency; + public final fun component18 ()Lio/portone/sdk/server/schemas/Customer; + public final fun component19 ()Ljava/lang/String; + public final fun component2 ()Ljava/lang/String; + public final fun component20 ()Ljava/lang/Boolean; + public final fun component21 ()Lio/portone/sdk/server/schemas/PaymentEscrow; + public final fun component22 ()Ljava/util/List; + public final fun component23 ()Ljava/lang/Integer; + public final fun component24 ()Ljava/lang/String; + public final fun component25 ()Lio/portone/sdk/server/schemas/Country; + public final fun component26 ()Ljava/time/Instant; + public final fun component27 ()Ljava/lang/String; + public final fun component28 ()Lio/portone/sdk/server/schemas/PaymentCashReceipt; + public final fun component29 ()Ljava/lang/String; + public final fun component3 ()Ljava/lang/String; + public final fun component30 ()Ljava/util/List; + public final fun component31 ()Ljava/time/Instant; + public final fun component4 ()Ljava/lang/String; + public final fun component5 ()Lio/portone/sdk/server/schemas/PaymentMethod; + public final fun component6 ()Lio/portone/sdk/server/schemas/SelectedChannel; + public final fun component7 ()Lio/portone/sdk/server/schemas/ChannelGroupSummary; + public final fun component8 ()Lio/portone/sdk/server/schemas/PortOneVersion; + public final fun component9 ()Ljava/lang/String; + public final fun copy (Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Lio/portone/sdk/server/schemas/PaymentMethod;Lio/portone/sdk/server/schemas/SelectedChannel;Lio/portone/sdk/server/schemas/ChannelGroupSummary;Lio/portone/sdk/server/schemas/PortOneVersion;Ljava/lang/String;Ljava/lang/String;Ljava/util/List;Ljava/time/Instant;Ljava/time/Instant;Ljava/time/Instant;Ljava/lang/String;Lio/portone/sdk/server/schemas/PaymentAmount;Lio/portone/sdk/server/schemas/Currency;Lio/portone/sdk/server/schemas/Customer;Ljava/lang/String;Ljava/lang/Boolean;Lio/portone/sdk/server/schemas/PaymentEscrow;Ljava/util/List;Ljava/lang/Integer;Ljava/lang/String;Lio/portone/sdk/server/schemas/Country;Ljava/time/Instant;Ljava/lang/String;Lio/portone/sdk/server/schemas/PaymentCashReceipt;Ljava/lang/String;Ljava/util/List;Ljava/time/Instant;)Lio/portone/sdk/server/schemas/PartialCancelledPayment; + public static synthetic fun copy$default (Lio/portone/sdk/server/schemas/PartialCancelledPayment;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Lio/portone/sdk/server/schemas/PaymentMethod;Lio/portone/sdk/server/schemas/SelectedChannel;Lio/portone/sdk/server/schemas/ChannelGroupSummary;Lio/portone/sdk/server/schemas/PortOneVersion;Ljava/lang/String;Ljava/lang/String;Ljava/util/List;Ljava/time/Instant;Ljava/time/Instant;Ljava/time/Instant;Ljava/lang/String;Lio/portone/sdk/server/schemas/PaymentAmount;Lio/portone/sdk/server/schemas/Currency;Lio/portone/sdk/server/schemas/Customer;Ljava/lang/String;Ljava/lang/Boolean;Lio/portone/sdk/server/schemas/PaymentEscrow;Ljava/util/List;Ljava/lang/Integer;Ljava/lang/String;Lio/portone/sdk/server/schemas/Country;Ljava/time/Instant;Ljava/lang/String;Lio/portone/sdk/server/schemas/PaymentCashReceipt;Ljava/lang/String;Ljava/util/List;Ljava/time/Instant;ILjava/lang/Object;)Lio/portone/sdk/server/schemas/PartialCancelledPayment; + public fun equals (Ljava/lang/Object;)Z + public fun getAmount ()Lio/portone/sdk/server/schemas/PaymentAmount; + public fun getBillingKey ()Ljava/lang/String; + public final fun getCancellations ()Ljava/util/List; + public final fun getCancelledAt ()Ljava/time/Instant; + public final fun getCashReceipt ()Lio/portone/sdk/server/schemas/PaymentCashReceipt; + public fun getChannel ()Lio/portone/sdk/server/schemas/SelectedChannel; + public fun getChannelGroup ()Lio/portone/sdk/server/schemas/ChannelGroupSummary; + public fun getCountry ()Lio/portone/sdk/server/schemas/Country; + public fun getCurrency ()Lio/portone/sdk/server/schemas/Currency; + public fun getCustomData ()Ljava/lang/String; + public fun getCustomer ()Lio/portone/sdk/server/schemas/Customer; + public fun getEscrow ()Lio/portone/sdk/server/schemas/PaymentEscrow; + public fun getId ()Ljava/lang/String; + public fun getMerchantId ()Ljava/lang/String; + public fun getMethod ()Lio/portone/sdk/server/schemas/PaymentMethod; + public fun getOrderName ()Ljava/lang/String; + public final fun getPaidAt ()Ljava/time/Instant; + public final fun getPgTxId ()Ljava/lang/String; + public fun getProductCount ()Ljava/lang/Integer; + public fun getProducts ()Ljava/util/List; + public fun getPromotionId ()Ljava/lang/String; + public final fun getReceiptUrl ()Ljava/lang/String; + public fun getRequestedAt ()Ljava/time/Instant; + public fun getScheduleId ()Ljava/lang/String; + public fun getStatusChangedAt ()Ljava/time/Instant; + public fun getStoreId ()Ljava/lang/String; + public final fun getTransactionId ()Ljava/lang/String; + public fun getUpdatedAt ()Ljava/time/Instant; + public fun getVersion ()Lio/portone/sdk/server/schemas/PortOneVersion; + public fun getWebhooks ()Ljava/util/List; + public fun hashCode ()I + public fun isCulturalExpense ()Ljava/lang/Boolean; + public fun toString ()Ljava/lang/String; +} + +public synthetic class io/portone/sdk/server/schemas/PartialCancelledPayment$$serializer : kotlinx/serialization/internal/GeneratedSerializer { + public static final field INSTANCE Lio/portone/sdk/server/schemas/PartialCancelledPayment$$serializer; + public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; + public final fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Lio/portone/sdk/server/schemas/PartialCancelledPayment; + public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; + public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; + public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lio/portone/sdk/server/schemas/PartialCancelledPayment;)V + public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; +} + +public final class io/portone/sdk/server/schemas/PartialCancelledPayment$Companion { + public final fun serializer ()Lkotlinx/serialization/KSerializer; +} + +public final class io/portone/sdk/server/schemas/PayInstantlyResponse { + public static final field Companion Lio/portone/sdk/server/schemas/PayInstantlyResponse$Companion; + public fun (Lio/portone/sdk/server/schemas/InstantPaymentSummary;)V + public final fun component1 ()Lio/portone/sdk/server/schemas/InstantPaymentSummary; + public final fun copy (Lio/portone/sdk/server/schemas/InstantPaymentSummary;)Lio/portone/sdk/server/schemas/PayInstantlyResponse; + public static synthetic fun copy$default (Lio/portone/sdk/server/schemas/PayInstantlyResponse;Lio/portone/sdk/server/schemas/InstantPaymentSummary;ILjava/lang/Object;)Lio/portone/sdk/server/schemas/PayInstantlyResponse; + public fun equals (Ljava/lang/Object;)Z + public final fun getPayment ()Lio/portone/sdk/server/schemas/InstantPaymentSummary; + public fun hashCode ()I + public fun toString ()Ljava/lang/String; +} + +public synthetic class io/portone/sdk/server/schemas/PayInstantlyResponse$$serializer : kotlinx/serialization/internal/GeneratedSerializer { + public static final field INSTANCE Lio/portone/sdk/server/schemas/PayInstantlyResponse$$serializer; + public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; + public final fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Lio/portone/sdk/server/schemas/PayInstantlyResponse; + public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; + public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; + public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lio/portone/sdk/server/schemas/PayInstantlyResponse;)V + public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; +} + +public final class io/portone/sdk/server/schemas/PayInstantlyResponse$Companion { + public final fun serializer ()Lkotlinx/serialization/KSerializer; +} + +public final class io/portone/sdk/server/schemas/PayPendingPayment : io/portone/sdk/server/schemas/Payment { + public static final field Companion Lio/portone/sdk/server/schemas/PayPendingPayment$Companion; + public fun (Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Lio/portone/sdk/server/schemas/PaymentMethod;Lio/portone/sdk/server/schemas/SelectedChannel;Lio/portone/sdk/server/schemas/ChannelGroupSummary;Lio/portone/sdk/server/schemas/PortOneVersion;Ljava/lang/String;Ljava/lang/String;Ljava/util/List;Ljava/time/Instant;Ljava/time/Instant;Ljava/time/Instant;Ljava/lang/String;Lio/portone/sdk/server/schemas/PaymentAmount;Lio/portone/sdk/server/schemas/Currency;Lio/portone/sdk/server/schemas/Customer;Ljava/lang/String;Ljava/lang/Boolean;Lio/portone/sdk/server/schemas/PaymentEscrow;Ljava/util/List;Ljava/lang/Integer;Ljava/lang/String;Lio/portone/sdk/server/schemas/Country;Ljava/lang/String;)V + public synthetic fun (Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Lio/portone/sdk/server/schemas/PaymentMethod;Lio/portone/sdk/server/schemas/SelectedChannel;Lio/portone/sdk/server/schemas/ChannelGroupSummary;Lio/portone/sdk/server/schemas/PortOneVersion;Ljava/lang/String;Ljava/lang/String;Ljava/util/List;Ljava/time/Instant;Ljava/time/Instant;Ljava/time/Instant;Ljava/lang/String;Lio/portone/sdk/server/schemas/PaymentAmount;Lio/portone/sdk/server/schemas/Currency;Lio/portone/sdk/server/schemas/Customer;Ljava/lang/String;Ljava/lang/Boolean;Lio/portone/sdk/server/schemas/PaymentEscrow;Ljava/util/List;Ljava/lang/Integer;Ljava/lang/String;Lio/portone/sdk/server/schemas/Country;Ljava/lang/String;ILkotlin/jvm/internal/DefaultConstructorMarker;)V + public final fun component1 ()Ljava/lang/String; + public final fun component10 ()Ljava/util/List; + public final fun component11 ()Ljava/time/Instant; + public final fun component12 ()Ljava/time/Instant; + public final fun component13 ()Ljava/time/Instant; + public final fun component14 ()Ljava/lang/String; + public final fun component15 ()Lio/portone/sdk/server/schemas/PaymentAmount; + public final fun component16 ()Lio/portone/sdk/server/schemas/Currency; + public final fun component17 ()Lio/portone/sdk/server/schemas/Customer; + public final fun component18 ()Ljava/lang/String; + public final fun component19 ()Ljava/lang/Boolean; + public final fun component2 ()Ljava/lang/String; + public final fun component20 ()Lio/portone/sdk/server/schemas/PaymentEscrow; + public final fun component21 ()Ljava/util/List; + public final fun component22 ()Ljava/lang/Integer; + public final fun component23 ()Ljava/lang/String; + public final fun component24 ()Lio/portone/sdk/server/schemas/Country; + public final fun component25 ()Ljava/lang/String; + public final fun component3 ()Ljava/lang/String; + public final fun component4 ()Lio/portone/sdk/server/schemas/PaymentMethod; + public final fun component5 ()Lio/portone/sdk/server/schemas/SelectedChannel; + public final fun component6 ()Lio/portone/sdk/server/schemas/ChannelGroupSummary; + public final fun component7 ()Lio/portone/sdk/server/schemas/PortOneVersion; + public final fun component8 ()Ljava/lang/String; + public final fun component9 ()Ljava/lang/String; + public final fun copy (Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Lio/portone/sdk/server/schemas/PaymentMethod;Lio/portone/sdk/server/schemas/SelectedChannel;Lio/portone/sdk/server/schemas/ChannelGroupSummary;Lio/portone/sdk/server/schemas/PortOneVersion;Ljava/lang/String;Ljava/lang/String;Ljava/util/List;Ljava/time/Instant;Ljava/time/Instant;Ljava/time/Instant;Ljava/lang/String;Lio/portone/sdk/server/schemas/PaymentAmount;Lio/portone/sdk/server/schemas/Currency;Lio/portone/sdk/server/schemas/Customer;Ljava/lang/String;Ljava/lang/Boolean;Lio/portone/sdk/server/schemas/PaymentEscrow;Ljava/util/List;Ljava/lang/Integer;Ljava/lang/String;Lio/portone/sdk/server/schemas/Country;Ljava/lang/String;)Lio/portone/sdk/server/schemas/PayPendingPayment; + public static synthetic fun copy$default (Lio/portone/sdk/server/schemas/PayPendingPayment;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Lio/portone/sdk/server/schemas/PaymentMethod;Lio/portone/sdk/server/schemas/SelectedChannel;Lio/portone/sdk/server/schemas/ChannelGroupSummary;Lio/portone/sdk/server/schemas/PortOneVersion;Ljava/lang/String;Ljava/lang/String;Ljava/util/List;Ljava/time/Instant;Ljava/time/Instant;Ljava/time/Instant;Ljava/lang/String;Lio/portone/sdk/server/schemas/PaymentAmount;Lio/portone/sdk/server/schemas/Currency;Lio/portone/sdk/server/schemas/Customer;Ljava/lang/String;Ljava/lang/Boolean;Lio/portone/sdk/server/schemas/PaymentEscrow;Ljava/util/List;Ljava/lang/Integer;Ljava/lang/String;Lio/portone/sdk/server/schemas/Country;Ljava/lang/String;ILjava/lang/Object;)Lio/portone/sdk/server/schemas/PayPendingPayment; + public fun equals (Ljava/lang/Object;)Z + public fun getAmount ()Lio/portone/sdk/server/schemas/PaymentAmount; + public fun getBillingKey ()Ljava/lang/String; + public fun getChannel ()Lio/portone/sdk/server/schemas/SelectedChannel; + public fun getChannelGroup ()Lio/portone/sdk/server/schemas/ChannelGroupSummary; + public fun getCountry ()Lio/portone/sdk/server/schemas/Country; + public fun getCurrency ()Lio/portone/sdk/server/schemas/Currency; + public fun getCustomData ()Ljava/lang/String; + public fun getCustomer ()Lio/portone/sdk/server/schemas/Customer; + public fun getEscrow ()Lio/portone/sdk/server/schemas/PaymentEscrow; + public fun getId ()Ljava/lang/String; + public fun getMerchantId ()Ljava/lang/String; + public fun getMethod ()Lio/portone/sdk/server/schemas/PaymentMethod; + public fun getOrderName ()Ljava/lang/String; + public final fun getPgTxId ()Ljava/lang/String; + public fun getProductCount ()Ljava/lang/Integer; + public fun getProducts ()Ljava/util/List; + public fun getPromotionId ()Ljava/lang/String; + public fun getRequestedAt ()Ljava/time/Instant; + public fun getScheduleId ()Ljava/lang/String; + public fun getStatusChangedAt ()Ljava/time/Instant; + public fun getStoreId ()Ljava/lang/String; + public fun getUpdatedAt ()Ljava/time/Instant; + public fun getVersion ()Lio/portone/sdk/server/schemas/PortOneVersion; + public fun getWebhooks ()Ljava/util/List; + public fun hashCode ()I + public fun isCulturalExpense ()Ljava/lang/Boolean; + public fun toString ()Ljava/lang/String; +} + +public synthetic class io/portone/sdk/server/schemas/PayPendingPayment$$serializer : kotlinx/serialization/internal/GeneratedSerializer { + public static final field INSTANCE Lio/portone/sdk/server/schemas/PayPendingPayment$$serializer; + public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; + public final fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Lio/portone/sdk/server/schemas/PayPendingPayment; + public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; + public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; + public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lio/portone/sdk/server/schemas/PayPendingPayment;)V + public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; +} + +public final class io/portone/sdk/server/schemas/PayPendingPayment$Companion { + public final fun serializer ()Lkotlinx/serialization/KSerializer; +} + +public final class io/portone/sdk/server/schemas/PayWithBillingKeyResponse { + public static final field Companion Lio/portone/sdk/server/schemas/PayWithBillingKeyResponse$Companion; + public fun (Lio/portone/sdk/server/schemas/BillingKeyPaymentSummary;)V + public final fun component1 ()Lio/portone/sdk/server/schemas/BillingKeyPaymentSummary; + public final fun copy (Lio/portone/sdk/server/schemas/BillingKeyPaymentSummary;)Lio/portone/sdk/server/schemas/PayWithBillingKeyResponse; + public static synthetic fun copy$default (Lio/portone/sdk/server/schemas/PayWithBillingKeyResponse;Lio/portone/sdk/server/schemas/BillingKeyPaymentSummary;ILjava/lang/Object;)Lio/portone/sdk/server/schemas/PayWithBillingKeyResponse; + public fun equals (Ljava/lang/Object;)Z + public final fun getPayment ()Lio/portone/sdk/server/schemas/BillingKeyPaymentSummary; + public fun hashCode ()I + public fun toString ()Ljava/lang/String; +} + +public synthetic class io/portone/sdk/server/schemas/PayWithBillingKeyResponse$$serializer : kotlinx/serialization/internal/GeneratedSerializer { + public static final field INSTANCE Lio/portone/sdk/server/schemas/PayWithBillingKeyResponse$$serializer; + public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; + public final fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Lio/portone/sdk/server/schemas/PayWithBillingKeyResponse; + public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; + public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; + public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lio/portone/sdk/server/schemas/PayWithBillingKeyResponse;)V + public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; +} + +public final class io/portone/sdk/server/schemas/PayWithBillingKeyResponse$Companion { + public final fun serializer ()Lkotlinx/serialization/KSerializer; +} + +public abstract interface class io/portone/sdk/server/schemas/Payment { + public static final field Companion Lio/portone/sdk/server/schemas/Payment$Companion; + public abstract fun getAmount ()Lio/portone/sdk/server/schemas/PaymentAmount; + public abstract fun getBillingKey ()Ljava/lang/String; + public abstract fun getChannel ()Lio/portone/sdk/server/schemas/SelectedChannel; + public abstract fun getChannelGroup ()Lio/portone/sdk/server/schemas/ChannelGroupSummary; + public abstract fun getCountry ()Lio/portone/sdk/server/schemas/Country; + public abstract fun getCurrency ()Lio/portone/sdk/server/schemas/Currency; + public abstract fun getCustomData ()Ljava/lang/String; + public abstract fun getCustomer ()Lio/portone/sdk/server/schemas/Customer; + public abstract fun getEscrow ()Lio/portone/sdk/server/schemas/PaymentEscrow; + public abstract fun getId ()Ljava/lang/String; + public abstract fun getMerchantId ()Ljava/lang/String; + public abstract fun getMethod ()Lio/portone/sdk/server/schemas/PaymentMethod; + public abstract fun getOrderName ()Ljava/lang/String; + public abstract fun getProductCount ()Ljava/lang/Integer; + public abstract fun getProducts ()Ljava/util/List; + public abstract fun getPromotionId ()Ljava/lang/String; + public abstract fun getRequestedAt ()Ljava/time/Instant; + public abstract fun getScheduleId ()Ljava/lang/String; + public abstract fun getStatusChangedAt ()Ljava/time/Instant; + public abstract fun getStoreId ()Ljava/lang/String; + public abstract fun getUpdatedAt ()Ljava/time/Instant; + public abstract fun getVersion ()Lio/portone/sdk/server/schemas/PortOneVersion; + public abstract fun getWebhooks ()Ljava/util/List; + public abstract fun isCulturalExpense ()Ljava/lang/Boolean; +} + +public final class io/portone/sdk/server/schemas/Payment$Companion { + public final fun serializer ()Lkotlinx/serialization/KSerializer; +} + +public final class io/portone/sdk/server/schemas/PaymentAlreadyCancelledException : java/lang/Exception { + public fun ()V + public fun (Ljava/lang/String;)V + public synthetic fun (Ljava/lang/String;ILkotlin/jvm/internal/DefaultConstructorMarker;)V +} + +public final class io/portone/sdk/server/schemas/PaymentAmount { + public static final field Companion Lio/portone/sdk/server/schemas/PaymentAmount$Companion; + public fun (JJLjava/lang/Long;Ljava/lang/Long;JJJJ)V + public synthetic fun (JJLjava/lang/Long;Ljava/lang/Long;JJJJILkotlin/jvm/internal/DefaultConstructorMarker;)V + public final fun component1 ()J + public final fun component2 ()J + public final fun component3 ()Ljava/lang/Long; + public final fun component4 ()Ljava/lang/Long; + public final fun component5 ()J + public final fun component6 ()J + public final fun component7 ()J + public final fun component8 ()J + public final fun copy (JJLjava/lang/Long;Ljava/lang/Long;JJJJ)Lio/portone/sdk/server/schemas/PaymentAmount; + public static synthetic fun copy$default (Lio/portone/sdk/server/schemas/PaymentAmount;JJLjava/lang/Long;Ljava/lang/Long;JJJJILjava/lang/Object;)Lio/portone/sdk/server/schemas/PaymentAmount; + public fun equals (Ljava/lang/Object;)Z + public final fun getCancelled ()J + public final fun getCancelledTaxFree ()J + public final fun getDiscount ()J + public final fun getPaid ()J + public final fun getSupply ()Ljava/lang/Long; + public final fun getTaxFree ()J + public final fun getTotal ()J + public final fun getVat ()Ljava/lang/Long; + public fun hashCode ()I + public fun toString ()Ljava/lang/String; +} + +public synthetic class io/portone/sdk/server/schemas/PaymentAmount$$serializer : kotlinx/serialization/internal/GeneratedSerializer { + public static final field INSTANCE Lio/portone/sdk/server/schemas/PaymentAmount$$serializer; + public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; + public final fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Lio/portone/sdk/server/schemas/PaymentAmount; + public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; + public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; + public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lio/portone/sdk/server/schemas/PaymentAmount;)V + public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; +} + +public final class io/portone/sdk/server/schemas/PaymentAmount$Companion { + public final fun serializer ()Lkotlinx/serialization/KSerializer; +} + +public final class io/portone/sdk/server/schemas/PaymentAmountInput { + public static final field Companion Lio/portone/sdk/server/schemas/PaymentAmountInput$Companion; + public fun (JLjava/lang/Long;Ljava/lang/Long;)V + public synthetic fun (JLjava/lang/Long;Ljava/lang/Long;ILkotlin/jvm/internal/DefaultConstructorMarker;)V + public final fun component1 ()J + public final fun component2 ()Ljava/lang/Long; + public final fun component3 ()Ljava/lang/Long; + public final fun copy (JLjava/lang/Long;Ljava/lang/Long;)Lio/portone/sdk/server/schemas/PaymentAmountInput; + public static synthetic fun copy$default (Lio/portone/sdk/server/schemas/PaymentAmountInput;JLjava/lang/Long;Ljava/lang/Long;ILjava/lang/Object;)Lio/portone/sdk/server/schemas/PaymentAmountInput; + public fun equals (Ljava/lang/Object;)Z + public final fun getTaxFree ()Ljava/lang/Long; + public final fun getTotal ()J + public final fun getVat ()Ljava/lang/Long; + public fun hashCode ()I + public fun toString ()Ljava/lang/String; +} + +public synthetic class io/portone/sdk/server/schemas/PaymentAmountInput$$serializer : kotlinx/serialization/internal/GeneratedSerializer { + public static final field INSTANCE Lio/portone/sdk/server/schemas/PaymentAmountInput$$serializer; + public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; + public final fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Lio/portone/sdk/server/schemas/PaymentAmountInput; + public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; + public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; + public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lio/portone/sdk/server/schemas/PaymentAmountInput;)V + public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; +} + +public final class io/portone/sdk/server/schemas/PaymentAmountInput$Companion { + public final fun serializer ()Lkotlinx/serialization/KSerializer; +} + +public abstract interface class io/portone/sdk/server/schemas/PaymentCancellation { + public static final field Companion Lio/portone/sdk/server/schemas/PaymentCancellation$Companion; + public abstract fun getCancelledAt ()Ljava/time/Instant; + public abstract fun getEasyPayDiscountAmount ()Ljava/lang/Long; + public abstract fun getId ()Ljava/lang/String; + public abstract fun getPgCancellationId ()Ljava/lang/String; + public abstract fun getReason ()Ljava/lang/String; + public abstract fun getRequestedAt ()Ljava/time/Instant; + public abstract fun getTaxFreeAmount ()J + public abstract fun getTotalAmount ()J + public abstract fun getVatAmount ()J +} + +public final class io/portone/sdk/server/schemas/PaymentCancellation$Companion { + public final fun serializer ()Lkotlinx/serialization/KSerializer; +} + +public abstract interface class io/portone/sdk/server/schemas/PaymentCashReceipt { + public static final field Companion Lio/portone/sdk/server/schemas/PaymentCashReceipt$Companion; + public abstract fun getCurrency ()Lio/portone/sdk/server/schemas/Currency; + public abstract fun getIssueNumber ()Ljava/lang/String; + public abstract fun getIssuedAt ()Ljava/time/Instant; + public abstract fun getPgReceiptId ()Ljava/lang/String; + public abstract fun getTaxFreeAmount ()Ljava/lang/Long; + public abstract fun getTotalAmount ()J + public abstract fun getType ()Lio/portone/sdk/server/schemas/CashReceiptType; + public abstract fun getUrl ()Ljava/lang/String; +} + +public final class io/portone/sdk/server/schemas/PaymentCashReceipt$Companion { + public final fun serializer ()Lkotlinx/serialization/KSerializer; +} + +public final class io/portone/sdk/server/schemas/PaymentCashReceiptStatus : java/lang/Enum { + public static final field CANCELLED Lio/portone/sdk/server/schemas/PaymentCashReceiptStatus; + public static final field Companion Lio/portone/sdk/server/schemas/PaymentCashReceiptStatus$Companion; + public static final field ISSUED Lio/portone/sdk/server/schemas/PaymentCashReceiptStatus; + public static fun getEntries ()Lkotlin/enums/EnumEntries; + public static fun valueOf (Ljava/lang/String;)Lio/portone/sdk/server/schemas/PaymentCashReceiptStatus; + public static fun values ()[Lio/portone/sdk/server/schemas/PaymentCashReceiptStatus; +} + +public final class io/portone/sdk/server/schemas/PaymentCashReceiptStatus$Companion { + public final fun serializer ()Lkotlinx/serialization/KSerializer; +} + +public final class io/portone/sdk/server/schemas/PaymentClientType : java/lang/Enum { + public static final field API Lio/portone/sdk/server/schemas/PaymentClientType; + public static final field Companion Lio/portone/sdk/server/schemas/PaymentClientType$Companion; + public static final field SDK_MOBILE Lio/portone/sdk/server/schemas/PaymentClientType; + public static final field SDK_PC Lio/portone/sdk/server/schemas/PaymentClientType; + public static fun getEntries ()Lkotlin/enums/EnumEntries; + public static fun valueOf (Ljava/lang/String;)Lio/portone/sdk/server/schemas/PaymentClientType; + public static fun values ()[Lio/portone/sdk/server/schemas/PaymentClientType; +} + +public final class io/portone/sdk/server/schemas/PaymentClientType$Companion { + public final fun serializer ()Lkotlinx/serialization/KSerializer; +} + +public abstract interface class io/portone/sdk/server/schemas/PaymentEscrow { + public static final field Companion Lio/portone/sdk/server/schemas/PaymentEscrow$Companion; +} + +public final class io/portone/sdk/server/schemas/PaymentEscrow$Companion { + public final fun serializer ()Lkotlinx/serialization/KSerializer; +} + +public final class io/portone/sdk/server/schemas/PaymentEscrowReceiverInput { + public static final field Companion Lio/portone/sdk/server/schemas/PaymentEscrowReceiverInput$Companion; + public fun ()V + public fun (Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Lio/portone/sdk/server/schemas/SeparatedAddressInput;)V + public synthetic fun (Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Lio/portone/sdk/server/schemas/SeparatedAddressInput;ILkotlin/jvm/internal/DefaultConstructorMarker;)V + public final fun component1 ()Ljava/lang/String; + public final fun component2 ()Ljava/lang/String; + public final fun component3 ()Ljava/lang/String; + public final fun component4 ()Lio/portone/sdk/server/schemas/SeparatedAddressInput; + public final fun copy (Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Lio/portone/sdk/server/schemas/SeparatedAddressInput;)Lio/portone/sdk/server/schemas/PaymentEscrowReceiverInput; + public static synthetic fun copy$default (Lio/portone/sdk/server/schemas/PaymentEscrowReceiverInput;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Lio/portone/sdk/server/schemas/SeparatedAddressInput;ILjava/lang/Object;)Lio/portone/sdk/server/schemas/PaymentEscrowReceiverInput; + public fun equals (Ljava/lang/Object;)Z + public final fun getAddress ()Lio/portone/sdk/server/schemas/SeparatedAddressInput; + public final fun getName ()Ljava/lang/String; + public final fun getPhoneNumber ()Ljava/lang/String; + public final fun getZipcode ()Ljava/lang/String; + public fun hashCode ()I + public fun toString ()Ljava/lang/String; +} + +public synthetic class io/portone/sdk/server/schemas/PaymentEscrowReceiverInput$$serializer : kotlinx/serialization/internal/GeneratedSerializer { + public static final field INSTANCE Lio/portone/sdk/server/schemas/PaymentEscrowReceiverInput$$serializer; + public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; + public final fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Lio/portone/sdk/server/schemas/PaymentEscrowReceiverInput; + public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; + public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; + public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lio/portone/sdk/server/schemas/PaymentEscrowReceiverInput;)V + public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; +} + +public final class io/portone/sdk/server/schemas/PaymentEscrowReceiverInput$Companion { + public final fun serializer ()Lkotlinx/serialization/KSerializer; +} + +public final class io/portone/sdk/server/schemas/PaymentEscrowSenderInput { + public static final field Companion Lio/portone/sdk/server/schemas/PaymentEscrowSenderInput$Companion; + public fun ()V + public fun (Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Lio/portone/sdk/server/schemas/SeparatedAddressInput;)V + public synthetic fun (Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Lio/portone/sdk/server/schemas/SeparatedAddressInput;ILkotlin/jvm/internal/DefaultConstructorMarker;)V + public final fun component1 ()Ljava/lang/String; + public final fun component2 ()Ljava/lang/String; + public final fun component3 ()Ljava/lang/String; + public final fun component4 ()Ljava/lang/String; + public final fun component5 ()Lio/portone/sdk/server/schemas/SeparatedAddressInput; + public final fun copy (Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Lio/portone/sdk/server/schemas/SeparatedAddressInput;)Lio/portone/sdk/server/schemas/PaymentEscrowSenderInput; + public static synthetic fun copy$default (Lio/portone/sdk/server/schemas/PaymentEscrowSenderInput;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Lio/portone/sdk/server/schemas/SeparatedAddressInput;ILjava/lang/Object;)Lio/portone/sdk/server/schemas/PaymentEscrowSenderInput; + public fun equals (Ljava/lang/Object;)Z + public final fun getAddress ()Lio/portone/sdk/server/schemas/SeparatedAddressInput; + public final fun getName ()Ljava/lang/String; + public final fun getPhoneNumber ()Ljava/lang/String; + public final fun getRelationship ()Ljava/lang/String; + public final fun getZipcode ()Ljava/lang/String; + public fun hashCode ()I + public fun toString ()Ljava/lang/String; +} + +public synthetic class io/portone/sdk/server/schemas/PaymentEscrowSenderInput$$serializer : kotlinx/serialization/internal/GeneratedSerializer { + public static final field INSTANCE Lio/portone/sdk/server/schemas/PaymentEscrowSenderInput$$serializer; + public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; + public final fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Lio/portone/sdk/server/schemas/PaymentEscrowSenderInput; + public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; + public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; + public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lio/portone/sdk/server/schemas/PaymentEscrowSenderInput;)V + public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; +} + +public final class io/portone/sdk/server/schemas/PaymentEscrowSenderInput$Companion { + public final fun serializer ()Lkotlinx/serialization/KSerializer; +} + +public final class io/portone/sdk/server/schemas/PaymentFailure { + public static final field Companion Lio/portone/sdk/server/schemas/PaymentFailure$Companion; + public fun ()V + public fun (Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V + public synthetic fun (Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;ILkotlin/jvm/internal/DefaultConstructorMarker;)V + public final fun component1 ()Ljava/lang/String; + public final fun component2 ()Ljava/lang/String; + public final fun component3 ()Ljava/lang/String; + public final fun copy (Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Lio/portone/sdk/server/schemas/PaymentFailure; + public static synthetic fun copy$default (Lio/portone/sdk/server/schemas/PaymentFailure;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;ILjava/lang/Object;)Lio/portone/sdk/server/schemas/PaymentFailure; + public fun equals (Ljava/lang/Object;)Z + public final fun getPgCode ()Ljava/lang/String; + public final fun getPgMessage ()Ljava/lang/String; + public final fun getReason ()Ljava/lang/String; + public fun hashCode ()I + public fun toString ()Ljava/lang/String; +} + +public synthetic class io/portone/sdk/server/schemas/PaymentFailure$$serializer : kotlinx/serialization/internal/GeneratedSerializer { + public static final field INSTANCE Lio/portone/sdk/server/schemas/PaymentFailure$$serializer; + public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; + public final fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Lio/portone/sdk/server/schemas/PaymentFailure; + public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; + public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; + public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lio/portone/sdk/server/schemas/PaymentFailure;)V + public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; +} + +public final class io/portone/sdk/server/schemas/PaymentFailure$Companion { + public final fun serializer ()Lkotlinx/serialization/KSerializer; +} + +public final class io/portone/sdk/server/schemas/PaymentFilterInput { + public static final field Companion Lio/portone/sdk/server/schemas/PaymentFilterInput$Companion; + public fun ()V + public fun (Ljava/lang/String;Ljava/lang/String;Lio/portone/sdk/server/schemas/PaymentTimestampType;Ljava/time/Instant;Ljava/time/Instant;Ljava/util/List;Ljava/util/List;Ljava/util/List;Ljava/lang/Boolean;Ljava/lang/Boolean;Lio/portone/sdk/server/schemas/PaymentSortBy;Lio/portone/sdk/server/schemas/SortOrder;Lio/portone/sdk/server/schemas/PortOneVersion;Lio/portone/sdk/server/schemas/PaymentWebhookStatus;Lio/portone/sdk/server/schemas/PaymentClientType;Lio/portone/sdk/server/schemas/Currency;Ljava/lang/Boolean;Lio/portone/sdk/server/schemas/PaymentFilterInputEscrowStatus;Lio/portone/sdk/server/schemas/CardBrand;Lio/portone/sdk/server/schemas/CardType;Lio/portone/sdk/server/schemas/CardOwnerType;Lio/portone/sdk/server/schemas/PaymentMethodGiftCertificateType;Lio/portone/sdk/server/schemas/CashReceiptInputType;Lio/portone/sdk/server/schemas/PaymentCashReceiptStatus;Lio/portone/sdk/server/schemas/DateTimeRange;Lio/portone/sdk/server/schemas/DateTimeRange;Ljava/util/List;)V + public synthetic fun (Ljava/lang/String;Ljava/lang/String;Lio/portone/sdk/server/schemas/PaymentTimestampType;Ljava/time/Instant;Ljava/time/Instant;Ljava/util/List;Ljava/util/List;Ljava/util/List;Ljava/lang/Boolean;Ljava/lang/Boolean;Lio/portone/sdk/server/schemas/PaymentSortBy;Lio/portone/sdk/server/schemas/SortOrder;Lio/portone/sdk/server/schemas/PortOneVersion;Lio/portone/sdk/server/schemas/PaymentWebhookStatus;Lio/portone/sdk/server/schemas/PaymentClientType;Lio/portone/sdk/server/schemas/Currency;Ljava/lang/Boolean;Lio/portone/sdk/server/schemas/PaymentFilterInputEscrowStatus;Lio/portone/sdk/server/schemas/CardBrand;Lio/portone/sdk/server/schemas/CardType;Lio/portone/sdk/server/schemas/CardOwnerType;Lio/portone/sdk/server/schemas/PaymentMethodGiftCertificateType;Lio/portone/sdk/server/schemas/CashReceiptInputType;Lio/portone/sdk/server/schemas/PaymentCashReceiptStatus;Lio/portone/sdk/server/schemas/DateTimeRange;Lio/portone/sdk/server/schemas/DateTimeRange;Ljava/util/List;ILkotlin/jvm/internal/DefaultConstructorMarker;)V + public final fun component1 ()Ljava/lang/String; + public final fun component10 ()Ljava/lang/Boolean; + public final fun component11 ()Lio/portone/sdk/server/schemas/PaymentSortBy; + public final fun component12 ()Lio/portone/sdk/server/schemas/SortOrder; + public final fun component13 ()Lio/portone/sdk/server/schemas/PortOneVersion; + public final fun component14 ()Lio/portone/sdk/server/schemas/PaymentWebhookStatus; + public final fun component15 ()Lio/portone/sdk/server/schemas/PaymentClientType; + public final fun component16 ()Lio/portone/sdk/server/schemas/Currency; + public final fun component17 ()Ljava/lang/Boolean; + public final fun component18 ()Lio/portone/sdk/server/schemas/PaymentFilterInputEscrowStatus; + public final fun component19 ()Lio/portone/sdk/server/schemas/CardBrand; + public final fun component2 ()Ljava/lang/String; + public final fun component20 ()Lio/portone/sdk/server/schemas/CardType; + public final fun component21 ()Lio/portone/sdk/server/schemas/CardOwnerType; + public final fun component22 ()Lio/portone/sdk/server/schemas/PaymentMethodGiftCertificateType; + public final fun component23 ()Lio/portone/sdk/server/schemas/CashReceiptInputType; + public final fun component24 ()Lio/portone/sdk/server/schemas/PaymentCashReceiptStatus; + public final fun component25 ()Lio/portone/sdk/server/schemas/DateTimeRange; + public final fun component26 ()Lio/portone/sdk/server/schemas/DateTimeRange; + public final fun component27 ()Ljava/util/List; + public final fun component3 ()Lio/portone/sdk/server/schemas/PaymentTimestampType; + public final fun component4 ()Ljava/time/Instant; + public final fun component5 ()Ljava/time/Instant; + public final fun component6 ()Ljava/util/List; + public final fun component7 ()Ljava/util/List; + public final fun component8 ()Ljava/util/List; + public final fun component9 ()Ljava/lang/Boolean; + public final fun copy (Ljava/lang/String;Ljava/lang/String;Lio/portone/sdk/server/schemas/PaymentTimestampType;Ljava/time/Instant;Ljava/time/Instant;Ljava/util/List;Ljava/util/List;Ljava/util/List;Ljava/lang/Boolean;Ljava/lang/Boolean;Lio/portone/sdk/server/schemas/PaymentSortBy;Lio/portone/sdk/server/schemas/SortOrder;Lio/portone/sdk/server/schemas/PortOneVersion;Lio/portone/sdk/server/schemas/PaymentWebhookStatus;Lio/portone/sdk/server/schemas/PaymentClientType;Lio/portone/sdk/server/schemas/Currency;Ljava/lang/Boolean;Lio/portone/sdk/server/schemas/PaymentFilterInputEscrowStatus;Lio/portone/sdk/server/schemas/CardBrand;Lio/portone/sdk/server/schemas/CardType;Lio/portone/sdk/server/schemas/CardOwnerType;Lio/portone/sdk/server/schemas/PaymentMethodGiftCertificateType;Lio/portone/sdk/server/schemas/CashReceiptInputType;Lio/portone/sdk/server/schemas/PaymentCashReceiptStatus;Lio/portone/sdk/server/schemas/DateTimeRange;Lio/portone/sdk/server/schemas/DateTimeRange;Ljava/util/List;)Lio/portone/sdk/server/schemas/PaymentFilterInput; + public static synthetic fun copy$default (Lio/portone/sdk/server/schemas/PaymentFilterInput;Ljava/lang/String;Ljava/lang/String;Lio/portone/sdk/server/schemas/PaymentTimestampType;Ljava/time/Instant;Ljava/time/Instant;Ljava/util/List;Ljava/util/List;Ljava/util/List;Ljava/lang/Boolean;Ljava/lang/Boolean;Lio/portone/sdk/server/schemas/PaymentSortBy;Lio/portone/sdk/server/schemas/SortOrder;Lio/portone/sdk/server/schemas/PortOneVersion;Lio/portone/sdk/server/schemas/PaymentWebhookStatus;Lio/portone/sdk/server/schemas/PaymentClientType;Lio/portone/sdk/server/schemas/Currency;Ljava/lang/Boolean;Lio/portone/sdk/server/schemas/PaymentFilterInputEscrowStatus;Lio/portone/sdk/server/schemas/CardBrand;Lio/portone/sdk/server/schemas/CardType;Lio/portone/sdk/server/schemas/CardOwnerType;Lio/portone/sdk/server/schemas/PaymentMethodGiftCertificateType;Lio/portone/sdk/server/schemas/CashReceiptInputType;Lio/portone/sdk/server/schemas/PaymentCashReceiptStatus;Lio/portone/sdk/server/schemas/DateTimeRange;Lio/portone/sdk/server/schemas/DateTimeRange;Ljava/util/List;ILjava/lang/Object;)Lio/portone/sdk/server/schemas/PaymentFilterInput; + public fun equals (Ljava/lang/Object;)Z + public final fun getCardBrand ()Lio/portone/sdk/server/schemas/CardBrand; + public final fun getCardOwnerType ()Lio/portone/sdk/server/schemas/CardOwnerType; + public final fun getCardType ()Lio/portone/sdk/server/schemas/CardType; + public final fun getCashReceiptCancelledAtRange ()Lio/portone/sdk/server/schemas/DateTimeRange; + public final fun getCashReceiptIssuedAtRange ()Lio/portone/sdk/server/schemas/DateTimeRange; + public final fun getCashReceiptStatus ()Lio/portone/sdk/server/schemas/PaymentCashReceiptStatus; + public final fun getCashReceiptType ()Lio/portone/sdk/server/schemas/CashReceiptInputType; + public final fun getCurrency ()Lio/portone/sdk/server/schemas/Currency; + public final fun getEscrowStatus ()Lio/portone/sdk/server/schemas/PaymentFilterInputEscrowStatus; + public final fun getFrom ()Ljava/time/Instant; + public final fun getGiftCertificateType ()Lio/portone/sdk/server/schemas/PaymentMethodGiftCertificateType; + public final fun getMerchantId ()Ljava/lang/String; + public final fun getMethods ()Ljava/util/List; + public final fun getPgProvider ()Ljava/util/List; + public final fun getPlatformType ()Lio/portone/sdk/server/schemas/PaymentClientType; + public final fun getSortBy ()Lio/portone/sdk/server/schemas/PaymentSortBy; + public final fun getSortOrder ()Lio/portone/sdk/server/schemas/SortOrder; + public final fun getStatus ()Ljava/util/List; + public final fun getStoreId ()Ljava/lang/String; + public final fun getTextSearch ()Ljava/util/List; + public final fun getTimestampType ()Lio/portone/sdk/server/schemas/PaymentTimestampType; + public final fun getUntil ()Ljava/time/Instant; + public final fun getVersion ()Lio/portone/sdk/server/schemas/PortOneVersion; + public final fun getWebhookStatus ()Lio/portone/sdk/server/schemas/PaymentWebhookStatus; + public fun hashCode ()I + public final fun isEscrow ()Ljava/lang/Boolean; + public final fun isScheduled ()Ljava/lang/Boolean; + public final fun isTest ()Ljava/lang/Boolean; + public fun toString ()Ljava/lang/String; +} + +public synthetic class io/portone/sdk/server/schemas/PaymentFilterInput$$serializer : kotlinx/serialization/internal/GeneratedSerializer { + public static final field INSTANCE Lio/portone/sdk/server/schemas/PaymentFilterInput$$serializer; + public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; + public final fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Lio/portone/sdk/server/schemas/PaymentFilterInput; + public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; + public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; + public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lio/portone/sdk/server/schemas/PaymentFilterInput;)V + public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; +} + +public final class io/portone/sdk/server/schemas/PaymentFilterInput$Companion { + public final fun serializer ()Lkotlinx/serialization/KSerializer; +} + +public final class io/portone/sdk/server/schemas/PaymentFilterInputEscrowStatus : java/lang/Enum { + public static final field CANCELLED Lio/portone/sdk/server/schemas/PaymentFilterInputEscrowStatus; + public static final field CONFIRMED Lio/portone/sdk/server/schemas/PaymentFilterInputEscrowStatus; + public static final field Companion Lio/portone/sdk/server/schemas/PaymentFilterInputEscrowStatus$Companion; + public static final field DELIVERED Lio/portone/sdk/server/schemas/PaymentFilterInputEscrowStatus; + public static final field REGISTERED Lio/portone/sdk/server/schemas/PaymentFilterInputEscrowStatus; + public static final field REJECTED Lio/portone/sdk/server/schemas/PaymentFilterInputEscrowStatus; + public static final field REJECT_CONFIRMED Lio/portone/sdk/server/schemas/PaymentFilterInputEscrowStatus; + public static fun getEntries ()Lkotlin/enums/EnumEntries; + public static fun valueOf (Ljava/lang/String;)Lio/portone/sdk/server/schemas/PaymentFilterInputEscrowStatus; + public static fun values ()[Lio/portone/sdk/server/schemas/PaymentFilterInputEscrowStatus; +} + +public final class io/portone/sdk/server/schemas/PaymentFilterInputEscrowStatus$Companion { + public final fun serializer ()Lkotlinx/serialization/KSerializer; +} + +public final class io/portone/sdk/server/schemas/PaymentInstallment { + public static final field Companion Lio/portone/sdk/server/schemas/PaymentInstallment$Companion; + public fun (IZ)V + public final fun component1 ()I + public final fun component2 ()Z + public final fun copy (IZ)Lio/portone/sdk/server/schemas/PaymentInstallment; + public static synthetic fun copy$default (Lio/portone/sdk/server/schemas/PaymentInstallment;IZILjava/lang/Object;)Lio/portone/sdk/server/schemas/PaymentInstallment; + public fun equals (Ljava/lang/Object;)Z + public final fun getMonth ()I + public fun hashCode ()I + public final fun isInterestFree ()Z + public fun toString ()Ljava/lang/String; +} + +public synthetic class io/portone/sdk/server/schemas/PaymentInstallment$$serializer : kotlinx/serialization/internal/GeneratedSerializer { + public static final field INSTANCE Lio/portone/sdk/server/schemas/PaymentInstallment$$serializer; + public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; + public final fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Lio/portone/sdk/server/schemas/PaymentInstallment; + public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; + public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; + public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lio/portone/sdk/server/schemas/PaymentInstallment;)V + public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; +} + +public final class io/portone/sdk/server/schemas/PaymentInstallment$Companion { + public final fun serializer ()Lkotlinx/serialization/KSerializer; +} + +public final class io/portone/sdk/server/schemas/PaymentLogistics { + public static final field Companion Lio/portone/sdk/server/schemas/PaymentLogistics$Companion; + public fun (Lio/portone/sdk/server/schemas/PaymentLogisticsCompany;Ljava/lang/String;Ljava/time/Instant;Ljava/time/Instant;Lio/portone/sdk/server/schemas/SeparatedAddressInput;)V + public synthetic fun (Lio/portone/sdk/server/schemas/PaymentLogisticsCompany;Ljava/lang/String;Ljava/time/Instant;Ljava/time/Instant;Lio/portone/sdk/server/schemas/SeparatedAddressInput;ILkotlin/jvm/internal/DefaultConstructorMarker;)V + public final fun component1 ()Lio/portone/sdk/server/schemas/PaymentLogisticsCompany; + public final fun component2 ()Ljava/lang/String; + public final fun component3 ()Ljava/time/Instant; + public final fun component4 ()Ljava/time/Instant; + public final fun component5 ()Lio/portone/sdk/server/schemas/SeparatedAddressInput; + public final fun copy (Lio/portone/sdk/server/schemas/PaymentLogisticsCompany;Ljava/lang/String;Ljava/time/Instant;Ljava/time/Instant;Lio/portone/sdk/server/schemas/SeparatedAddressInput;)Lio/portone/sdk/server/schemas/PaymentLogistics; + public static synthetic fun copy$default (Lio/portone/sdk/server/schemas/PaymentLogistics;Lio/portone/sdk/server/schemas/PaymentLogisticsCompany;Ljava/lang/String;Ljava/time/Instant;Ljava/time/Instant;Lio/portone/sdk/server/schemas/SeparatedAddressInput;ILjava/lang/Object;)Lio/portone/sdk/server/schemas/PaymentLogistics; + public fun equals (Ljava/lang/Object;)Z + public final fun getAddress ()Lio/portone/sdk/server/schemas/SeparatedAddressInput; + public final fun getCompany ()Lio/portone/sdk/server/schemas/PaymentLogisticsCompany; + public final fun getInvoiceNumber ()Ljava/lang/String; + public final fun getReceivedAt ()Ljava/time/Instant; + public final fun getSentAt ()Ljava/time/Instant; + public fun hashCode ()I + public fun toString ()Ljava/lang/String; +} + +public synthetic class io/portone/sdk/server/schemas/PaymentLogistics$$serializer : kotlinx/serialization/internal/GeneratedSerializer { + public static final field INSTANCE Lio/portone/sdk/server/schemas/PaymentLogistics$$serializer; + public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; + public final fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Lio/portone/sdk/server/schemas/PaymentLogistics; + public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; + public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; + public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lio/portone/sdk/server/schemas/PaymentLogistics;)V + public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; +} + +public final class io/portone/sdk/server/schemas/PaymentLogistics$Companion { + public final fun serializer ()Lkotlinx/serialization/KSerializer; +} + +public final class io/portone/sdk/server/schemas/PaymentLogisticsCompany : java/lang/Enum { + public static final field ACI Lio/portone/sdk/server/schemas/PaymentLogisticsCompany; + public static final field CHUNIL Lio/portone/sdk/server/schemas/PaymentLogisticsCompany; + public static final field CJ Lio/portone/sdk/server/schemas/PaymentLogisticsCompany; + public static final field CJ_INTL Lio/portone/sdk/server/schemas/PaymentLogisticsCompany; + public static final field Companion Lio/portone/sdk/server/schemas/PaymentLogisticsCompany$Companion; + public static final field DAESIN Lio/portone/sdk/server/schemas/PaymentLogisticsCompany; + public static final field DHL Lio/portone/sdk/server/schemas/PaymentLogisticsCompany; + public static final field DONGWON Lio/portone/sdk/server/schemas/PaymentLogisticsCompany; + public static final field EMS Lio/portone/sdk/server/schemas/PaymentLogisticsCompany; + public static final field ETC Lio/portone/sdk/server/schemas/PaymentLogisticsCompany; + public static final field FEDEX Lio/portone/sdk/server/schemas/PaymentLogisticsCompany; + public static final field GOODSTOLUCK Lio/portone/sdk/server/schemas/PaymentLogisticsCompany; + public static final field GS Lio/portone/sdk/server/schemas/PaymentLogisticsCompany; + public static final field GSM_NTON Lio/portone/sdk/server/schemas/PaymentLogisticsCompany; + public static final field HANJIN Lio/portone/sdk/server/schemas/PaymentLogisticsCompany; + public static final field HAPDONG Lio/portone/sdk/server/schemas/PaymentLogisticsCompany; + public static final field ILYANG Lio/portone/sdk/server/schemas/PaymentLogisticsCompany; + public static final field KGL Lio/portone/sdk/server/schemas/PaymentLogisticsCompany; + public static final field KUNYOUNG Lio/portone/sdk/server/schemas/PaymentLogisticsCompany; + public static final field KYUNGDONG Lio/portone/sdk/server/schemas/PaymentLogisticsCompany; + public static final field LOGEN Lio/portone/sdk/server/schemas/PaymentLogisticsCompany; + public static final field LOTTE Lio/portone/sdk/server/schemas/PaymentLogisticsCompany; + public static final field LX_PANTOS Lio/portone/sdk/server/schemas/PaymentLogisticsCompany; + public static final field POST Lio/portone/sdk/server/schemas/PaymentLogisticsCompany; + public static final field POST_REGISTERED Lio/portone/sdk/server/schemas/PaymentLogisticsCompany; + public static final field SF Lio/portone/sdk/server/schemas/PaymentLogisticsCompany; + public static final field SLX Lio/portone/sdk/server/schemas/PaymentLogisticsCompany; + public static final field SUNGWON Lio/portone/sdk/server/schemas/PaymentLogisticsCompany; + public static final field UPS Lio/portone/sdk/server/schemas/PaymentLogisticsCompany; + public static final field USPS Lio/portone/sdk/server/schemas/PaymentLogisticsCompany; + public static final field WOORI Lio/portone/sdk/server/schemas/PaymentLogisticsCompany; + public static fun getEntries ()Lkotlin/enums/EnumEntries; + public static fun valueOf (Ljava/lang/String;)Lio/portone/sdk/server/schemas/PaymentLogisticsCompany; + public static fun values ()[Lio/portone/sdk/server/schemas/PaymentLogisticsCompany; +} + +public final class io/portone/sdk/server/schemas/PaymentLogisticsCompany$Companion { + public final fun serializer ()Lkotlinx/serialization/KSerializer; +} + +public abstract interface class io/portone/sdk/server/schemas/PaymentMethod { + public static final field Companion Lio/portone/sdk/server/schemas/PaymentMethod$Companion; +} + +public final class io/portone/sdk/server/schemas/PaymentMethod$Companion { + public final fun serializer ()Lkotlinx/serialization/KSerializer; +} + +public final class io/portone/sdk/server/schemas/PaymentMethodCard : io/portone/sdk/server/schemas/PaymentMethod, io/portone/sdk/server/schemas/PaymentMethodEasyPayMethod { + public static final field Companion Lio/portone/sdk/server/schemas/PaymentMethodCard$Companion; + public fun ()V + public fun (Lio/portone/sdk/server/schemas/Card;Ljava/lang/String;Lio/portone/sdk/server/schemas/PaymentInstallment;Ljava/lang/Boolean;)V + public synthetic fun (Lio/portone/sdk/server/schemas/Card;Ljava/lang/String;Lio/portone/sdk/server/schemas/PaymentInstallment;Ljava/lang/Boolean;ILkotlin/jvm/internal/DefaultConstructorMarker;)V + public final fun component1 ()Lio/portone/sdk/server/schemas/Card; + public final fun component2 ()Ljava/lang/String; + public final fun component3 ()Lio/portone/sdk/server/schemas/PaymentInstallment; + public final fun component4 ()Ljava/lang/Boolean; + public final fun copy (Lio/portone/sdk/server/schemas/Card;Ljava/lang/String;Lio/portone/sdk/server/schemas/PaymentInstallment;Ljava/lang/Boolean;)Lio/portone/sdk/server/schemas/PaymentMethodCard; + public static synthetic fun copy$default (Lio/portone/sdk/server/schemas/PaymentMethodCard;Lio/portone/sdk/server/schemas/Card;Ljava/lang/String;Lio/portone/sdk/server/schemas/PaymentInstallment;Ljava/lang/Boolean;ILjava/lang/Object;)Lio/portone/sdk/server/schemas/PaymentMethodCard; + public fun equals (Ljava/lang/Object;)Z + public final fun getApprovalNumber ()Ljava/lang/String; + public final fun getCard ()Lio/portone/sdk/server/schemas/Card; + public final fun getInstallment ()Lio/portone/sdk/server/schemas/PaymentInstallment; + public final fun getPointUsed ()Ljava/lang/Boolean; + public fun hashCode ()I + public fun toString ()Ljava/lang/String; +} + +public synthetic class io/portone/sdk/server/schemas/PaymentMethodCard$$serializer : kotlinx/serialization/internal/GeneratedSerializer { + public static final field INSTANCE Lio/portone/sdk/server/schemas/PaymentMethodCard$$serializer; + public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; + public final fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Lio/portone/sdk/server/schemas/PaymentMethodCard; + public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; + public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; + public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lio/portone/sdk/server/schemas/PaymentMethodCard;)V + public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; +} + +public final class io/portone/sdk/server/schemas/PaymentMethodCard$Companion { + public final fun serializer ()Lkotlinx/serialization/KSerializer; +} + +public final class io/portone/sdk/server/schemas/PaymentMethodEasyPay : io/portone/sdk/server/schemas/PaymentMethod { + public static final field Companion Lio/portone/sdk/server/schemas/PaymentMethodEasyPay$Companion; + public fun ()V + public fun (Lio/portone/sdk/server/schemas/EasyPayProvider;Lio/portone/sdk/server/schemas/PaymentMethodEasyPayMethod;)V + public synthetic fun (Lio/portone/sdk/server/schemas/EasyPayProvider;Lio/portone/sdk/server/schemas/PaymentMethodEasyPayMethod;ILkotlin/jvm/internal/DefaultConstructorMarker;)V + public final fun component1 ()Lio/portone/sdk/server/schemas/EasyPayProvider; + public final fun component2 ()Lio/portone/sdk/server/schemas/PaymentMethodEasyPayMethod; + public final fun copy (Lio/portone/sdk/server/schemas/EasyPayProvider;Lio/portone/sdk/server/schemas/PaymentMethodEasyPayMethod;)Lio/portone/sdk/server/schemas/PaymentMethodEasyPay; + public static synthetic fun copy$default (Lio/portone/sdk/server/schemas/PaymentMethodEasyPay;Lio/portone/sdk/server/schemas/EasyPayProvider;Lio/portone/sdk/server/schemas/PaymentMethodEasyPayMethod;ILjava/lang/Object;)Lio/portone/sdk/server/schemas/PaymentMethodEasyPay; + public fun equals (Ljava/lang/Object;)Z + public final fun getEasyPayMethod ()Lio/portone/sdk/server/schemas/PaymentMethodEasyPayMethod; + public final fun getProvider ()Lio/portone/sdk/server/schemas/EasyPayProvider; + public fun hashCode ()I + public fun toString ()Ljava/lang/String; +} + +public synthetic class io/portone/sdk/server/schemas/PaymentMethodEasyPay$$serializer : kotlinx/serialization/internal/GeneratedSerializer { + public static final field INSTANCE Lio/portone/sdk/server/schemas/PaymentMethodEasyPay$$serializer; + public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; + public final fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Lio/portone/sdk/server/schemas/PaymentMethodEasyPay; + public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; + public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; + public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lio/portone/sdk/server/schemas/PaymentMethodEasyPay;)V + public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; +} + +public final class io/portone/sdk/server/schemas/PaymentMethodEasyPay$Companion { + public final fun serializer ()Lkotlinx/serialization/KSerializer; +} + +public abstract interface class io/portone/sdk/server/schemas/PaymentMethodEasyPayMethod { + public static final field Companion Lio/portone/sdk/server/schemas/PaymentMethodEasyPayMethod$Companion; +} + +public final class io/portone/sdk/server/schemas/PaymentMethodEasyPayMethod$Companion { + public final fun serializer ()Lkotlinx/serialization/KSerializer; +} + +public final class io/portone/sdk/server/schemas/PaymentMethodEasyPayMethodCharge : io/portone/sdk/server/schemas/PaymentMethodEasyPayMethod { + public static final field Companion Lio/portone/sdk/server/schemas/PaymentMethodEasyPayMethodCharge$Companion; + public fun ()V + public fun (Lio/portone/sdk/server/schemas/Bank;)V + public synthetic fun (Lio/portone/sdk/server/schemas/Bank;ILkotlin/jvm/internal/DefaultConstructorMarker;)V + public final fun component1 ()Lio/portone/sdk/server/schemas/Bank; + public final fun copy (Lio/portone/sdk/server/schemas/Bank;)Lio/portone/sdk/server/schemas/PaymentMethodEasyPayMethodCharge; + public static synthetic fun copy$default (Lio/portone/sdk/server/schemas/PaymentMethodEasyPayMethodCharge;Lio/portone/sdk/server/schemas/Bank;ILjava/lang/Object;)Lio/portone/sdk/server/schemas/PaymentMethodEasyPayMethodCharge; + public fun equals (Ljava/lang/Object;)Z + public final fun getBank ()Lio/portone/sdk/server/schemas/Bank; + public fun hashCode ()I + public fun toString ()Ljava/lang/String; +} + +public synthetic class io/portone/sdk/server/schemas/PaymentMethodEasyPayMethodCharge$$serializer : kotlinx/serialization/internal/GeneratedSerializer { + public static final field INSTANCE Lio/portone/sdk/server/schemas/PaymentMethodEasyPayMethodCharge$$serializer; + public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; + public final fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Lio/portone/sdk/server/schemas/PaymentMethodEasyPayMethodCharge; + public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; + public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; + public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lio/portone/sdk/server/schemas/PaymentMethodEasyPayMethodCharge;)V + public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; +} + +public final class io/portone/sdk/server/schemas/PaymentMethodEasyPayMethodCharge$Companion { + public final fun serializer ()Lkotlinx/serialization/KSerializer; +} + +public final class io/portone/sdk/server/schemas/PaymentMethodGiftCertificate : io/portone/sdk/server/schemas/PaymentMethod { + public static final field Companion Lio/portone/sdk/server/schemas/PaymentMethodGiftCertificate$Companion; + public fun (Lio/portone/sdk/server/schemas/PaymentMethodGiftCertificateType;Ljava/lang/String;)V + public synthetic fun (Lio/portone/sdk/server/schemas/PaymentMethodGiftCertificateType;Ljava/lang/String;ILkotlin/jvm/internal/DefaultConstructorMarker;)V + public final fun component1 ()Lio/portone/sdk/server/schemas/PaymentMethodGiftCertificateType; + public final fun component2 ()Ljava/lang/String; + public final fun copy (Lio/portone/sdk/server/schemas/PaymentMethodGiftCertificateType;Ljava/lang/String;)Lio/portone/sdk/server/schemas/PaymentMethodGiftCertificate; + public static synthetic fun copy$default (Lio/portone/sdk/server/schemas/PaymentMethodGiftCertificate;Lio/portone/sdk/server/schemas/PaymentMethodGiftCertificateType;Ljava/lang/String;ILjava/lang/Object;)Lio/portone/sdk/server/schemas/PaymentMethodGiftCertificate; + public fun equals (Ljava/lang/Object;)Z + public final fun getApprovalNumber ()Ljava/lang/String; + public final fun getGiftCertificateType ()Lio/portone/sdk/server/schemas/PaymentMethodGiftCertificateType; + public fun hashCode ()I + public fun toString ()Ljava/lang/String; +} + +public synthetic class io/portone/sdk/server/schemas/PaymentMethodGiftCertificate$$serializer : kotlinx/serialization/internal/GeneratedSerializer { + public static final field INSTANCE Lio/portone/sdk/server/schemas/PaymentMethodGiftCertificate$$serializer; + public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; + public final fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Lio/portone/sdk/server/schemas/PaymentMethodGiftCertificate; + public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; + public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; + public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lio/portone/sdk/server/schemas/PaymentMethodGiftCertificate;)V + public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; +} + +public final class io/portone/sdk/server/schemas/PaymentMethodGiftCertificate$Companion { + public final fun serializer ()Lkotlinx/serialization/KSerializer; +} + +public final class io/portone/sdk/server/schemas/PaymentMethodGiftCertificateType : java/lang/Enum { + public static final field BOOKNLIFE Lio/portone/sdk/server/schemas/PaymentMethodGiftCertificateType; + public static final field CULTUREGIFT Lio/portone/sdk/server/schemas/PaymentMethodGiftCertificateType; + public static final field CULTURELAND Lio/portone/sdk/server/schemas/PaymentMethodGiftCertificateType; + public static final field Companion Lio/portone/sdk/server/schemas/PaymentMethodGiftCertificateType$Companion; + public static final field HAPPYMONEY Lio/portone/sdk/server/schemas/PaymentMethodGiftCertificateType; + public static final field SMART_MUNSANG Lio/portone/sdk/server/schemas/PaymentMethodGiftCertificateType; + public static fun getEntries ()Lkotlin/enums/EnumEntries; + public static fun valueOf (Ljava/lang/String;)Lio/portone/sdk/server/schemas/PaymentMethodGiftCertificateType; + public static fun values ()[Lio/portone/sdk/server/schemas/PaymentMethodGiftCertificateType; +} + +public final class io/portone/sdk/server/schemas/PaymentMethodGiftCertificateType$Companion { + public final fun serializer ()Lkotlinx/serialization/KSerializer; +} + +public final class io/portone/sdk/server/schemas/PaymentMethodMobile : io/portone/sdk/server/schemas/PaymentMethod { + public static final field Companion Lio/portone/sdk/server/schemas/PaymentMethodMobile$Companion; + public fun ()V + public fun (Ljava/lang/String;)V + public synthetic fun (Ljava/lang/String;ILkotlin/jvm/internal/DefaultConstructorMarker;)V + public final fun component1 ()Ljava/lang/String; + public final fun copy (Ljava/lang/String;)Lio/portone/sdk/server/schemas/PaymentMethodMobile; + public static synthetic fun copy$default (Lio/portone/sdk/server/schemas/PaymentMethodMobile;Ljava/lang/String;ILjava/lang/Object;)Lio/portone/sdk/server/schemas/PaymentMethodMobile; + public fun equals (Ljava/lang/Object;)Z + public final fun getPhoneNumber ()Ljava/lang/String; + public fun hashCode ()I + public fun toString ()Ljava/lang/String; +} + +public synthetic class io/portone/sdk/server/schemas/PaymentMethodMobile$$serializer : kotlinx/serialization/internal/GeneratedSerializer { + public static final field INSTANCE Lio/portone/sdk/server/schemas/PaymentMethodMobile$$serializer; + public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; + public final fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Lio/portone/sdk/server/schemas/PaymentMethodMobile; + public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; + public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; + public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lio/portone/sdk/server/schemas/PaymentMethodMobile;)V + public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; +} + +public final class io/portone/sdk/server/schemas/PaymentMethodMobile$Companion { + public final fun serializer ()Lkotlinx/serialization/KSerializer; +} + +public final class io/portone/sdk/server/schemas/PaymentMethodTransfer : io/portone/sdk/server/schemas/PaymentMethod, io/portone/sdk/server/schemas/PaymentMethodEasyPayMethod { + public static final field Companion Lio/portone/sdk/server/schemas/PaymentMethodTransfer$Companion; + public fun ()V + public fun (Lio/portone/sdk/server/schemas/Bank;)V + public synthetic fun (Lio/portone/sdk/server/schemas/Bank;ILkotlin/jvm/internal/DefaultConstructorMarker;)V + public final fun component1 ()Lio/portone/sdk/server/schemas/Bank; + public final fun copy (Lio/portone/sdk/server/schemas/Bank;)Lio/portone/sdk/server/schemas/PaymentMethodTransfer; + public static synthetic fun copy$default (Lio/portone/sdk/server/schemas/PaymentMethodTransfer;Lio/portone/sdk/server/schemas/Bank;ILjava/lang/Object;)Lio/portone/sdk/server/schemas/PaymentMethodTransfer; + public fun equals (Ljava/lang/Object;)Z + public final fun getBank ()Lio/portone/sdk/server/schemas/Bank; + public fun hashCode ()I + public fun toString ()Ljava/lang/String; +} + +public synthetic class io/portone/sdk/server/schemas/PaymentMethodTransfer$$serializer : kotlinx/serialization/internal/GeneratedSerializer { + public static final field INSTANCE Lio/portone/sdk/server/schemas/PaymentMethodTransfer$$serializer; + public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; + public final fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Lio/portone/sdk/server/schemas/PaymentMethodTransfer; + public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; + public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; + public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lio/portone/sdk/server/schemas/PaymentMethodTransfer;)V + public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; +} + +public final class io/portone/sdk/server/schemas/PaymentMethodTransfer$Companion { + public final fun serializer ()Lkotlinx/serialization/KSerializer; +} + +public final class io/portone/sdk/server/schemas/PaymentMethodType : java/lang/Enum { + public static final field CARD Lio/portone/sdk/server/schemas/PaymentMethodType; + public static final field Companion Lio/portone/sdk/server/schemas/PaymentMethodType$Companion; + public static final field EASY_PAY Lio/portone/sdk/server/schemas/PaymentMethodType; + public static final field GIFT_CERTIFICATE Lio/portone/sdk/server/schemas/PaymentMethodType; + public static final field MOBILE Lio/portone/sdk/server/schemas/PaymentMethodType; + public static final field TRANSFER Lio/portone/sdk/server/schemas/PaymentMethodType; + public static final field VIRTUAL_ACCOUNT Lio/portone/sdk/server/schemas/PaymentMethodType; + public static fun getEntries ()Lkotlin/enums/EnumEntries; + public static fun valueOf (Ljava/lang/String;)Lio/portone/sdk/server/schemas/PaymentMethodType; + public static fun values ()[Lio/portone/sdk/server/schemas/PaymentMethodType; +} + +public final class io/portone/sdk/server/schemas/PaymentMethodType$Companion { + public final fun serializer ()Lkotlinx/serialization/KSerializer; +} + +public final class io/portone/sdk/server/schemas/PaymentMethodVirtualAccount : io/portone/sdk/server/schemas/PaymentMethod { + public static final field Companion Lio/portone/sdk/server/schemas/PaymentMethodVirtualAccount$Companion; + public fun (Lio/portone/sdk/server/schemas/Bank;Ljava/lang/String;Lio/portone/sdk/server/schemas/PaymentMethodVirtualAccountType;Ljava/lang/String;Ljava/lang/String;Ljava/time/Instant;Ljava/time/Instant;Lio/portone/sdk/server/schemas/PaymentMethodVirtualAccountRefundStatus;)V + public synthetic fun (Lio/portone/sdk/server/schemas/Bank;Ljava/lang/String;Lio/portone/sdk/server/schemas/PaymentMethodVirtualAccountType;Ljava/lang/String;Ljava/lang/String;Ljava/time/Instant;Ljava/time/Instant;Lio/portone/sdk/server/schemas/PaymentMethodVirtualAccountRefundStatus;ILkotlin/jvm/internal/DefaultConstructorMarker;)V + public final fun component1 ()Lio/portone/sdk/server/schemas/Bank; + public final fun component2 ()Ljava/lang/String; + public final fun component3 ()Lio/portone/sdk/server/schemas/PaymentMethodVirtualAccountType; + public final fun component4 ()Ljava/lang/String; + public final fun component5 ()Ljava/lang/String; + public final fun component6 ()Ljava/time/Instant; + public final fun component7 ()Ljava/time/Instant; + public final fun component8 ()Lio/portone/sdk/server/schemas/PaymentMethodVirtualAccountRefundStatus; + public final fun copy (Lio/portone/sdk/server/schemas/Bank;Ljava/lang/String;Lio/portone/sdk/server/schemas/PaymentMethodVirtualAccountType;Ljava/lang/String;Ljava/lang/String;Ljava/time/Instant;Ljava/time/Instant;Lio/portone/sdk/server/schemas/PaymentMethodVirtualAccountRefundStatus;)Lio/portone/sdk/server/schemas/PaymentMethodVirtualAccount; + public static synthetic fun copy$default (Lio/portone/sdk/server/schemas/PaymentMethodVirtualAccount;Lio/portone/sdk/server/schemas/Bank;Ljava/lang/String;Lio/portone/sdk/server/schemas/PaymentMethodVirtualAccountType;Ljava/lang/String;Ljava/lang/String;Ljava/time/Instant;Ljava/time/Instant;Lio/portone/sdk/server/schemas/PaymentMethodVirtualAccountRefundStatus;ILjava/lang/Object;)Lio/portone/sdk/server/schemas/PaymentMethodVirtualAccount; + public fun equals (Ljava/lang/Object;)Z + public final fun getAccountNumber ()Ljava/lang/String; + public final fun getAccountType ()Lio/portone/sdk/server/schemas/PaymentMethodVirtualAccountType; + public final fun getBank ()Lio/portone/sdk/server/schemas/Bank; + public final fun getExpiredAt ()Ljava/time/Instant; + public final fun getIssuedAt ()Ljava/time/Instant; + public final fun getRefundStatus ()Lio/portone/sdk/server/schemas/PaymentMethodVirtualAccountRefundStatus; + public final fun getRemitteeName ()Ljava/lang/String; + public final fun getRemitterName ()Ljava/lang/String; + public fun hashCode ()I + public fun toString ()Ljava/lang/String; +} + +public synthetic class io/portone/sdk/server/schemas/PaymentMethodVirtualAccount$$serializer : kotlinx/serialization/internal/GeneratedSerializer { + public static final field INSTANCE Lio/portone/sdk/server/schemas/PaymentMethodVirtualAccount$$serializer; + public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; + public final fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Lio/portone/sdk/server/schemas/PaymentMethodVirtualAccount; + public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; + public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; + public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lio/portone/sdk/server/schemas/PaymentMethodVirtualAccount;)V + public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; +} + +public final class io/portone/sdk/server/schemas/PaymentMethodVirtualAccount$Companion { + public final fun serializer ()Lkotlinx/serialization/KSerializer; +} + +public final class io/portone/sdk/server/schemas/PaymentMethodVirtualAccountRefundStatus : java/lang/Enum { + public static final field COMPLETED Lio/portone/sdk/server/schemas/PaymentMethodVirtualAccountRefundStatus; + public static final field Companion Lio/portone/sdk/server/schemas/PaymentMethodVirtualAccountRefundStatus$Companion; + public static final field FAILED Lio/portone/sdk/server/schemas/PaymentMethodVirtualAccountRefundStatus; + public static final field PARTIAL_REFUND_FAILED Lio/portone/sdk/server/schemas/PaymentMethodVirtualAccountRefundStatus; + public static final field PENDING Lio/portone/sdk/server/schemas/PaymentMethodVirtualAccountRefundStatus; + public static fun getEntries ()Lkotlin/enums/EnumEntries; + public static fun valueOf (Ljava/lang/String;)Lio/portone/sdk/server/schemas/PaymentMethodVirtualAccountRefundStatus; + public static fun values ()[Lio/portone/sdk/server/schemas/PaymentMethodVirtualAccountRefundStatus; +} + +public final class io/portone/sdk/server/schemas/PaymentMethodVirtualAccountRefundStatus$Companion { + public final fun serializer ()Lkotlinx/serialization/KSerializer; +} + +public final class io/portone/sdk/server/schemas/PaymentMethodVirtualAccountType : java/lang/Enum { + public static final field Companion Lio/portone/sdk/server/schemas/PaymentMethodVirtualAccountType$Companion; + public static final field FIXED Lio/portone/sdk/server/schemas/PaymentMethodVirtualAccountType; + public static final field NORMAL Lio/portone/sdk/server/schemas/PaymentMethodVirtualAccountType; + public static fun getEntries ()Lkotlin/enums/EnumEntries; + public static fun valueOf (Ljava/lang/String;)Lio/portone/sdk/server/schemas/PaymentMethodVirtualAccountType; + public static fun values ()[Lio/portone/sdk/server/schemas/PaymentMethodVirtualAccountType; +} + +public final class io/portone/sdk/server/schemas/PaymentMethodVirtualAccountType$Companion { + public final fun serializer ()Lkotlinx/serialization/KSerializer; +} + +public final class io/portone/sdk/server/schemas/PaymentNotFoundException : java/lang/Exception { + public fun ()V + public fun (Ljava/lang/String;)V + public synthetic fun (Ljava/lang/String;ILkotlin/jvm/internal/DefaultConstructorMarker;)V +} + +public final class io/portone/sdk/server/schemas/PaymentNotPaidException : java/lang/Exception { + public fun ()V + public fun (Ljava/lang/String;)V + public synthetic fun (Ljava/lang/String;ILkotlin/jvm/internal/DefaultConstructorMarker;)V +} + +public final class io/portone/sdk/server/schemas/PaymentNotWaitingForDepositException : java/lang/Exception { + public fun ()V + public fun (Ljava/lang/String;)V + public synthetic fun (Ljava/lang/String;ILkotlin/jvm/internal/DefaultConstructorMarker;)V +} + +public final class io/portone/sdk/server/schemas/PaymentProduct { + public static final field Companion Lio/portone/sdk/server/schemas/PaymentProduct$Companion; + public fun (Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;JI)V + public synthetic fun (Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;JIILkotlin/jvm/internal/DefaultConstructorMarker;)V + public final fun component1 ()Ljava/lang/String; + public final fun component2 ()Ljava/lang/String; + public final fun component3 ()Ljava/lang/String; + public final fun component4 ()Ljava/lang/String; + public final fun component5 ()J + public final fun component6 ()I + public final fun copy (Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;JI)Lio/portone/sdk/server/schemas/PaymentProduct; + public static synthetic fun copy$default (Lio/portone/sdk/server/schemas/PaymentProduct;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;JIILjava/lang/Object;)Lio/portone/sdk/server/schemas/PaymentProduct; + public fun equals (Ljava/lang/Object;)Z + public final fun getAmount ()J + public final fun getCode ()Ljava/lang/String; + public final fun getId ()Ljava/lang/String; + public final fun getName ()Ljava/lang/String; + public final fun getQuantity ()I + public final fun getTag ()Ljava/lang/String; + public fun hashCode ()I + public fun toString ()Ljava/lang/String; +} + +public synthetic class io/portone/sdk/server/schemas/PaymentProduct$$serializer : kotlinx/serialization/internal/GeneratedSerializer { + public static final field INSTANCE Lio/portone/sdk/server/schemas/PaymentProduct$$serializer; + public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; + public final fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Lio/portone/sdk/server/schemas/PaymentProduct; + public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; + public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; + public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lio/portone/sdk/server/schemas/PaymentProduct;)V + public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; +} + +public final class io/portone/sdk/server/schemas/PaymentProduct$Companion { + public final fun serializer ()Lkotlinx/serialization/KSerializer; +} + +public final class io/portone/sdk/server/schemas/PaymentProductType : java/lang/Enum { + public static final field Companion Lio/portone/sdk/server/schemas/PaymentProductType$Companion; + public static final field DIGITAL Lio/portone/sdk/server/schemas/PaymentProductType; + public static final field PHYSICAL Lio/portone/sdk/server/schemas/PaymentProductType; + public static fun getEntries ()Lkotlin/enums/EnumEntries; + public static fun valueOf (Ljava/lang/String;)Lio/portone/sdk/server/schemas/PaymentProductType; + public static fun values ()[Lio/portone/sdk/server/schemas/PaymentProductType; +} + +public final class io/portone/sdk/server/schemas/PaymentProductType$Companion { + public final fun serializer ()Lkotlinx/serialization/KSerializer; +} + +public abstract interface class io/portone/sdk/server/schemas/PaymentSchedule { + public static final field Companion Lio/portone/sdk/server/schemas/PaymentSchedule$Companion; + public abstract fun getBillingKey ()Ljava/lang/String; + public abstract fun getCreatedAt ()Ljava/time/Instant; + public abstract fun getCurrency ()Lio/portone/sdk/server/schemas/Currency; + public abstract fun getCustomData ()Ljava/lang/String; + public abstract fun getCustomer ()Lio/portone/sdk/server/schemas/Customer; + public abstract fun getId ()Ljava/lang/String; + public abstract fun getInstallmentMonth ()Ljava/lang/Integer; + public abstract fun getMerchantId ()Ljava/lang/String; + public abstract fun getNoticeUrls ()Ljava/util/List; + public abstract fun getOrderName ()Ljava/lang/String; + public abstract fun getPaymentId ()Ljava/lang/String; + public abstract fun getProducts ()Ljava/util/List; + public abstract fun getStoreId ()Ljava/lang/String; + public abstract fun getTaxFreeAmount ()Ljava/lang/Long; + public abstract fun getTimeToPay ()Ljava/time/Instant; + public abstract fun getTotalAmount ()J + public abstract fun getVatAmount ()Ljava/lang/Long; + public abstract fun isCulturalExpense ()Z + public abstract fun isEscrow ()Z +} + +public final class io/portone/sdk/server/schemas/PaymentSchedule$Companion { + public final fun serializer ()Lkotlinx/serialization/KSerializer; +} + +public final class io/portone/sdk/server/schemas/PaymentScheduleAlreadyExistsException : java/lang/Exception { + public fun ()V + public fun (Ljava/lang/String;)V + public synthetic fun (Ljava/lang/String;ILkotlin/jvm/internal/DefaultConstructorMarker;)V +} + +public final class io/portone/sdk/server/schemas/PaymentScheduleAlreadyProcessedException : java/lang/Exception { + public fun ()V + public fun (Ljava/lang/String;)V + public synthetic fun (Ljava/lang/String;ILkotlin/jvm/internal/DefaultConstructorMarker;)V +} + +public final class io/portone/sdk/server/schemas/PaymentScheduleAlreadyRevokedException : java/lang/Exception { + public fun ()V + public fun (Ljava/lang/String;)V + public synthetic fun (Ljava/lang/String;ILkotlin/jvm/internal/DefaultConstructorMarker;)V +} + +public final class io/portone/sdk/server/schemas/PaymentScheduleFilterInput { + public static final field Companion Lio/portone/sdk/server/schemas/PaymentScheduleFilterInput$Companion; + public fun ()V + public fun (Ljava/lang/String;Ljava/lang/String;Ljava/time/Instant;Ljava/time/Instant;Ljava/util/List;)V + public synthetic fun (Ljava/lang/String;Ljava/lang/String;Ljava/time/Instant;Ljava/time/Instant;Ljava/util/List;ILkotlin/jvm/internal/DefaultConstructorMarker;)V + public final fun component1 ()Ljava/lang/String; + public final fun component2 ()Ljava/lang/String; + public final fun component3 ()Ljava/time/Instant; + public final fun component4 ()Ljava/time/Instant; + public final fun component5 ()Ljava/util/List; + public final fun copy (Ljava/lang/String;Ljava/lang/String;Ljava/time/Instant;Ljava/time/Instant;Ljava/util/List;)Lio/portone/sdk/server/schemas/PaymentScheduleFilterInput; + public static synthetic fun copy$default (Lio/portone/sdk/server/schemas/PaymentScheduleFilterInput;Ljava/lang/String;Ljava/lang/String;Ljava/time/Instant;Ljava/time/Instant;Ljava/util/List;ILjava/lang/Object;)Lio/portone/sdk/server/schemas/PaymentScheduleFilterInput; + public fun equals (Ljava/lang/Object;)Z + public final fun getBillingKey ()Ljava/lang/String; + public final fun getFrom ()Ljava/time/Instant; + public final fun getStatus ()Ljava/util/List; + public final fun getStoreId ()Ljava/lang/String; + public final fun getUntil ()Ljava/time/Instant; + public fun hashCode ()I + public fun toString ()Ljava/lang/String; +} + +public synthetic class io/portone/sdk/server/schemas/PaymentScheduleFilterInput$$serializer : kotlinx/serialization/internal/GeneratedSerializer { + public static final field INSTANCE Lio/portone/sdk/server/schemas/PaymentScheduleFilterInput$$serializer; + public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; + public final fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Lio/portone/sdk/server/schemas/PaymentScheduleFilterInput; + public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; + public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; + public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lio/portone/sdk/server/schemas/PaymentScheduleFilterInput;)V + public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; +} + +public final class io/portone/sdk/server/schemas/PaymentScheduleFilterInput$Companion { + public final fun serializer ()Lkotlinx/serialization/KSerializer; +} + +public final class io/portone/sdk/server/schemas/PaymentScheduleNotFoundException : java/lang/Exception { + public fun ()V + public fun (Ljava/lang/String;)V + public synthetic fun (Ljava/lang/String;ILkotlin/jvm/internal/DefaultConstructorMarker;)V +} + +public final class io/portone/sdk/server/schemas/PaymentScheduleSortBy : java/lang/Enum { + public static final field COMPLETED_AT Lio/portone/sdk/server/schemas/PaymentScheduleSortBy; + public static final field CREATED_AT Lio/portone/sdk/server/schemas/PaymentScheduleSortBy; + public static final field Companion Lio/portone/sdk/server/schemas/PaymentScheduleSortBy$Companion; + public static final field TIME_TO_PAY Lio/portone/sdk/server/schemas/PaymentScheduleSortBy; + public static fun getEntries ()Lkotlin/enums/EnumEntries; + public static fun valueOf (Ljava/lang/String;)Lio/portone/sdk/server/schemas/PaymentScheduleSortBy; + public static fun values ()[Lio/portone/sdk/server/schemas/PaymentScheduleSortBy; +} + +public final class io/portone/sdk/server/schemas/PaymentScheduleSortBy$Companion { + public final fun serializer ()Lkotlinx/serialization/KSerializer; +} + +public final class io/portone/sdk/server/schemas/PaymentScheduleSortInput { + public static final field Companion Lio/portone/sdk/server/schemas/PaymentScheduleSortInput$Companion; + public fun ()V + public fun (Lio/portone/sdk/server/schemas/PaymentScheduleSortBy;Lio/portone/sdk/server/schemas/SortOrder;)V + public synthetic fun (Lio/portone/sdk/server/schemas/PaymentScheduleSortBy;Lio/portone/sdk/server/schemas/SortOrder;ILkotlin/jvm/internal/DefaultConstructorMarker;)V + public final fun component1 ()Lio/portone/sdk/server/schemas/PaymentScheduleSortBy; + public final fun component2 ()Lio/portone/sdk/server/schemas/SortOrder; + public final fun copy (Lio/portone/sdk/server/schemas/PaymentScheduleSortBy;Lio/portone/sdk/server/schemas/SortOrder;)Lio/portone/sdk/server/schemas/PaymentScheduleSortInput; + public static synthetic fun copy$default (Lio/portone/sdk/server/schemas/PaymentScheduleSortInput;Lio/portone/sdk/server/schemas/PaymentScheduleSortBy;Lio/portone/sdk/server/schemas/SortOrder;ILjava/lang/Object;)Lio/portone/sdk/server/schemas/PaymentScheduleSortInput; + public fun equals (Ljava/lang/Object;)Z + public final fun getBy ()Lio/portone/sdk/server/schemas/PaymentScheduleSortBy; + public final fun getOrder ()Lio/portone/sdk/server/schemas/SortOrder; + public fun hashCode ()I + public fun toString ()Ljava/lang/String; +} + +public synthetic class io/portone/sdk/server/schemas/PaymentScheduleSortInput$$serializer : kotlinx/serialization/internal/GeneratedSerializer { + public static final field INSTANCE Lio/portone/sdk/server/schemas/PaymentScheduleSortInput$$serializer; + public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; + public final fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Lio/portone/sdk/server/schemas/PaymentScheduleSortInput; + public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; + public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; + public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lio/portone/sdk/server/schemas/PaymentScheduleSortInput;)V + public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; +} + +public final class io/portone/sdk/server/schemas/PaymentScheduleSortInput$Companion { + public final fun serializer ()Lkotlinx/serialization/KSerializer; +} + +public final class io/portone/sdk/server/schemas/PaymentScheduleStatus : java/lang/Enum { + public static final field Companion Lio/portone/sdk/server/schemas/PaymentScheduleStatus$Companion; + public static final field FAILED Lio/portone/sdk/server/schemas/PaymentScheduleStatus; + public static final field PENDING Lio/portone/sdk/server/schemas/PaymentScheduleStatus; + public static final field REVOKED Lio/portone/sdk/server/schemas/PaymentScheduleStatus; + public static final field SCHEDULED Lio/portone/sdk/server/schemas/PaymentScheduleStatus; + public static final field STARTED Lio/portone/sdk/server/schemas/PaymentScheduleStatus; + public static final field SUCCEEDED Lio/portone/sdk/server/schemas/PaymentScheduleStatus; + public static fun getEntries ()Lkotlin/enums/EnumEntries; + public static fun valueOf (Ljava/lang/String;)Lio/portone/sdk/server/schemas/PaymentScheduleStatus; + public static fun values ()[Lio/portone/sdk/server/schemas/PaymentScheduleStatus; +} + +public final class io/portone/sdk/server/schemas/PaymentScheduleStatus$Companion { + public final fun serializer ()Lkotlinx/serialization/KSerializer; +} + +public final class io/portone/sdk/server/schemas/PaymentScheduleSummary { + public static final field Companion Lio/portone/sdk/server/schemas/PaymentScheduleSummary$Companion; + public fun (Ljava/lang/String;)V + public final fun component1 ()Ljava/lang/String; + public final fun copy (Ljava/lang/String;)Lio/portone/sdk/server/schemas/PaymentScheduleSummary; + public static synthetic fun copy$default (Lio/portone/sdk/server/schemas/PaymentScheduleSummary;Ljava/lang/String;ILjava/lang/Object;)Lio/portone/sdk/server/schemas/PaymentScheduleSummary; + public fun equals (Ljava/lang/Object;)Z + public final fun getId ()Ljava/lang/String; + public fun hashCode ()I + public fun toString ()Ljava/lang/String; +} + +public synthetic class io/portone/sdk/server/schemas/PaymentScheduleSummary$$serializer : kotlinx/serialization/internal/GeneratedSerializer { + public static final field INSTANCE Lio/portone/sdk/server/schemas/PaymentScheduleSummary$$serializer; + public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; + public final fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Lio/portone/sdk/server/schemas/PaymentScheduleSummary; + public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; + public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; + public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lio/portone/sdk/server/schemas/PaymentScheduleSummary;)V + public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; +} + +public final class io/portone/sdk/server/schemas/PaymentScheduleSummary$Companion { + public final fun serializer ()Lkotlinx/serialization/KSerializer; +} + +public final class io/portone/sdk/server/schemas/PaymentSortBy : java/lang/Enum { + public static final field Companion Lio/portone/sdk/server/schemas/PaymentSortBy$Companion; + public static final field REQUESTED_AT Lio/portone/sdk/server/schemas/PaymentSortBy; + public static final field STATUS_CHANGED_AT Lio/portone/sdk/server/schemas/PaymentSortBy; + public static fun getEntries ()Lkotlin/enums/EnumEntries; + public static fun valueOf (Ljava/lang/String;)Lio/portone/sdk/server/schemas/PaymentSortBy; + public static fun values ()[Lio/portone/sdk/server/schemas/PaymentSortBy; +} + +public final class io/portone/sdk/server/schemas/PaymentSortBy$Companion { + public final fun serializer ()Lkotlinx/serialization/KSerializer; +} + +public final class io/portone/sdk/server/schemas/PaymentStatus : java/lang/Enum { + public static final field CANCELLED Lio/portone/sdk/server/schemas/PaymentStatus; + public static final field Companion Lio/portone/sdk/server/schemas/PaymentStatus$Companion; + public static final field FAILED Lio/portone/sdk/server/schemas/PaymentStatus; + public static final field PAID Lio/portone/sdk/server/schemas/PaymentStatus; + public static final field PARTIAL_CANCELLED Lio/portone/sdk/server/schemas/PaymentStatus; + public static final field PENDING Lio/portone/sdk/server/schemas/PaymentStatus; + public static final field READY Lio/portone/sdk/server/schemas/PaymentStatus; + public static final field VIRTUAL_ACCOUNT_ISSUED Lio/portone/sdk/server/schemas/PaymentStatus; + public static fun getEntries ()Lkotlin/enums/EnumEntries; + public static fun valueOf (Ljava/lang/String;)Lio/portone/sdk/server/schemas/PaymentStatus; + public static fun values ()[Lio/portone/sdk/server/schemas/PaymentStatus; +} + +public final class io/portone/sdk/server/schemas/PaymentStatus$Companion { + public final fun serializer ()Lkotlinx/serialization/KSerializer; +} + +public final class io/portone/sdk/server/schemas/PaymentTextSearch { + public static final field Companion Lio/portone/sdk/server/schemas/PaymentTextSearch$Companion; + public fun (Lio/portone/sdk/server/schemas/PaymentTextSearchField;Ljava/lang/String;)V + public final fun component1 ()Lio/portone/sdk/server/schemas/PaymentTextSearchField; + public final fun component2 ()Ljava/lang/String; + public final fun copy (Lio/portone/sdk/server/schemas/PaymentTextSearchField;Ljava/lang/String;)Lio/portone/sdk/server/schemas/PaymentTextSearch; + public static synthetic fun copy$default (Lio/portone/sdk/server/schemas/PaymentTextSearch;Lio/portone/sdk/server/schemas/PaymentTextSearchField;Ljava/lang/String;ILjava/lang/Object;)Lio/portone/sdk/server/schemas/PaymentTextSearch; + public fun equals (Ljava/lang/Object;)Z + public final fun getField ()Lio/portone/sdk/server/schemas/PaymentTextSearchField; + public final fun getValue ()Ljava/lang/String; + public fun hashCode ()I + public fun toString ()Ljava/lang/String; +} + +public synthetic class io/portone/sdk/server/schemas/PaymentTextSearch$$serializer : kotlinx/serialization/internal/GeneratedSerializer { + public static final field INSTANCE Lio/portone/sdk/server/schemas/PaymentTextSearch$$serializer; + public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; + public final fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Lio/portone/sdk/server/schemas/PaymentTextSearch; + public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; + public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; + public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lio/portone/sdk/server/schemas/PaymentTextSearch;)V + public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; +} + +public final class io/portone/sdk/server/schemas/PaymentTextSearch$Companion { + public final fun serializer ()Lkotlinx/serialization/KSerializer; +} + +public final class io/portone/sdk/server/schemas/PaymentTextSearchField : java/lang/Enum { + public static final field ALL Lio/portone/sdk/server/schemas/PaymentTextSearchField; + public static final field BILLING_KEY Lio/portone/sdk/server/schemas/PaymentTextSearchField; + public static final field CANCEL_REASON Lio/portone/sdk/server/schemas/PaymentTextSearchField; + public static final field CARD_ACQUIRER Lio/portone/sdk/server/schemas/PaymentTextSearchField; + public static final field CARD_APPROVAL_NUMBER Lio/portone/sdk/server/schemas/PaymentTextSearchField; + public static final field CARD_BIN Lio/portone/sdk/server/schemas/PaymentTextSearchField; + public static final field CARD_INSTALLMENT Lio/portone/sdk/server/schemas/PaymentTextSearchField; + public static final field CARD_ISSUER Lio/portone/sdk/server/schemas/PaymentTextSearchField; + public static final field CARD_NUMBER Lio/portone/sdk/server/schemas/PaymentTextSearchField; + public static final field CARD_RECEIPT_NAME Lio/portone/sdk/server/schemas/PaymentTextSearchField; + public static final field CUSTOMER_ADDRESS Lio/portone/sdk/server/schemas/PaymentTextSearchField; + public static final field CUSTOMER_EMAIL Lio/portone/sdk/server/schemas/PaymentTextSearchField; + public static final field CUSTOMER_NAME Lio/portone/sdk/server/schemas/PaymentTextSearchField; + public static final field CUSTOMER_PHONE_NUMBER Lio/portone/sdk/server/schemas/PaymentTextSearchField; + public static final field CUSTOMER_ZIPCODE Lio/portone/sdk/server/schemas/PaymentTextSearchField; + public static final field Companion Lio/portone/sdk/server/schemas/PaymentTextSearchField$Companion; + public static final field FAIL_REASON Lio/portone/sdk/server/schemas/PaymentTextSearchField; + public static final field GIFT_CERTIFICATION_APPROVAL_NUMBER Lio/portone/sdk/server/schemas/PaymentTextSearchField; + public static final field ORDER_NAME Lio/portone/sdk/server/schemas/PaymentTextSearchField; + public static final field PAYMENT_ID Lio/portone/sdk/server/schemas/PaymentTextSearchField; + public static final field PG_CANCELLATION_ID Lio/portone/sdk/server/schemas/PaymentTextSearchField; + public static final field PG_MERCHANT_ID Lio/portone/sdk/server/schemas/PaymentTextSearchField; + public static final field PG_RECEIPT_ID Lio/portone/sdk/server/schemas/PaymentTextSearchField; + public static final field PG_TX_ID Lio/portone/sdk/server/schemas/PaymentTextSearchField; + public static final field PROMOTION_ID Lio/portone/sdk/server/schemas/PaymentTextSearchField; + public static final field RECEIPT_APPROVAL_NUMBER Lio/portone/sdk/server/schemas/PaymentTextSearchField; + public static final field SCHEDULE_ID Lio/portone/sdk/server/schemas/PaymentTextSearchField; + public static final field TRANS_BANK Lio/portone/sdk/server/schemas/PaymentTextSearchField; + public static final field TX_ID Lio/portone/sdk/server/schemas/PaymentTextSearchField; + public static final field USER_AGENT Lio/portone/sdk/server/schemas/PaymentTextSearchField; + public static final field VIRTUAL_ACCOUNT_BANK Lio/portone/sdk/server/schemas/PaymentTextSearchField; + public static final field VIRTUAL_ACCOUNT_HOLDER_NAME Lio/portone/sdk/server/schemas/PaymentTextSearchField; + public static final field VIRTUAL_ACCOUNT_NUMBER Lio/portone/sdk/server/schemas/PaymentTextSearchField; + public static fun getEntries ()Lkotlin/enums/EnumEntries; + public static fun valueOf (Ljava/lang/String;)Lio/portone/sdk/server/schemas/PaymentTextSearchField; + public static fun values ()[Lio/portone/sdk/server/schemas/PaymentTextSearchField; +} + +public final class io/portone/sdk/server/schemas/PaymentTextSearchField$Companion { + public final fun serializer ()Lkotlinx/serialization/KSerializer; +} + +public final class io/portone/sdk/server/schemas/PaymentTimestampType : java/lang/Enum { + public static final field CREATED_AT Lio/portone/sdk/server/schemas/PaymentTimestampType; + public static final field Companion Lio/portone/sdk/server/schemas/PaymentTimestampType$Companion; + public static final field STATUS_CHANGED_AT Lio/portone/sdk/server/schemas/PaymentTimestampType; + public static fun getEntries ()Lkotlin/enums/EnumEntries; + public static fun valueOf (Ljava/lang/String;)Lio/portone/sdk/server/schemas/PaymentTimestampType; + public static fun values ()[Lio/portone/sdk/server/schemas/PaymentTimestampType; +} + +public final class io/portone/sdk/server/schemas/PaymentTimestampType$Companion { + public final fun serializer ()Lkotlinx/serialization/KSerializer; +} + +public final class io/portone/sdk/server/schemas/PaymentWebhook { + public static final field Companion Lio/portone/sdk/server/schemas/PaymentWebhook$Companion; + public fun (Lio/portone/sdk/server/schemas/PaymentWebhookPaymentStatus;Ljava/lang/String;Lio/portone/sdk/server/schemas/PaymentWebhookStatus;Ljava/lang/String;Ljava/lang/Boolean;Ljava/lang/Integer;Ljava/lang/Integer;Lio/portone/sdk/server/schemas/PaymentWebhookTrigger;Lio/portone/sdk/server/schemas/PaymentWebhookRequest;Lio/portone/sdk/server/schemas/PaymentWebhookResponse;Ljava/time/Instant;)V + public synthetic fun (Lio/portone/sdk/server/schemas/PaymentWebhookPaymentStatus;Ljava/lang/String;Lio/portone/sdk/server/schemas/PaymentWebhookStatus;Ljava/lang/String;Ljava/lang/Boolean;Ljava/lang/Integer;Ljava/lang/Integer;Lio/portone/sdk/server/schemas/PaymentWebhookTrigger;Lio/portone/sdk/server/schemas/PaymentWebhookRequest;Lio/portone/sdk/server/schemas/PaymentWebhookResponse;Ljava/time/Instant;ILkotlin/jvm/internal/DefaultConstructorMarker;)V + public final fun component1 ()Lio/portone/sdk/server/schemas/PaymentWebhookPaymentStatus; + public final fun component10 ()Lio/portone/sdk/server/schemas/PaymentWebhookResponse; + public final fun component11 ()Ljava/time/Instant; + public final fun component2 ()Ljava/lang/String; + public final fun component3 ()Lio/portone/sdk/server/schemas/PaymentWebhookStatus; + public final fun component4 ()Ljava/lang/String; + public final fun component5 ()Ljava/lang/Boolean; + public final fun component6 ()Ljava/lang/Integer; + public final fun component7 ()Ljava/lang/Integer; + public final fun component8 ()Lio/portone/sdk/server/schemas/PaymentWebhookTrigger; + public final fun component9 ()Lio/portone/sdk/server/schemas/PaymentWebhookRequest; + public final fun copy (Lio/portone/sdk/server/schemas/PaymentWebhookPaymentStatus;Ljava/lang/String;Lio/portone/sdk/server/schemas/PaymentWebhookStatus;Ljava/lang/String;Ljava/lang/Boolean;Ljava/lang/Integer;Ljava/lang/Integer;Lio/portone/sdk/server/schemas/PaymentWebhookTrigger;Lio/portone/sdk/server/schemas/PaymentWebhookRequest;Lio/portone/sdk/server/schemas/PaymentWebhookResponse;Ljava/time/Instant;)Lio/portone/sdk/server/schemas/PaymentWebhook; + public static synthetic fun copy$default (Lio/portone/sdk/server/schemas/PaymentWebhook;Lio/portone/sdk/server/schemas/PaymentWebhookPaymentStatus;Ljava/lang/String;Lio/portone/sdk/server/schemas/PaymentWebhookStatus;Ljava/lang/String;Ljava/lang/Boolean;Ljava/lang/Integer;Ljava/lang/Integer;Lio/portone/sdk/server/schemas/PaymentWebhookTrigger;Lio/portone/sdk/server/schemas/PaymentWebhookRequest;Lio/portone/sdk/server/schemas/PaymentWebhookResponse;Ljava/time/Instant;ILjava/lang/Object;)Lio/portone/sdk/server/schemas/PaymentWebhook; + public fun equals (Ljava/lang/Object;)Z + public final fun getCurrentExecutionCount ()Ljava/lang/Integer; + public final fun getId ()Ljava/lang/String; + public final fun getMaxExecutionCount ()Ljava/lang/Integer; + public final fun getPaymentStatus ()Lio/portone/sdk/server/schemas/PaymentWebhookPaymentStatus; + public final fun getRequest ()Lio/portone/sdk/server/schemas/PaymentWebhookRequest; + public final fun getResponse ()Lio/portone/sdk/server/schemas/PaymentWebhookResponse; + public final fun getStatus ()Lio/portone/sdk/server/schemas/PaymentWebhookStatus; + public final fun getTrigger ()Lio/portone/sdk/server/schemas/PaymentWebhookTrigger; + public final fun getTriggeredAt ()Ljava/time/Instant; + public final fun getUrl ()Ljava/lang/String; + public fun hashCode ()I + public final fun isAsync ()Ljava/lang/Boolean; + public fun toString ()Ljava/lang/String; +} + +public synthetic class io/portone/sdk/server/schemas/PaymentWebhook$$serializer : kotlinx/serialization/internal/GeneratedSerializer { + public static final field INSTANCE Lio/portone/sdk/server/schemas/PaymentWebhook$$serializer; + public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; + public final fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Lio/portone/sdk/server/schemas/PaymentWebhook; + public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; + public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; + public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lio/portone/sdk/server/schemas/PaymentWebhook;)V + public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; +} + +public final class io/portone/sdk/server/schemas/PaymentWebhook$Companion { + public final fun serializer ()Lkotlinx/serialization/KSerializer; +} + +public final class io/portone/sdk/server/schemas/PaymentWebhookPaymentStatus : java/lang/Enum { + public static final field CANCELLED Lio/portone/sdk/server/schemas/PaymentWebhookPaymentStatus; + public static final field Companion Lio/portone/sdk/server/schemas/PaymentWebhookPaymentStatus$Companion; + public static final field FAILED Lio/portone/sdk/server/schemas/PaymentWebhookPaymentStatus; + public static final field PAID Lio/portone/sdk/server/schemas/PaymentWebhookPaymentStatus; + public static final field PARTIAL_CANCELLED Lio/portone/sdk/server/schemas/PaymentWebhookPaymentStatus; + public static final field PAY_PENDING Lio/portone/sdk/server/schemas/PaymentWebhookPaymentStatus; + public static final field READY Lio/portone/sdk/server/schemas/PaymentWebhookPaymentStatus; + public static final field VIRTUAL_ACCOUNT_ISSUED Lio/portone/sdk/server/schemas/PaymentWebhookPaymentStatus; + public static fun getEntries ()Lkotlin/enums/EnumEntries; + public static fun valueOf (Ljava/lang/String;)Lio/portone/sdk/server/schemas/PaymentWebhookPaymentStatus; + public static fun values ()[Lio/portone/sdk/server/schemas/PaymentWebhookPaymentStatus; +} + +public final class io/portone/sdk/server/schemas/PaymentWebhookPaymentStatus$Companion { + public final fun serializer ()Lkotlinx/serialization/KSerializer; +} + +public final class io/portone/sdk/server/schemas/PaymentWebhookRequest { + public static final field Companion Lio/portone/sdk/server/schemas/PaymentWebhookRequest$Companion; + public fun (Ljava/lang/String;Ljava/lang/String;Ljava/time/Instant;)V + public synthetic fun (Ljava/lang/String;Ljava/lang/String;Ljava/time/Instant;ILkotlin/jvm/internal/DefaultConstructorMarker;)V + public final fun component1 ()Ljava/lang/String; + public final fun component2 ()Ljava/lang/String; + public final fun component3 ()Ljava/time/Instant; + public final fun copy (Ljava/lang/String;Ljava/lang/String;Ljava/time/Instant;)Lio/portone/sdk/server/schemas/PaymentWebhookRequest; + public static synthetic fun copy$default (Lio/portone/sdk/server/schemas/PaymentWebhookRequest;Ljava/lang/String;Ljava/lang/String;Ljava/time/Instant;ILjava/lang/Object;)Lio/portone/sdk/server/schemas/PaymentWebhookRequest; + public fun equals (Ljava/lang/Object;)Z + public final fun getBody ()Ljava/lang/String; + public final fun getHeader ()Ljava/lang/String; + public final fun getRequestedAt ()Ljava/time/Instant; + public fun hashCode ()I + public fun toString ()Ljava/lang/String; +} + +public synthetic class io/portone/sdk/server/schemas/PaymentWebhookRequest$$serializer : kotlinx/serialization/internal/GeneratedSerializer { + public static final field INSTANCE Lio/portone/sdk/server/schemas/PaymentWebhookRequest$$serializer; + public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; + public final fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Lio/portone/sdk/server/schemas/PaymentWebhookRequest; + public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; + public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; + public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lio/portone/sdk/server/schemas/PaymentWebhookRequest;)V + public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; +} + +public final class io/portone/sdk/server/schemas/PaymentWebhookRequest$Companion { + public final fun serializer ()Lkotlinx/serialization/KSerializer; +} + +public final class io/portone/sdk/server/schemas/PaymentWebhookResponse { + public static final field Companion Lio/portone/sdk/server/schemas/PaymentWebhookResponse$Companion; + public fun (Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/time/Instant;)V + public final fun component1 ()Ljava/lang/String; + public final fun component2 ()Ljava/lang/String; + public final fun component3 ()Ljava/lang/String; + public final fun component4 ()Ljava/time/Instant; + public final fun copy (Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/time/Instant;)Lio/portone/sdk/server/schemas/PaymentWebhookResponse; + public static synthetic fun copy$default (Lio/portone/sdk/server/schemas/PaymentWebhookResponse;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/time/Instant;ILjava/lang/Object;)Lio/portone/sdk/server/schemas/PaymentWebhookResponse; + public fun equals (Ljava/lang/Object;)Z + public final fun getBody ()Ljava/lang/String; + public final fun getCode ()Ljava/lang/String; + public final fun getHeader ()Ljava/lang/String; + public final fun getRespondedAt ()Ljava/time/Instant; + public fun hashCode ()I + public fun toString ()Ljava/lang/String; +} + +public synthetic class io/portone/sdk/server/schemas/PaymentWebhookResponse$$serializer : kotlinx/serialization/internal/GeneratedSerializer { + public static final field INSTANCE Lio/portone/sdk/server/schemas/PaymentWebhookResponse$$serializer; + public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; + public final fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Lio/portone/sdk/server/schemas/PaymentWebhookResponse; + public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; + public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; + public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lio/portone/sdk/server/schemas/PaymentWebhookResponse;)V + public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; +} + +public final class io/portone/sdk/server/schemas/PaymentWebhookResponse$Companion { + public final fun serializer ()Lkotlinx/serialization/KSerializer; +} + +public final class io/portone/sdk/server/schemas/PaymentWebhookStatus : java/lang/Enum { + public static final field Companion Lio/portone/sdk/server/schemas/PaymentWebhookStatus$Companion; + public static final field FAILED_NOT_OK_RESPONSE Lio/portone/sdk/server/schemas/PaymentWebhookStatus; + public static final field FAILED_UNEXPECTED_ERROR Lio/portone/sdk/server/schemas/PaymentWebhookStatus; + public static final field SUCCEEDED Lio/portone/sdk/server/schemas/PaymentWebhookStatus; + public static fun getEntries ()Lkotlin/enums/EnumEntries; + public static fun valueOf (Ljava/lang/String;)Lio/portone/sdk/server/schemas/PaymentWebhookStatus; + public static fun values ()[Lio/portone/sdk/server/schemas/PaymentWebhookStatus; +} + +public final class io/portone/sdk/server/schemas/PaymentWebhookStatus$Companion { + public final fun serializer ()Lkotlinx/serialization/KSerializer; +} + +public final class io/portone/sdk/server/schemas/PaymentWebhookTrigger : java/lang/Enum { + public static final field ASYNC_CANCEL_APPROVED Lio/portone/sdk/server/schemas/PaymentWebhookTrigger; + public static final field ASYNC_CANCEL_FAILED Lio/portone/sdk/server/schemas/PaymentWebhookTrigger; + public static final field ASYNC_PAY_APPROVED Lio/portone/sdk/server/schemas/PaymentWebhookTrigger; + public static final field ASYNC_PAY_FAILED Lio/portone/sdk/server/schemas/PaymentWebhookTrigger; + public static final field Companion Lio/portone/sdk/server/schemas/PaymentWebhookTrigger$Companion; + public static final field MANUAL Lio/portone/sdk/server/schemas/PaymentWebhookTrigger; + public static final field VIRTUAL_ACCOUNT_DEPOSIT Lio/portone/sdk/server/schemas/PaymentWebhookTrigger; + public static fun getEntries ()Lkotlin/enums/EnumEntries; + public static fun valueOf (Ljava/lang/String;)Lio/portone/sdk/server/schemas/PaymentWebhookTrigger; + public static fun values ()[Lio/portone/sdk/server/schemas/PaymentWebhookTrigger; +} + +public final class io/portone/sdk/server/schemas/PaymentWebhookTrigger$Companion { + public final fun serializer ()Lkotlinx/serialization/KSerializer; +} + +public final class io/portone/sdk/server/schemas/PaymentWithCursor { + public static final field Companion Lio/portone/sdk/server/schemas/PaymentWithCursor$Companion; + public fun (Lio/portone/sdk/server/schemas/Payment;Ljava/lang/String;)V + public final fun component1 ()Lio/portone/sdk/server/schemas/Payment; + public final fun component2 ()Ljava/lang/String; + public final fun copy (Lio/portone/sdk/server/schemas/Payment;Ljava/lang/String;)Lio/portone/sdk/server/schemas/PaymentWithCursor; + public static synthetic fun copy$default (Lio/portone/sdk/server/schemas/PaymentWithCursor;Lio/portone/sdk/server/schemas/Payment;Ljava/lang/String;ILjava/lang/Object;)Lio/portone/sdk/server/schemas/PaymentWithCursor; + public fun equals (Ljava/lang/Object;)Z + public final fun getCursor ()Ljava/lang/String; + public final fun getPayment ()Lio/portone/sdk/server/schemas/Payment; + public fun hashCode ()I + public fun toString ()Ljava/lang/String; +} + +public synthetic class io/portone/sdk/server/schemas/PaymentWithCursor$$serializer : kotlinx/serialization/internal/GeneratedSerializer { + public static final field INSTANCE Lio/portone/sdk/server/schemas/PaymentWithCursor$$serializer; + public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; + public final fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Lio/portone/sdk/server/schemas/PaymentWithCursor; + public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; + public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; + public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lio/portone/sdk/server/schemas/PaymentWithCursor;)V + public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; +} + +public final class io/portone/sdk/server/schemas/PaymentWithCursor$Companion { + public final fun serializer ()Lkotlinx/serialization/KSerializer; +} + +public final class io/portone/sdk/server/schemas/PendingPaymentSchedule : io/portone/sdk/server/schemas/PaymentSchedule { + public static final field Companion Lio/portone/sdk/server/schemas/PendingPaymentSchedule$Companion; + public fun (Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;ZZLio/portone/sdk/server/schemas/Customer;Ljava/lang/String;JLjava/lang/Long;Ljava/lang/Long;Lio/portone/sdk/server/schemas/Currency;Ljava/lang/Integer;Ljava/util/List;Ljava/util/List;Ljava/time/Instant;Ljava/time/Instant;Ljava/time/Instant;Ljava/time/Instant;)V + public synthetic fun (Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;ZZLio/portone/sdk/server/schemas/Customer;Ljava/lang/String;JLjava/lang/Long;Ljava/lang/Long;Lio/portone/sdk/server/schemas/Currency;Ljava/lang/Integer;Ljava/util/List;Ljava/util/List;Ljava/time/Instant;Ljava/time/Instant;Ljava/time/Instant;Ljava/time/Instant;ILkotlin/jvm/internal/DefaultConstructorMarker;)V + public final fun component1 ()Ljava/lang/String; + public final fun component10 ()Ljava/lang/String; + public final fun component11 ()J + public final fun component12 ()Ljava/lang/Long; + public final fun component13 ()Ljava/lang/Long; + public final fun component14 ()Lio/portone/sdk/server/schemas/Currency; + public final fun component15 ()Ljava/lang/Integer; + public final fun component16 ()Ljava/util/List; + public final fun component17 ()Ljava/util/List; + public final fun component18 ()Ljava/time/Instant; + public final fun component19 ()Ljava/time/Instant; + public final fun component2 ()Ljava/lang/String; + public final fun component20 ()Ljava/time/Instant; + public final fun component21 ()Ljava/time/Instant; + public final fun component3 ()Ljava/lang/String; + public final fun component4 ()Ljava/lang/String; + public final fun component5 ()Ljava/lang/String; + public final fun component6 ()Ljava/lang/String; + public final fun component7 ()Z + public final fun component8 ()Z + public final fun component9 ()Lio/portone/sdk/server/schemas/Customer; + public final fun copy (Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;ZZLio/portone/sdk/server/schemas/Customer;Ljava/lang/String;JLjava/lang/Long;Ljava/lang/Long;Lio/portone/sdk/server/schemas/Currency;Ljava/lang/Integer;Ljava/util/List;Ljava/util/List;Ljava/time/Instant;Ljava/time/Instant;Ljava/time/Instant;Ljava/time/Instant;)Lio/portone/sdk/server/schemas/PendingPaymentSchedule; + public static synthetic fun copy$default (Lio/portone/sdk/server/schemas/PendingPaymentSchedule;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;ZZLio/portone/sdk/server/schemas/Customer;Ljava/lang/String;JLjava/lang/Long;Ljava/lang/Long;Lio/portone/sdk/server/schemas/Currency;Ljava/lang/Integer;Ljava/util/List;Ljava/util/List;Ljava/time/Instant;Ljava/time/Instant;Ljava/time/Instant;Ljava/time/Instant;ILjava/lang/Object;)Lio/portone/sdk/server/schemas/PendingPaymentSchedule; + public fun equals (Ljava/lang/Object;)Z + public fun getBillingKey ()Ljava/lang/String; + public final fun getCompletedAt ()Ljava/time/Instant; + public fun getCreatedAt ()Ljava/time/Instant; + public fun getCurrency ()Lio/portone/sdk/server/schemas/Currency; + public fun getCustomData ()Ljava/lang/String; + public fun getCustomer ()Lio/portone/sdk/server/schemas/Customer; + public fun getId ()Ljava/lang/String; + public fun getInstallmentMonth ()Ljava/lang/Integer; + public fun getMerchantId ()Ljava/lang/String; + public fun getNoticeUrls ()Ljava/util/List; + public fun getOrderName ()Ljava/lang/String; + public fun getPaymentId ()Ljava/lang/String; + public fun getProducts ()Ljava/util/List; + public final fun getStartedAt ()Ljava/time/Instant; + public fun getStoreId ()Ljava/lang/String; + public fun getTaxFreeAmount ()Ljava/lang/Long; + public fun getTimeToPay ()Ljava/time/Instant; + public fun getTotalAmount ()J + public fun getVatAmount ()Ljava/lang/Long; + public fun hashCode ()I + public fun isCulturalExpense ()Z + public fun isEscrow ()Z + public fun toString ()Ljava/lang/String; +} + +public synthetic class io/portone/sdk/server/schemas/PendingPaymentSchedule$$serializer : kotlinx/serialization/internal/GeneratedSerializer { + public static final field INSTANCE Lio/portone/sdk/server/schemas/PendingPaymentSchedule$$serializer; + public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; + public final fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Lio/portone/sdk/server/schemas/PendingPaymentSchedule; + public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; + public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; + public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lio/portone/sdk/server/schemas/PendingPaymentSchedule;)V + public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; +} + +public final class io/portone/sdk/server/schemas/PendingPaymentSchedule$Companion { + public final fun serializer ()Lkotlinx/serialization/KSerializer; +} + +public abstract interface class io/portone/sdk/server/schemas/PgBillingKeyIssueResponse { + public static final field Companion Lio/portone/sdk/server/schemas/PgBillingKeyIssueResponse$Companion; + public abstract fun getChannel ()Lio/portone/sdk/server/schemas/SelectedChannel; +} + +public final class io/portone/sdk/server/schemas/PgBillingKeyIssueResponse$Companion { + public final fun serializer ()Lkotlinx/serialization/KSerializer; +} + +public final class io/portone/sdk/server/schemas/PgCompany : java/lang/Enum { + public static final field ALIPAY Lio/portone/sdk/server/schemas/PgCompany; + public static final field BLUEWALNUT Lio/portone/sdk/server/schemas/PgCompany; + public static final field CHAI Lio/portone/sdk/server/schemas/PgCompany; + public static final field Companion Lio/portone/sdk/server/schemas/PgCompany$Companion; + public static final field DANAL Lio/portone/sdk/server/schemas/PgCompany; + public static final field DAOU Lio/portone/sdk/server/schemas/PgCompany; + public static final field EXIMBAY Lio/portone/sdk/server/schemas/PgCompany; + public static final field GALAXIA Lio/portone/sdk/server/schemas/PgCompany; + public static final field HYPHEN Lio/portone/sdk/server/schemas/PgCompany; + public static final field INICIS Lio/portone/sdk/server/schemas/PgCompany; + public static final field JTNET Lio/portone/sdk/server/schemas/PgCompany; + public static final field KAKAO Lio/portone/sdk/server/schemas/PgCompany; + public static final field KAKAOPAY Lio/portone/sdk/server/schemas/PgCompany; + public static final field KCP Lio/portone/sdk/server/schemas/PgCompany; + public static final field KICC Lio/portone/sdk/server/schemas/PgCompany; + public static final field KPN Lio/portone/sdk/server/schemas/PgCompany; + public static final field KSNET Lio/portone/sdk/server/schemas/PgCompany; + public static final field MOBILIANS Lio/portone/sdk/server/schemas/PgCompany; + public static final field NAVERPAY Lio/portone/sdk/server/schemas/PgCompany; + public static final field NICE Lio/portone/sdk/server/schemas/PgCompany; + public static final field PAYCO Lio/portone/sdk/server/schemas/PgCompany; + public static final field PAYMENTWALL Lio/portone/sdk/server/schemas/PgCompany; + public static final field PAYPAL Lio/portone/sdk/server/schemas/PgCompany; + public static final field PAYPLE Lio/portone/sdk/server/schemas/PgCompany; + public static final field SETTLE Lio/portone/sdk/server/schemas/PgCompany; + public static final field SMARTRO Lio/portone/sdk/server/schemas/PgCompany; + public static final field SMILEPAY Lio/portone/sdk/server/schemas/PgCompany; + public static final field SYRUP Lio/portone/sdk/server/schemas/PgCompany; + public static final field TOSSPAY Lio/portone/sdk/server/schemas/PgCompany; + public static final field TOSSPAYMENTS Lio/portone/sdk/server/schemas/PgCompany; + public static final field WELCOME Lio/portone/sdk/server/schemas/PgCompany; + public static fun getEntries ()Lkotlin/enums/EnumEntries; + public static fun valueOf (Ljava/lang/String;)Lio/portone/sdk/server/schemas/PgCompany; + public static fun values ()[Lio/portone/sdk/server/schemas/PgCompany; +} + +public final class io/portone/sdk/server/schemas/PgCompany$Companion { + public final fun serializer ()Lkotlinx/serialization/KSerializer; +} + +public final class io/portone/sdk/server/schemas/PgProvider : java/lang/Enum { + public static final field ALIPAY Lio/portone/sdk/server/schemas/PgProvider; + public static final field BLUEWALNUT Lio/portone/sdk/server/schemas/PgProvider; + public static final field CHAI Lio/portone/sdk/server/schemas/PgProvider; + public static final field Companion Lio/portone/sdk/server/schemas/PgProvider$Companion; + public static final field DANAL Lio/portone/sdk/server/schemas/PgProvider; + public static final field DANAL_TPAY Lio/portone/sdk/server/schemas/PgProvider; + public static final field DAOU Lio/portone/sdk/server/schemas/PgProvider; + public static final field EXIMBAY Lio/portone/sdk/server/schemas/PgProvider; + public static final field GALAXIA Lio/portone/sdk/server/schemas/PgProvider; + public static final field HTML5_INICIS Lio/portone/sdk/server/schemas/PgProvider; + public static final field HYPHEN Lio/portone/sdk/server/schemas/PgProvider; + public static final field INICIS Lio/portone/sdk/server/schemas/PgProvider; + public static final field INICIS_UNIFIED Lio/portone/sdk/server/schemas/PgProvider; + public static final field INICIS_V2 Lio/portone/sdk/server/schemas/PgProvider; + public static final field JTNET Lio/portone/sdk/server/schemas/PgProvider; + public static final field KAKAO Lio/portone/sdk/server/schemas/PgProvider; + public static final field KAKAOPAY Lio/portone/sdk/server/schemas/PgProvider; + public static final field KCP Lio/portone/sdk/server/schemas/PgProvider; + public static final field KCP_BILLING Lio/portone/sdk/server/schemas/PgProvider; + public static final field KCP_DIRECT Lio/portone/sdk/server/schemas/PgProvider; + public static final field KCP_QUICK Lio/portone/sdk/server/schemas/PgProvider; + public static final field KCP_V2 Lio/portone/sdk/server/schemas/PgProvider; + public static final field KICC Lio/portone/sdk/server/schemas/PgProvider; + public static final field KPN Lio/portone/sdk/server/schemas/PgProvider; + public static final field KSNET Lio/portone/sdk/server/schemas/PgProvider; + public static final field MOBILIANS Lio/portone/sdk/server/schemas/PgProvider; + public static final field NAVERCO Lio/portone/sdk/server/schemas/PgProvider; + public static final field NAVERPAY Lio/portone/sdk/server/schemas/PgProvider; + public static final field NICE Lio/portone/sdk/server/schemas/PgProvider; + public static final field NICE_V2 Lio/portone/sdk/server/schemas/PgProvider; + public static final field PAYCO Lio/portone/sdk/server/schemas/PgProvider; + public static final field PAYMENTWALL Lio/portone/sdk/server/schemas/PgProvider; + public static final field PAYPAL Lio/portone/sdk/server/schemas/PgProvider; + public static final field PAYPAL_V2 Lio/portone/sdk/server/schemas/PgProvider; + public static final field PAYPLE Lio/portone/sdk/server/schemas/PgProvider; + public static final field PINPAY Lio/portone/sdk/server/schemas/PgProvider; + public static final field SETTLE Lio/portone/sdk/server/schemas/PgProvider; + public static final field SETTLE_ACC Lio/portone/sdk/server/schemas/PgProvider; + public static final field SETTLE_FIRM Lio/portone/sdk/server/schemas/PgProvider; + public static final field SMARTRO Lio/portone/sdk/server/schemas/PgProvider; + public static final field SMARTRO_V2 Lio/portone/sdk/server/schemas/PgProvider; + public static final field SMILEPAY Lio/portone/sdk/server/schemas/PgProvider; + public static final field SYRUP Lio/portone/sdk/server/schemas/PgProvider; + public static final field TOSSPAY Lio/portone/sdk/server/schemas/PgProvider; + public static final field TOSSPAYMENTS Lio/portone/sdk/server/schemas/PgProvider; + public static final field TOSSPAY_V2 Lio/portone/sdk/server/schemas/PgProvider; + public static final field TOSS_BRANDPAY Lio/portone/sdk/server/schemas/PgProvider; + public static final field UPLUS Lio/portone/sdk/server/schemas/PgProvider; + public static final field WELCOME Lio/portone/sdk/server/schemas/PgProvider; + public static fun getEntries ()Lkotlin/enums/EnumEntries; + public static fun valueOf (Ljava/lang/String;)Lio/portone/sdk/server/schemas/PgProvider; + public static fun values ()[Lio/portone/sdk/server/schemas/PgProvider; +} + +public final class io/portone/sdk/server/schemas/PgProvider$Companion { + public final fun serializer ()Lkotlinx/serialization/KSerializer; +} + +public final class io/portone/sdk/server/schemas/PgProviderException : java/lang/Exception { + public fun (Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V + public synthetic fun (Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;ILkotlin/jvm/internal/DefaultConstructorMarker;)V + public final fun getPgCode ()Ljava/lang/String; + public final fun getPgMessage ()Ljava/lang/String; +} + +public final class io/portone/sdk/server/schemas/PortOneVersion : java/lang/Enum { + public static final field Companion Lio/portone/sdk/server/schemas/PortOneVersion$Companion; + public static final field V1 Lio/portone/sdk/server/schemas/PortOneVersion; + public static final field V2 Lio/portone/sdk/server/schemas/PortOneVersion; + public static fun getEntries ()Lkotlin/enums/EnumEntries; + public static fun valueOf (Ljava/lang/String;)Lio/portone/sdk/server/schemas/PortOneVersion; + public static fun values ()[Lio/portone/sdk/server/schemas/PortOneVersion; +} + +public final class io/portone/sdk/server/schemas/PortOneVersion$Companion { + public final fun serializer ()Lkotlinx/serialization/KSerializer; +} + +public final class io/portone/sdk/server/schemas/PromotionPayMethodDoesNotMatchException : java/lang/Exception { + public fun ()V + public fun (Ljava/lang/String;)V + public synthetic fun (Ljava/lang/String;ILkotlin/jvm/internal/DefaultConstructorMarker;)V +} + +public final class io/portone/sdk/server/schemas/ReadyIdentityVerification : io/portone/sdk/server/schemas/IdentityVerification { + public static final field Companion Lio/portone/sdk/server/schemas/ReadyIdentityVerification$Companion; + public fun (Ljava/lang/String;Lio/portone/sdk/server/schemas/SelectedChannel;Lio/portone/sdk/server/schemas/IdentityVerificationRequestedCustomer;Ljava/lang/String;Ljava/time/Instant;Ljava/time/Instant;Ljava/time/Instant;)V + public synthetic fun (Ljava/lang/String;Lio/portone/sdk/server/schemas/SelectedChannel;Lio/portone/sdk/server/schemas/IdentityVerificationRequestedCustomer;Ljava/lang/String;Ljava/time/Instant;Ljava/time/Instant;Ljava/time/Instant;ILkotlin/jvm/internal/DefaultConstructorMarker;)V + public final fun component1 ()Ljava/lang/String; + public final fun component2 ()Lio/portone/sdk/server/schemas/SelectedChannel; + public final fun component3 ()Lio/portone/sdk/server/schemas/IdentityVerificationRequestedCustomer; + public final fun component4 ()Ljava/lang/String; + public final fun component5 ()Ljava/time/Instant; + public final fun component6 ()Ljava/time/Instant; + public final fun component7 ()Ljava/time/Instant; + public final fun copy (Ljava/lang/String;Lio/portone/sdk/server/schemas/SelectedChannel;Lio/portone/sdk/server/schemas/IdentityVerificationRequestedCustomer;Ljava/lang/String;Ljava/time/Instant;Ljava/time/Instant;Ljava/time/Instant;)Lio/portone/sdk/server/schemas/ReadyIdentityVerification; + public static synthetic fun copy$default (Lio/portone/sdk/server/schemas/ReadyIdentityVerification;Ljava/lang/String;Lio/portone/sdk/server/schemas/SelectedChannel;Lio/portone/sdk/server/schemas/IdentityVerificationRequestedCustomer;Ljava/lang/String;Ljava/time/Instant;Ljava/time/Instant;Ljava/time/Instant;ILjava/lang/Object;)Lio/portone/sdk/server/schemas/ReadyIdentityVerification; + public fun equals (Ljava/lang/Object;)Z + public fun getChannel ()Lio/portone/sdk/server/schemas/SelectedChannel; + public fun getCustomData ()Ljava/lang/String; + public fun getId ()Ljava/lang/String; + public fun getRequestedAt ()Ljava/time/Instant; + public final fun getRequestedCustomer ()Lio/portone/sdk/server/schemas/IdentityVerificationRequestedCustomer; + public fun getStatusChangedAt ()Ljava/time/Instant; + public fun getUpdatedAt ()Ljava/time/Instant; + public fun hashCode ()I + public fun toString ()Ljava/lang/String; +} + +public synthetic class io/portone/sdk/server/schemas/ReadyIdentityVerification$$serializer : kotlinx/serialization/internal/GeneratedSerializer { + public static final field INSTANCE Lio/portone/sdk/server/schemas/ReadyIdentityVerification$$serializer; + public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; + public final fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Lio/portone/sdk/server/schemas/ReadyIdentityVerification; + public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; + public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; + public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lio/portone/sdk/server/schemas/ReadyIdentityVerification;)V + public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; +} + +public final class io/portone/sdk/server/schemas/ReadyIdentityVerification$Companion { + public final fun serializer ()Lkotlinx/serialization/KSerializer; +} + +public final class io/portone/sdk/server/schemas/ReadyPayment : io/portone/sdk/server/schemas/Payment { + public static final field Companion Lio/portone/sdk/server/schemas/ReadyPayment$Companion; + public fun (Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Lio/portone/sdk/server/schemas/PaymentMethod;Lio/portone/sdk/server/schemas/SelectedChannel;Lio/portone/sdk/server/schemas/ChannelGroupSummary;Lio/portone/sdk/server/schemas/PortOneVersion;Ljava/lang/String;Ljava/lang/String;Ljava/util/List;Ljava/time/Instant;Ljava/time/Instant;Ljava/time/Instant;Ljava/lang/String;Lio/portone/sdk/server/schemas/PaymentAmount;Lio/portone/sdk/server/schemas/Currency;Lio/portone/sdk/server/schemas/Customer;Ljava/lang/String;Ljava/lang/Boolean;Lio/portone/sdk/server/schemas/PaymentEscrow;Ljava/util/List;Ljava/lang/Integer;Ljava/lang/String;Lio/portone/sdk/server/schemas/Country;)V + public synthetic fun (Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Lio/portone/sdk/server/schemas/PaymentMethod;Lio/portone/sdk/server/schemas/SelectedChannel;Lio/portone/sdk/server/schemas/ChannelGroupSummary;Lio/portone/sdk/server/schemas/PortOneVersion;Ljava/lang/String;Ljava/lang/String;Ljava/util/List;Ljava/time/Instant;Ljava/time/Instant;Ljava/time/Instant;Ljava/lang/String;Lio/portone/sdk/server/schemas/PaymentAmount;Lio/portone/sdk/server/schemas/Currency;Lio/portone/sdk/server/schemas/Customer;Ljava/lang/String;Ljava/lang/Boolean;Lio/portone/sdk/server/schemas/PaymentEscrow;Ljava/util/List;Ljava/lang/Integer;Ljava/lang/String;Lio/portone/sdk/server/schemas/Country;ILkotlin/jvm/internal/DefaultConstructorMarker;)V + public final fun component1 ()Ljava/lang/String; + public final fun component10 ()Ljava/lang/String; + public final fun component11 ()Ljava/util/List; + public final fun component12 ()Ljava/time/Instant; + public final fun component13 ()Ljava/time/Instant; + public final fun component14 ()Ljava/time/Instant; + public final fun component15 ()Ljava/lang/String; + public final fun component16 ()Lio/portone/sdk/server/schemas/PaymentAmount; + public final fun component17 ()Lio/portone/sdk/server/schemas/Currency; + public final fun component18 ()Lio/portone/sdk/server/schemas/Customer; + public final fun component19 ()Ljava/lang/String; + public final fun component2 ()Ljava/lang/String; + public final fun component20 ()Ljava/lang/Boolean; + public final fun component21 ()Lio/portone/sdk/server/schemas/PaymentEscrow; + public final fun component22 ()Ljava/util/List; + public final fun component23 ()Ljava/lang/Integer; + public final fun component24 ()Ljava/lang/String; + public final fun component25 ()Lio/portone/sdk/server/schemas/Country; + public final fun component3 ()Ljava/lang/String; + public final fun component4 ()Ljava/lang/String; + public final fun component5 ()Lio/portone/sdk/server/schemas/PaymentMethod; + public final fun component6 ()Lio/portone/sdk/server/schemas/SelectedChannel; + public final fun component7 ()Lio/portone/sdk/server/schemas/ChannelGroupSummary; + public final fun component8 ()Lio/portone/sdk/server/schemas/PortOneVersion; + public final fun component9 ()Ljava/lang/String; + public final fun copy (Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Lio/portone/sdk/server/schemas/PaymentMethod;Lio/portone/sdk/server/schemas/SelectedChannel;Lio/portone/sdk/server/schemas/ChannelGroupSummary;Lio/portone/sdk/server/schemas/PortOneVersion;Ljava/lang/String;Ljava/lang/String;Ljava/util/List;Ljava/time/Instant;Ljava/time/Instant;Ljava/time/Instant;Ljava/lang/String;Lio/portone/sdk/server/schemas/PaymentAmount;Lio/portone/sdk/server/schemas/Currency;Lio/portone/sdk/server/schemas/Customer;Ljava/lang/String;Ljava/lang/Boolean;Lio/portone/sdk/server/schemas/PaymentEscrow;Ljava/util/List;Ljava/lang/Integer;Ljava/lang/String;Lio/portone/sdk/server/schemas/Country;)Lio/portone/sdk/server/schemas/ReadyPayment; + public static synthetic fun copy$default (Lio/portone/sdk/server/schemas/ReadyPayment;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Lio/portone/sdk/server/schemas/PaymentMethod;Lio/portone/sdk/server/schemas/SelectedChannel;Lio/portone/sdk/server/schemas/ChannelGroupSummary;Lio/portone/sdk/server/schemas/PortOneVersion;Ljava/lang/String;Ljava/lang/String;Ljava/util/List;Ljava/time/Instant;Ljava/time/Instant;Ljava/time/Instant;Ljava/lang/String;Lio/portone/sdk/server/schemas/PaymentAmount;Lio/portone/sdk/server/schemas/Currency;Lio/portone/sdk/server/schemas/Customer;Ljava/lang/String;Ljava/lang/Boolean;Lio/portone/sdk/server/schemas/PaymentEscrow;Ljava/util/List;Ljava/lang/Integer;Ljava/lang/String;Lio/portone/sdk/server/schemas/Country;ILjava/lang/Object;)Lio/portone/sdk/server/schemas/ReadyPayment; + public fun equals (Ljava/lang/Object;)Z + public fun getAmount ()Lio/portone/sdk/server/schemas/PaymentAmount; + public fun getBillingKey ()Ljava/lang/String; + public fun getChannel ()Lio/portone/sdk/server/schemas/SelectedChannel; + public fun getChannelGroup ()Lio/portone/sdk/server/schemas/ChannelGroupSummary; + public fun getCountry ()Lio/portone/sdk/server/schemas/Country; + public fun getCurrency ()Lio/portone/sdk/server/schemas/Currency; + public fun getCustomData ()Ljava/lang/String; + public fun getCustomer ()Lio/portone/sdk/server/schemas/Customer; + public fun getEscrow ()Lio/portone/sdk/server/schemas/PaymentEscrow; + public fun getId ()Ljava/lang/String; + public fun getMerchantId ()Ljava/lang/String; + public fun getMethod ()Lio/portone/sdk/server/schemas/PaymentMethod; + public fun getOrderName ()Ljava/lang/String; + public fun getProductCount ()Ljava/lang/Integer; + public fun getProducts ()Ljava/util/List; + public fun getPromotionId ()Ljava/lang/String; + public fun getRequestedAt ()Ljava/time/Instant; + public fun getScheduleId ()Ljava/lang/String; + public fun getStatusChangedAt ()Ljava/time/Instant; + public fun getStoreId ()Ljava/lang/String; + public final fun getTransactionId ()Ljava/lang/String; + public fun getUpdatedAt ()Ljava/time/Instant; + public fun getVersion ()Lio/portone/sdk/server/schemas/PortOneVersion; + public fun getWebhooks ()Ljava/util/List; + public fun hashCode ()I + public fun isCulturalExpense ()Ljava/lang/Boolean; + public fun toString ()Ljava/lang/String; +} + +public synthetic class io/portone/sdk/server/schemas/ReadyPayment$$serializer : kotlinx/serialization/internal/GeneratedSerializer { + public static final field INSTANCE Lio/portone/sdk/server/schemas/ReadyPayment$$serializer; + public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; + public final fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Lio/portone/sdk/server/schemas/ReadyPayment; + public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; + public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; + public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lio/portone/sdk/server/schemas/ReadyPayment;)V + public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; +} + +public final class io/portone/sdk/server/schemas/ReadyPayment$Companion { + public final fun serializer ()Lkotlinx/serialization/KSerializer; +} + +public final class io/portone/sdk/server/schemas/RegisterStoreReceiptBodyItem { + public static final field Companion Lio/portone/sdk/server/schemas/RegisterStoreReceiptBodyItem$Companion; + public fun (Ljava/lang/String;Ljava/lang/String;JLjava/lang/Long;Ljava/lang/Long;Ljava/lang/Long;Lio/portone/sdk/server/schemas/Currency;)V + public synthetic fun (Ljava/lang/String;Ljava/lang/String;JLjava/lang/Long;Ljava/lang/Long;Ljava/lang/Long;Lio/portone/sdk/server/schemas/Currency;ILkotlin/jvm/internal/DefaultConstructorMarker;)V + public final fun component1 ()Ljava/lang/String; + public final fun component2 ()Ljava/lang/String; + public final fun component3 ()J + public final fun component4 ()Ljava/lang/Long; + public final fun component5 ()Ljava/lang/Long; + public final fun component6 ()Ljava/lang/Long; + public final fun component7 ()Lio/portone/sdk/server/schemas/Currency; + public final fun copy (Ljava/lang/String;Ljava/lang/String;JLjava/lang/Long;Ljava/lang/Long;Ljava/lang/Long;Lio/portone/sdk/server/schemas/Currency;)Lio/portone/sdk/server/schemas/RegisterStoreReceiptBodyItem; + public static synthetic fun copy$default (Lio/portone/sdk/server/schemas/RegisterStoreReceiptBodyItem;Ljava/lang/String;Ljava/lang/String;JLjava/lang/Long;Ljava/lang/Long;Ljava/lang/Long;Lio/portone/sdk/server/schemas/Currency;ILjava/lang/Object;)Lio/portone/sdk/server/schemas/RegisterStoreReceiptBodyItem; + public fun equals (Ljava/lang/Object;)Z + public final fun getCurrency ()Lio/portone/sdk/server/schemas/Currency; + public final fun getStoreBusinessRegistrationNumber ()Ljava/lang/String; + public final fun getStoreName ()Ljava/lang/String; + public final fun getSupplyAmount ()Ljava/lang/Long; + public final fun getTaxFreeAmount ()Ljava/lang/Long; + public final fun getTotalAmount ()J + public final fun getVatAmount ()Ljava/lang/Long; + public fun hashCode ()I + public fun toString ()Ljava/lang/String; +} + +public synthetic class io/portone/sdk/server/schemas/RegisterStoreReceiptBodyItem$$serializer : kotlinx/serialization/internal/GeneratedSerializer { + public static final field INSTANCE Lio/portone/sdk/server/schemas/RegisterStoreReceiptBodyItem$$serializer; + public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; + public final fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Lio/portone/sdk/server/schemas/RegisterStoreReceiptBodyItem; + public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; + public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; + public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lio/portone/sdk/server/schemas/RegisterStoreReceiptBodyItem;)V + public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; +} + +public final class io/portone/sdk/server/schemas/RegisterStoreReceiptBodyItem$Companion { + public final fun serializer ()Lkotlinx/serialization/KSerializer; +} + +public final class io/portone/sdk/server/schemas/RegisterStoreReceiptResponse { + public static final field Companion Lio/portone/sdk/server/schemas/RegisterStoreReceiptResponse$Companion; + public fun ()V + public fun (Ljava/lang/String;)V + public synthetic fun (Ljava/lang/String;ILkotlin/jvm/internal/DefaultConstructorMarker;)V + public final fun component1 ()Ljava/lang/String; + public final fun copy (Ljava/lang/String;)Lio/portone/sdk/server/schemas/RegisterStoreReceiptResponse; + public static synthetic fun copy$default (Lio/portone/sdk/server/schemas/RegisterStoreReceiptResponse;Ljava/lang/String;ILjava/lang/Object;)Lio/portone/sdk/server/schemas/RegisterStoreReceiptResponse; + public fun equals (Ljava/lang/Object;)Z + public final fun getReceiptUrl ()Ljava/lang/String; + public fun hashCode ()I + public fun toString ()Ljava/lang/String; +} + +public synthetic class io/portone/sdk/server/schemas/RegisterStoreReceiptResponse$$serializer : kotlinx/serialization/internal/GeneratedSerializer { + public static final field INSTANCE Lio/portone/sdk/server/schemas/RegisterStoreReceiptResponse$$serializer; + public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; + public final fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Lio/portone/sdk/server/schemas/RegisterStoreReceiptResponse; + public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; + public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; + public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lio/portone/sdk/server/schemas/RegisterStoreReceiptResponse;)V + public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; +} + +public final class io/portone/sdk/server/schemas/RegisterStoreReceiptResponse$Companion { + public final fun serializer ()Lkotlinx/serialization/KSerializer; +} + +public final class io/portone/sdk/server/schemas/RegisteredPaymentEscrow : io/portone/sdk/server/schemas/PaymentEscrow { + public static final field Companion Lio/portone/sdk/server/schemas/RegisteredPaymentEscrow$Companion; + public fun (Ljava/lang/String;Ljava/lang/String;Ljava/time/Instant;Ljava/time/Instant;)V + public synthetic fun (Ljava/lang/String;Ljava/lang/String;Ljava/time/Instant;Ljava/time/Instant;ILkotlin/jvm/internal/DefaultConstructorMarker;)V + public final fun component1 ()Ljava/lang/String; + public final fun component2 ()Ljava/lang/String; + public final fun component3 ()Ljava/time/Instant; + public final fun component4 ()Ljava/time/Instant; + public final fun copy (Ljava/lang/String;Ljava/lang/String;Ljava/time/Instant;Ljava/time/Instant;)Lio/portone/sdk/server/schemas/RegisteredPaymentEscrow; + public static synthetic fun copy$default (Lio/portone/sdk/server/schemas/RegisteredPaymentEscrow;Ljava/lang/String;Ljava/lang/String;Ljava/time/Instant;Ljava/time/Instant;ILjava/lang/Object;)Lio/portone/sdk/server/schemas/RegisteredPaymentEscrow; + public fun equals (Ljava/lang/Object;)Z + public final fun getAppliedAt ()Ljava/time/Instant; + public final fun getCompany ()Ljava/lang/String; + public final fun getInvoiceNumber ()Ljava/lang/String; + public final fun getSentAt ()Ljava/time/Instant; + public fun hashCode ()I + public fun toString ()Ljava/lang/String; +} + +public synthetic class io/portone/sdk/server/schemas/RegisteredPaymentEscrow$$serializer : kotlinx/serialization/internal/GeneratedSerializer { + public static final field INSTANCE Lio/portone/sdk/server/schemas/RegisteredPaymentEscrow$$serializer; + public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; + public final fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Lio/portone/sdk/server/schemas/RegisteredPaymentEscrow; + public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; + public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; + public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lio/portone/sdk/server/schemas/RegisteredPaymentEscrow;)V + public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; +} + +public final class io/portone/sdk/server/schemas/RegisteredPaymentEscrow$Companion { + public final fun serializer ()Lkotlinx/serialization/KSerializer; +} + +public final class io/portone/sdk/server/schemas/RejectConfirmedPaymentEscrow : io/portone/sdk/server/schemas/PaymentEscrow { + public static final field Companion Lio/portone/sdk/server/schemas/RejectConfirmedPaymentEscrow$Companion; + public fun (Ljava/lang/String;Ljava/lang/String;Ljava/time/Instant;Ljava/time/Instant;)V + public synthetic fun (Ljava/lang/String;Ljava/lang/String;Ljava/time/Instant;Ljava/time/Instant;ILkotlin/jvm/internal/DefaultConstructorMarker;)V + public final fun component1 ()Ljava/lang/String; + public final fun component2 ()Ljava/lang/String; + public final fun component3 ()Ljava/time/Instant; + public final fun component4 ()Ljava/time/Instant; + public final fun copy (Ljava/lang/String;Ljava/lang/String;Ljava/time/Instant;Ljava/time/Instant;)Lio/portone/sdk/server/schemas/RejectConfirmedPaymentEscrow; + public static synthetic fun copy$default (Lio/portone/sdk/server/schemas/RejectConfirmedPaymentEscrow;Ljava/lang/String;Ljava/lang/String;Ljava/time/Instant;Ljava/time/Instant;ILjava/lang/Object;)Lio/portone/sdk/server/schemas/RejectConfirmedPaymentEscrow; + public fun equals (Ljava/lang/Object;)Z + public final fun getAppliedAt ()Ljava/time/Instant; + public final fun getCompany ()Ljava/lang/String; + public final fun getInvoiceNumber ()Ljava/lang/String; + public final fun getSentAt ()Ljava/time/Instant; + public fun hashCode ()I + public fun toString ()Ljava/lang/String; +} + +public synthetic class io/portone/sdk/server/schemas/RejectConfirmedPaymentEscrow$$serializer : kotlinx/serialization/internal/GeneratedSerializer { + public static final field INSTANCE Lio/portone/sdk/server/schemas/RejectConfirmedPaymentEscrow$$serializer; + public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; + public final fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Lio/portone/sdk/server/schemas/RejectConfirmedPaymentEscrow; + public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; + public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; + public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lio/portone/sdk/server/schemas/RejectConfirmedPaymentEscrow;)V + public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; +} + +public final class io/portone/sdk/server/schemas/RejectConfirmedPaymentEscrow$Companion { + public final fun serializer ()Lkotlinx/serialization/KSerializer; +} + +public final class io/portone/sdk/server/schemas/RejectedPaymentEscrow : io/portone/sdk/server/schemas/PaymentEscrow { + public static final field Companion Lio/portone/sdk/server/schemas/RejectedPaymentEscrow$Companion; + public fun (Ljava/lang/String;Ljava/lang/String;Ljava/time/Instant;Ljava/time/Instant;)V + public synthetic fun (Ljava/lang/String;Ljava/lang/String;Ljava/time/Instant;Ljava/time/Instant;ILkotlin/jvm/internal/DefaultConstructorMarker;)V + public final fun component1 ()Ljava/lang/String; + public final fun component2 ()Ljava/lang/String; + public final fun component3 ()Ljava/time/Instant; + public final fun component4 ()Ljava/time/Instant; + public final fun copy (Ljava/lang/String;Ljava/lang/String;Ljava/time/Instant;Ljava/time/Instant;)Lio/portone/sdk/server/schemas/RejectedPaymentEscrow; + public static synthetic fun copy$default (Lio/portone/sdk/server/schemas/RejectedPaymentEscrow;Ljava/lang/String;Ljava/lang/String;Ljava/time/Instant;Ljava/time/Instant;ILjava/lang/Object;)Lio/portone/sdk/server/schemas/RejectedPaymentEscrow; + public fun equals (Ljava/lang/Object;)Z + public final fun getAppliedAt ()Ljava/time/Instant; + public final fun getCompany ()Ljava/lang/String; + public final fun getInvoiceNumber ()Ljava/lang/String; + public final fun getSentAt ()Ljava/time/Instant; + public fun hashCode ()I + public fun toString ()Ljava/lang/String; +} + +public synthetic class io/portone/sdk/server/schemas/RejectedPaymentEscrow$$serializer : kotlinx/serialization/internal/GeneratedSerializer { + public static final field INSTANCE Lio/portone/sdk/server/schemas/RejectedPaymentEscrow$$serializer; + public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; + public final fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Lio/portone/sdk/server/schemas/RejectedPaymentEscrow; + public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; + public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; + public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lio/portone/sdk/server/schemas/RejectedPaymentEscrow;)V + public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; +} + +public final class io/portone/sdk/server/schemas/RejectedPaymentEscrow$Companion { + public final fun serializer ()Lkotlinx/serialization/KSerializer; +} + +public final class io/portone/sdk/server/schemas/RemainedAmountLessThanPromotionMinPaymentAmountException : java/lang/Exception { + public fun ()V + public fun (Ljava/lang/String;)V + public synthetic fun (Ljava/lang/String;ILkotlin/jvm/internal/DefaultConstructorMarker;)V +} + +public final class io/portone/sdk/server/schemas/RequestedPaymentCancellation : io/portone/sdk/server/schemas/PaymentCancellation { + public static final field Companion Lio/portone/sdk/server/schemas/RequestedPaymentCancellation$Companion; + public fun (Ljava/lang/String;Ljava/lang/String;JJJLjava/lang/Long;Ljava/lang/String;Ljava/time/Instant;Ljava/time/Instant;)V + public synthetic fun (Ljava/lang/String;Ljava/lang/String;JJJLjava/lang/Long;Ljava/lang/String;Ljava/time/Instant;Ljava/time/Instant;ILkotlin/jvm/internal/DefaultConstructorMarker;)V + public final fun component1 ()Ljava/lang/String; + public final fun component2 ()Ljava/lang/String; + public final fun component3 ()J + public final fun component4 ()J + public final fun component5 ()J + public final fun component6 ()Ljava/lang/Long; + public final fun component7 ()Ljava/lang/String; + public final fun component8 ()Ljava/time/Instant; + public final fun component9 ()Ljava/time/Instant; + public final fun copy (Ljava/lang/String;Ljava/lang/String;JJJLjava/lang/Long;Ljava/lang/String;Ljava/time/Instant;Ljava/time/Instant;)Lio/portone/sdk/server/schemas/RequestedPaymentCancellation; + public static synthetic fun copy$default (Lio/portone/sdk/server/schemas/RequestedPaymentCancellation;Ljava/lang/String;Ljava/lang/String;JJJLjava/lang/Long;Ljava/lang/String;Ljava/time/Instant;Ljava/time/Instant;ILjava/lang/Object;)Lio/portone/sdk/server/schemas/RequestedPaymentCancellation; + public fun equals (Ljava/lang/Object;)Z + public fun getCancelledAt ()Ljava/time/Instant; + public fun getEasyPayDiscountAmount ()Ljava/lang/Long; + public fun getId ()Ljava/lang/String; + public fun getPgCancellationId ()Ljava/lang/String; + public fun getReason ()Ljava/lang/String; + public fun getRequestedAt ()Ljava/time/Instant; + public fun getTaxFreeAmount ()J + public fun getTotalAmount ()J + public fun getVatAmount ()J + public fun hashCode ()I + public fun toString ()Ljava/lang/String; +} + +public synthetic class io/portone/sdk/server/schemas/RequestedPaymentCancellation$$serializer : kotlinx/serialization/internal/GeneratedSerializer { + public static final field INSTANCE Lio/portone/sdk/server/schemas/RequestedPaymentCancellation$$serializer; + public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; + public final fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Lio/portone/sdk/server/schemas/RequestedPaymentCancellation; + public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; + public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; + public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lio/portone/sdk/server/schemas/RequestedPaymentCancellation;)V + public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; +} + +public final class io/portone/sdk/server/schemas/RequestedPaymentCancellation$Companion { + public final fun serializer ()Lkotlinx/serialization/KSerializer; +} + +public final class io/portone/sdk/server/schemas/ResendWebhookResponse { + public static final field Companion Lio/portone/sdk/server/schemas/ResendWebhookResponse$Companion; + public fun (Lio/portone/sdk/server/schemas/PaymentWebhook;)V + public final fun component1 ()Lio/portone/sdk/server/schemas/PaymentWebhook; + public final fun copy (Lio/portone/sdk/server/schemas/PaymentWebhook;)Lio/portone/sdk/server/schemas/ResendWebhookResponse; + public static synthetic fun copy$default (Lio/portone/sdk/server/schemas/ResendWebhookResponse;Lio/portone/sdk/server/schemas/PaymentWebhook;ILjava/lang/Object;)Lio/portone/sdk/server/schemas/ResendWebhookResponse; + public fun equals (Ljava/lang/Object;)Z + public final fun getWebhook ()Lio/portone/sdk/server/schemas/PaymentWebhook; + public fun hashCode ()I + public fun toString ()Ljava/lang/String; +} + +public synthetic class io/portone/sdk/server/schemas/ResendWebhookResponse$$serializer : kotlinx/serialization/internal/GeneratedSerializer { + public static final field INSTANCE Lio/portone/sdk/server/schemas/ResendWebhookResponse$$serializer; + public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; + public final fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Lio/portone/sdk/server/schemas/ResendWebhookResponse; + public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; + public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; + public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lio/portone/sdk/server/schemas/ResendWebhookResponse;)V + public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; +} + +public final class io/portone/sdk/server/schemas/ResendWebhookResponse$Companion { + public final fun serializer ()Lkotlinx/serialization/KSerializer; +} + +public final class io/portone/sdk/server/schemas/RevokePaymentSchedulesResponse { + public static final field Companion Lio/portone/sdk/server/schemas/RevokePaymentSchedulesResponse$Companion; + public fun (Ljava/util/List;Ljava/time/Instant;)V + public synthetic fun (Ljava/util/List;Ljava/time/Instant;ILkotlin/jvm/internal/DefaultConstructorMarker;)V + public final fun component1 ()Ljava/util/List; + public final fun component2 ()Ljava/time/Instant; + public final fun copy (Ljava/util/List;Ljava/time/Instant;)Lio/portone/sdk/server/schemas/RevokePaymentSchedulesResponse; + public static synthetic fun copy$default (Lio/portone/sdk/server/schemas/RevokePaymentSchedulesResponse;Ljava/util/List;Ljava/time/Instant;ILjava/lang/Object;)Lio/portone/sdk/server/schemas/RevokePaymentSchedulesResponse; + public fun equals (Ljava/lang/Object;)Z + public final fun getRevokedAt ()Ljava/time/Instant; + public final fun getRevokedScheduleIds ()Ljava/util/List; + public fun hashCode ()I + public fun toString ()Ljava/lang/String; +} + +public synthetic class io/portone/sdk/server/schemas/RevokePaymentSchedulesResponse$$serializer : kotlinx/serialization/internal/GeneratedSerializer { + public static final field INSTANCE Lio/portone/sdk/server/schemas/RevokePaymentSchedulesResponse$$serializer; + public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; + public final fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Lio/portone/sdk/server/schemas/RevokePaymentSchedulesResponse; + public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; + public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; + public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lio/portone/sdk/server/schemas/RevokePaymentSchedulesResponse;)V + public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; +} + +public final class io/portone/sdk/server/schemas/RevokePaymentSchedulesResponse$Companion { + public final fun serializer ()Lkotlinx/serialization/KSerializer; +} + +public final class io/portone/sdk/server/schemas/RevokedPaymentSchedule : io/portone/sdk/server/schemas/PaymentSchedule { + public static final field Companion Lio/portone/sdk/server/schemas/RevokedPaymentSchedule$Companion; + public fun (Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;ZZLio/portone/sdk/server/schemas/Customer;Ljava/lang/String;JLjava/lang/Long;Ljava/lang/Long;Lio/portone/sdk/server/schemas/Currency;Ljava/lang/Integer;Ljava/util/List;Ljava/util/List;Ljava/time/Instant;Ljava/time/Instant;Ljava/time/Instant;)V + public synthetic fun (Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;ZZLio/portone/sdk/server/schemas/Customer;Ljava/lang/String;JLjava/lang/Long;Ljava/lang/Long;Lio/portone/sdk/server/schemas/Currency;Ljava/lang/Integer;Ljava/util/List;Ljava/util/List;Ljava/time/Instant;Ljava/time/Instant;Ljava/time/Instant;ILkotlin/jvm/internal/DefaultConstructorMarker;)V + public final fun component1 ()Ljava/lang/String; + public final fun component10 ()Ljava/lang/String; + public final fun component11 ()J + public final fun component12 ()Ljava/lang/Long; + public final fun component13 ()Ljava/lang/Long; + public final fun component14 ()Lio/portone/sdk/server/schemas/Currency; + public final fun component15 ()Ljava/lang/Integer; + public final fun component16 ()Ljava/util/List; + public final fun component17 ()Ljava/util/List; + public final fun component18 ()Ljava/time/Instant; + public final fun component19 ()Ljava/time/Instant; + public final fun component2 ()Ljava/lang/String; + public final fun component20 ()Ljava/time/Instant; + public final fun component3 ()Ljava/lang/String; + public final fun component4 ()Ljava/lang/String; + public final fun component5 ()Ljava/lang/String; + public final fun component6 ()Ljava/lang/String; + public final fun component7 ()Z + public final fun component8 ()Z + public final fun component9 ()Lio/portone/sdk/server/schemas/Customer; + public final fun copy (Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;ZZLio/portone/sdk/server/schemas/Customer;Ljava/lang/String;JLjava/lang/Long;Ljava/lang/Long;Lio/portone/sdk/server/schemas/Currency;Ljava/lang/Integer;Ljava/util/List;Ljava/util/List;Ljava/time/Instant;Ljava/time/Instant;Ljava/time/Instant;)Lio/portone/sdk/server/schemas/RevokedPaymentSchedule; + public static synthetic fun copy$default (Lio/portone/sdk/server/schemas/RevokedPaymentSchedule;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;ZZLio/portone/sdk/server/schemas/Customer;Ljava/lang/String;JLjava/lang/Long;Ljava/lang/Long;Lio/portone/sdk/server/schemas/Currency;Ljava/lang/Integer;Ljava/util/List;Ljava/util/List;Ljava/time/Instant;Ljava/time/Instant;Ljava/time/Instant;ILjava/lang/Object;)Lio/portone/sdk/server/schemas/RevokedPaymentSchedule; + public fun equals (Ljava/lang/Object;)Z + public fun getBillingKey ()Ljava/lang/String; + public fun getCreatedAt ()Ljava/time/Instant; + public fun getCurrency ()Lio/portone/sdk/server/schemas/Currency; + public fun getCustomData ()Ljava/lang/String; + public fun getCustomer ()Lio/portone/sdk/server/schemas/Customer; + public fun getId ()Ljava/lang/String; + public fun getInstallmentMonth ()Ljava/lang/Integer; + public fun getMerchantId ()Ljava/lang/String; + public fun getNoticeUrls ()Ljava/util/List; + public fun getOrderName ()Ljava/lang/String; + public fun getPaymentId ()Ljava/lang/String; + public fun getProducts ()Ljava/util/List; + public final fun getRevokedAt ()Ljava/time/Instant; + public fun getStoreId ()Ljava/lang/String; + public fun getTaxFreeAmount ()Ljava/lang/Long; + public fun getTimeToPay ()Ljava/time/Instant; + public fun getTotalAmount ()J + public fun getVatAmount ()Ljava/lang/Long; + public fun hashCode ()I + public fun isCulturalExpense ()Z + public fun isEscrow ()Z + public fun toString ()Ljava/lang/String; +} + +public synthetic class io/portone/sdk/server/schemas/RevokedPaymentSchedule$$serializer : kotlinx/serialization/internal/GeneratedSerializer { + public static final field INSTANCE Lio/portone/sdk/server/schemas/RevokedPaymentSchedule$$serializer; + public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; + public final fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Lio/portone/sdk/server/schemas/RevokedPaymentSchedule; + public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; + public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; + public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lio/portone/sdk/server/schemas/RevokedPaymentSchedule;)V + public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; +} + +public final class io/portone/sdk/server/schemas/RevokedPaymentSchedule$Companion { + public final fun serializer ()Lkotlinx/serialization/KSerializer; +} + +public final class io/portone/sdk/server/schemas/ScheduledPaymentSchedule : io/portone/sdk/server/schemas/PaymentSchedule { + public static final field Companion Lio/portone/sdk/server/schemas/ScheduledPaymentSchedule$Companion; + public fun (Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;ZZLio/portone/sdk/server/schemas/Customer;Ljava/lang/String;JLjava/lang/Long;Ljava/lang/Long;Lio/portone/sdk/server/schemas/Currency;Ljava/lang/Integer;Ljava/util/List;Ljava/util/List;Ljava/time/Instant;Ljava/time/Instant;)V + public synthetic fun (Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;ZZLio/portone/sdk/server/schemas/Customer;Ljava/lang/String;JLjava/lang/Long;Ljava/lang/Long;Lio/portone/sdk/server/schemas/Currency;Ljava/lang/Integer;Ljava/util/List;Ljava/util/List;Ljava/time/Instant;Ljava/time/Instant;ILkotlin/jvm/internal/DefaultConstructorMarker;)V + public final fun component1 ()Ljava/lang/String; + public final fun component10 ()Ljava/lang/String; + public final fun component11 ()J + public final fun component12 ()Ljava/lang/Long; + public final fun component13 ()Ljava/lang/Long; + public final fun component14 ()Lio/portone/sdk/server/schemas/Currency; + public final fun component15 ()Ljava/lang/Integer; + public final fun component16 ()Ljava/util/List; + public final fun component17 ()Ljava/util/List; + public final fun component18 ()Ljava/time/Instant; + public final fun component19 ()Ljava/time/Instant; + public final fun component2 ()Ljava/lang/String; + public final fun component3 ()Ljava/lang/String; + public final fun component4 ()Ljava/lang/String; + public final fun component5 ()Ljava/lang/String; + public final fun component6 ()Ljava/lang/String; + public final fun component7 ()Z + public final fun component8 ()Z + public final fun component9 ()Lio/portone/sdk/server/schemas/Customer; + public final fun copy (Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;ZZLio/portone/sdk/server/schemas/Customer;Ljava/lang/String;JLjava/lang/Long;Ljava/lang/Long;Lio/portone/sdk/server/schemas/Currency;Ljava/lang/Integer;Ljava/util/List;Ljava/util/List;Ljava/time/Instant;Ljava/time/Instant;)Lio/portone/sdk/server/schemas/ScheduledPaymentSchedule; + public static synthetic fun copy$default (Lio/portone/sdk/server/schemas/ScheduledPaymentSchedule;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;ZZLio/portone/sdk/server/schemas/Customer;Ljava/lang/String;JLjava/lang/Long;Ljava/lang/Long;Lio/portone/sdk/server/schemas/Currency;Ljava/lang/Integer;Ljava/util/List;Ljava/util/List;Ljava/time/Instant;Ljava/time/Instant;ILjava/lang/Object;)Lio/portone/sdk/server/schemas/ScheduledPaymentSchedule; + public fun equals (Ljava/lang/Object;)Z + public fun getBillingKey ()Ljava/lang/String; + public fun getCreatedAt ()Ljava/time/Instant; + public fun getCurrency ()Lio/portone/sdk/server/schemas/Currency; + public fun getCustomData ()Ljava/lang/String; + public fun getCustomer ()Lio/portone/sdk/server/schemas/Customer; + public fun getId ()Ljava/lang/String; + public fun getInstallmentMonth ()Ljava/lang/Integer; + public fun getMerchantId ()Ljava/lang/String; + public fun getNoticeUrls ()Ljava/util/List; + public fun getOrderName ()Ljava/lang/String; + public fun getPaymentId ()Ljava/lang/String; + public fun getProducts ()Ljava/util/List; + public fun getStoreId ()Ljava/lang/String; + public fun getTaxFreeAmount ()Ljava/lang/Long; + public fun getTimeToPay ()Ljava/time/Instant; + public fun getTotalAmount ()J + public fun getVatAmount ()Ljava/lang/Long; + public fun hashCode ()I + public fun isCulturalExpense ()Z + public fun isEscrow ()Z + public fun toString ()Ljava/lang/String; +} + +public synthetic class io/portone/sdk/server/schemas/ScheduledPaymentSchedule$$serializer : kotlinx/serialization/internal/GeneratedSerializer { + public static final field INSTANCE Lio/portone/sdk/server/schemas/ScheduledPaymentSchedule$$serializer; + public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; + public final fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Lio/portone/sdk/server/schemas/ScheduledPaymentSchedule; + public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; + public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; + public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lio/portone/sdk/server/schemas/ScheduledPaymentSchedule;)V + public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; +} + +public final class io/portone/sdk/server/schemas/ScheduledPaymentSchedule$Companion { + public final fun serializer ()Lkotlinx/serialization/KSerializer; +} + +public final class io/portone/sdk/server/schemas/SelectedChannel { + public static final field Companion Lio/portone/sdk/server/schemas/SelectedChannel$Companion; + public fun (Lio/portone/sdk/server/schemas/SelectedChannelType;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Lio/portone/sdk/server/schemas/PgProvider;Ljava/lang/String;)V + public synthetic fun (Lio/portone/sdk/server/schemas/SelectedChannelType;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Lio/portone/sdk/server/schemas/PgProvider;Ljava/lang/String;ILkotlin/jvm/internal/DefaultConstructorMarker;)V + public final fun component1 ()Lio/portone/sdk/server/schemas/SelectedChannelType; + public final fun component2 ()Ljava/lang/String; + public final fun component3 ()Ljava/lang/String; + public final fun component4 ()Ljava/lang/String; + public final fun component5 ()Lio/portone/sdk/server/schemas/PgProvider; + public final fun component6 ()Ljava/lang/String; + public final fun copy (Lio/portone/sdk/server/schemas/SelectedChannelType;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Lio/portone/sdk/server/schemas/PgProvider;Ljava/lang/String;)Lio/portone/sdk/server/schemas/SelectedChannel; + public static synthetic fun copy$default (Lio/portone/sdk/server/schemas/SelectedChannel;Lio/portone/sdk/server/schemas/SelectedChannelType;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Lio/portone/sdk/server/schemas/PgProvider;Ljava/lang/String;ILjava/lang/Object;)Lio/portone/sdk/server/schemas/SelectedChannel; + public fun equals (Ljava/lang/Object;)Z + public final fun getId ()Ljava/lang/String; + public final fun getKey ()Ljava/lang/String; + public final fun getName ()Ljava/lang/String; + public final fun getPgMerchantId ()Ljava/lang/String; + public final fun getPgProvider ()Lio/portone/sdk/server/schemas/PgProvider; + public final fun getType ()Lio/portone/sdk/server/schemas/SelectedChannelType; + public fun hashCode ()I + public fun toString ()Ljava/lang/String; +} + +public synthetic class io/portone/sdk/server/schemas/SelectedChannel$$serializer : kotlinx/serialization/internal/GeneratedSerializer { + public static final field INSTANCE Lio/portone/sdk/server/schemas/SelectedChannel$$serializer; + public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; + public final fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Lio/portone/sdk/server/schemas/SelectedChannel; + public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; + public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; + public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lio/portone/sdk/server/schemas/SelectedChannel;)V + public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; +} + +public final class io/portone/sdk/server/schemas/SelectedChannel$Companion { + public final fun serializer ()Lkotlinx/serialization/KSerializer; +} + +public final class io/portone/sdk/server/schemas/SelectedChannelType : java/lang/Enum { + public static final field Companion Lio/portone/sdk/server/schemas/SelectedChannelType$Companion; + public static final field LIVE Lio/portone/sdk/server/schemas/SelectedChannelType; + public static final field TEST Lio/portone/sdk/server/schemas/SelectedChannelType; + public static fun getEntries ()Lkotlin/enums/EnumEntries; + public static fun valueOf (Ljava/lang/String;)Lio/portone/sdk/server/schemas/SelectedChannelType; + public static fun values ()[Lio/portone/sdk/server/schemas/SelectedChannelType; +} + +public final class io/portone/sdk/server/schemas/SelectedChannelType$Companion { + public final fun serializer ()Lkotlinx/serialization/KSerializer; +} + +public final class io/portone/sdk/server/schemas/SendIdentityVerificationBodyCustomer { + public static final field Companion Lio/portone/sdk/server/schemas/SendIdentityVerificationBodyCustomer$Companion; + public fun (Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V + public synthetic fun (Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;ILkotlin/jvm/internal/DefaultConstructorMarker;)V + public final fun component1 ()Ljava/lang/String; + public final fun component2 ()Ljava/lang/String; + public final fun component3 ()Ljava/lang/String; + public final fun component4 ()Ljava/lang/String; + public final fun component5 ()Ljava/lang/String; + public final fun copy (Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Lio/portone/sdk/server/schemas/SendIdentityVerificationBodyCustomer; + public static synthetic fun copy$default (Lio/portone/sdk/server/schemas/SendIdentityVerificationBodyCustomer;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;ILjava/lang/Object;)Lio/portone/sdk/server/schemas/SendIdentityVerificationBodyCustomer; + public fun equals (Ljava/lang/Object;)Z + public final fun getId ()Ljava/lang/String; + public final fun getIdentityNumber ()Ljava/lang/String; + public final fun getIpAddress ()Ljava/lang/String; + public final fun getName ()Ljava/lang/String; + public final fun getPhoneNumber ()Ljava/lang/String; + public fun hashCode ()I + public fun toString ()Ljava/lang/String; +} + +public synthetic class io/portone/sdk/server/schemas/SendIdentityVerificationBodyCustomer$$serializer : kotlinx/serialization/internal/GeneratedSerializer { + public static final field INSTANCE Lio/portone/sdk/server/schemas/SendIdentityVerificationBodyCustomer$$serializer; + public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; + public final fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Lio/portone/sdk/server/schemas/SendIdentityVerificationBodyCustomer; + public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; + public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; + public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lio/portone/sdk/server/schemas/SendIdentityVerificationBodyCustomer;)V + public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; +} + +public final class io/portone/sdk/server/schemas/SendIdentityVerificationBodyCustomer$Companion { + public final fun serializer ()Lkotlinx/serialization/KSerializer; +} + +public final class io/portone/sdk/server/schemas/SeparatedAddress : io/portone/sdk/server/schemas/Address { + public static final field Companion Lio/portone/sdk/server/schemas/SeparatedAddress$Companion; + public fun (Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Lio/portone/sdk/server/schemas/Country;)V + public synthetic fun (Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Lio/portone/sdk/server/schemas/Country;ILkotlin/jvm/internal/DefaultConstructorMarker;)V + public final fun component1 ()Ljava/lang/String; + public final fun component2 ()Ljava/lang/String; + public final fun component3 ()Ljava/lang/String; + public final fun component4 ()Ljava/lang/String; + public final fun component5 ()Ljava/lang/String; + public final fun component6 ()Lio/portone/sdk/server/schemas/Country; + public final fun copy (Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Lio/portone/sdk/server/schemas/Country;)Lio/portone/sdk/server/schemas/SeparatedAddress; + public static synthetic fun copy$default (Lio/portone/sdk/server/schemas/SeparatedAddress;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Lio/portone/sdk/server/schemas/Country;ILjava/lang/Object;)Lio/portone/sdk/server/schemas/SeparatedAddress; + public fun equals (Ljava/lang/Object;)Z + public final fun getAddressLine1 ()Ljava/lang/String; + public final fun getAddressLine2 ()Ljava/lang/String; + public final fun getCity ()Ljava/lang/String; + public final fun getCountry ()Lio/portone/sdk/server/schemas/Country; + public fun getOneLine ()Ljava/lang/String; + public final fun getProvince ()Ljava/lang/String; + public fun hashCode ()I + public fun toString ()Ljava/lang/String; +} + +public synthetic class io/portone/sdk/server/schemas/SeparatedAddress$$serializer : kotlinx/serialization/internal/GeneratedSerializer { + public static final field INSTANCE Lio/portone/sdk/server/schemas/SeparatedAddress$$serializer; + public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; + public final fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Lio/portone/sdk/server/schemas/SeparatedAddress; + public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; + public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; + public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lio/portone/sdk/server/schemas/SeparatedAddress;)V + public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; +} + +public final class io/portone/sdk/server/schemas/SeparatedAddress$Companion { + public final fun serializer ()Lkotlinx/serialization/KSerializer; +} + +public final class io/portone/sdk/server/schemas/SeparatedAddressInput { + public static final field Companion Lio/portone/sdk/server/schemas/SeparatedAddressInput$Companion; + public fun (Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Lio/portone/sdk/server/schemas/Country;)V + public synthetic fun (Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Lio/portone/sdk/server/schemas/Country;ILkotlin/jvm/internal/DefaultConstructorMarker;)V + public final fun component1 ()Ljava/lang/String; + public final fun component2 ()Ljava/lang/String; + public final fun component3 ()Ljava/lang/String; + public final fun component4 ()Ljava/lang/String; + public final fun component5 ()Lio/portone/sdk/server/schemas/Country; + public final fun copy (Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Lio/portone/sdk/server/schemas/Country;)Lio/portone/sdk/server/schemas/SeparatedAddressInput; + public static synthetic fun copy$default (Lio/portone/sdk/server/schemas/SeparatedAddressInput;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Lio/portone/sdk/server/schemas/Country;ILjava/lang/Object;)Lio/portone/sdk/server/schemas/SeparatedAddressInput; + public fun equals (Ljava/lang/Object;)Z + public final fun getAddressLine1 ()Ljava/lang/String; + public final fun getAddressLine2 ()Ljava/lang/String; + public final fun getCity ()Ljava/lang/String; + public final fun getCountry ()Lio/portone/sdk/server/schemas/Country; + public final fun getProvince ()Ljava/lang/String; + public fun hashCode ()I + public fun toString ()Ljava/lang/String; +} + +public synthetic class io/portone/sdk/server/schemas/SeparatedAddressInput$$serializer : kotlinx/serialization/internal/GeneratedSerializer { + public static final field INSTANCE Lio/portone/sdk/server/schemas/SeparatedAddressInput$$serializer; + public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; + public final fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Lio/portone/sdk/server/schemas/SeparatedAddressInput; + public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; + public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; + public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lio/portone/sdk/server/schemas/SeparatedAddressInput;)V + public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; +} + +public final class io/portone/sdk/server/schemas/SeparatedAddressInput$Companion { + public final fun serializer ()Lkotlinx/serialization/KSerializer; +} + +public final class io/portone/sdk/server/schemas/SortOrder : java/lang/Enum { + public static final field ASC Lio/portone/sdk/server/schemas/SortOrder; + public static final field Companion Lio/portone/sdk/server/schemas/SortOrder$Companion; + public static final field DESC Lio/portone/sdk/server/schemas/SortOrder; + public static fun getEntries ()Lkotlin/enums/EnumEntries; + public static fun valueOf (Ljava/lang/String;)Lio/portone/sdk/server/schemas/SortOrder; + public static fun values ()[Lio/portone/sdk/server/schemas/SortOrder; +} + +public final class io/portone/sdk/server/schemas/SortOrder$Companion { + public final fun serializer ()Lkotlinx/serialization/KSerializer; +} + +public final class io/portone/sdk/server/schemas/StartedPaymentSchedule : io/portone/sdk/server/schemas/PaymentSchedule { + public static final field Companion Lio/portone/sdk/server/schemas/StartedPaymentSchedule$Companion; + public fun (Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;ZZLio/portone/sdk/server/schemas/Customer;Ljava/lang/String;JLjava/lang/Long;Ljava/lang/Long;Lio/portone/sdk/server/schemas/Currency;Ljava/lang/Integer;Ljava/util/List;Ljava/util/List;Ljava/time/Instant;Ljava/time/Instant;Ljava/time/Instant;)V + public synthetic fun (Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;ZZLio/portone/sdk/server/schemas/Customer;Ljava/lang/String;JLjava/lang/Long;Ljava/lang/Long;Lio/portone/sdk/server/schemas/Currency;Ljava/lang/Integer;Ljava/util/List;Ljava/util/List;Ljava/time/Instant;Ljava/time/Instant;Ljava/time/Instant;ILkotlin/jvm/internal/DefaultConstructorMarker;)V + public final fun component1 ()Ljava/lang/String; + public final fun component10 ()Ljava/lang/String; + public final fun component11 ()J + public final fun component12 ()Ljava/lang/Long; + public final fun component13 ()Ljava/lang/Long; + public final fun component14 ()Lio/portone/sdk/server/schemas/Currency; + public final fun component15 ()Ljava/lang/Integer; + public final fun component16 ()Ljava/util/List; + public final fun component17 ()Ljava/util/List; + public final fun component18 ()Ljava/time/Instant; + public final fun component19 ()Ljava/time/Instant; + public final fun component2 ()Ljava/lang/String; + public final fun component20 ()Ljava/time/Instant; + public final fun component3 ()Ljava/lang/String; + public final fun component4 ()Ljava/lang/String; + public final fun component5 ()Ljava/lang/String; + public final fun component6 ()Ljava/lang/String; + public final fun component7 ()Z + public final fun component8 ()Z + public final fun component9 ()Lio/portone/sdk/server/schemas/Customer; + public final fun copy (Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;ZZLio/portone/sdk/server/schemas/Customer;Ljava/lang/String;JLjava/lang/Long;Ljava/lang/Long;Lio/portone/sdk/server/schemas/Currency;Ljava/lang/Integer;Ljava/util/List;Ljava/util/List;Ljava/time/Instant;Ljava/time/Instant;Ljava/time/Instant;)Lio/portone/sdk/server/schemas/StartedPaymentSchedule; + public static synthetic fun copy$default (Lio/portone/sdk/server/schemas/StartedPaymentSchedule;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;ZZLio/portone/sdk/server/schemas/Customer;Ljava/lang/String;JLjava/lang/Long;Ljava/lang/Long;Lio/portone/sdk/server/schemas/Currency;Ljava/lang/Integer;Ljava/util/List;Ljava/util/List;Ljava/time/Instant;Ljava/time/Instant;Ljava/time/Instant;ILjava/lang/Object;)Lio/portone/sdk/server/schemas/StartedPaymentSchedule; + public fun equals (Ljava/lang/Object;)Z + public fun getBillingKey ()Ljava/lang/String; + public fun getCreatedAt ()Ljava/time/Instant; + public fun getCurrency ()Lio/portone/sdk/server/schemas/Currency; + public fun getCustomData ()Ljava/lang/String; + public fun getCustomer ()Lio/portone/sdk/server/schemas/Customer; + public fun getId ()Ljava/lang/String; + public fun getInstallmentMonth ()Ljava/lang/Integer; + public fun getMerchantId ()Ljava/lang/String; + public fun getNoticeUrls ()Ljava/util/List; + public fun getOrderName ()Ljava/lang/String; + public fun getPaymentId ()Ljava/lang/String; + public fun getProducts ()Ljava/util/List; + public final fun getStartedAt ()Ljava/time/Instant; + public fun getStoreId ()Ljava/lang/String; + public fun getTaxFreeAmount ()Ljava/lang/Long; + public fun getTimeToPay ()Ljava/time/Instant; + public fun getTotalAmount ()J + public fun getVatAmount ()Ljava/lang/Long; + public fun hashCode ()I + public fun isCulturalExpense ()Z + public fun isEscrow ()Z + public fun toString ()Ljava/lang/String; +} + +public synthetic class io/portone/sdk/server/schemas/StartedPaymentSchedule$$serializer : kotlinx/serialization/internal/GeneratedSerializer { + public static final field INSTANCE Lio/portone/sdk/server/schemas/StartedPaymentSchedule$$serializer; + public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; + public final fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Lio/portone/sdk/server/schemas/StartedPaymentSchedule; + public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; + public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; + public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lio/portone/sdk/server/schemas/StartedPaymentSchedule;)V + public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; +} + +public final class io/portone/sdk/server/schemas/StartedPaymentSchedule$Companion { + public final fun serializer ()Lkotlinx/serialization/KSerializer; +} + +public final class io/portone/sdk/server/schemas/SucceededPaymentCancellation : io/portone/sdk/server/schemas/PaymentCancellation { + public static final field Companion Lio/portone/sdk/server/schemas/SucceededPaymentCancellation$Companion; + public fun (Ljava/lang/String;Ljava/lang/String;JJJLjava/lang/Long;Ljava/lang/String;Ljava/time/Instant;Ljava/time/Instant;Ljava/lang/String;)V + public synthetic fun (Ljava/lang/String;Ljava/lang/String;JJJLjava/lang/Long;Ljava/lang/String;Ljava/time/Instant;Ljava/time/Instant;Ljava/lang/String;ILkotlin/jvm/internal/DefaultConstructorMarker;)V + public final fun component1 ()Ljava/lang/String; + public final fun component10 ()Ljava/lang/String; + public final fun component2 ()Ljava/lang/String; + public final fun component3 ()J + public final fun component4 ()J + public final fun component5 ()J + public final fun component6 ()Ljava/lang/Long; + public final fun component7 ()Ljava/lang/String; + public final fun component8 ()Ljava/time/Instant; + public final fun component9 ()Ljava/time/Instant; + public final fun copy (Ljava/lang/String;Ljava/lang/String;JJJLjava/lang/Long;Ljava/lang/String;Ljava/time/Instant;Ljava/time/Instant;Ljava/lang/String;)Lio/portone/sdk/server/schemas/SucceededPaymentCancellation; + public static synthetic fun copy$default (Lio/portone/sdk/server/schemas/SucceededPaymentCancellation;Ljava/lang/String;Ljava/lang/String;JJJLjava/lang/Long;Ljava/lang/String;Ljava/time/Instant;Ljava/time/Instant;Ljava/lang/String;ILjava/lang/Object;)Lio/portone/sdk/server/schemas/SucceededPaymentCancellation; + public fun equals (Ljava/lang/Object;)Z + public fun getCancelledAt ()Ljava/time/Instant; + public fun getEasyPayDiscountAmount ()Ljava/lang/Long; + public fun getId ()Ljava/lang/String; + public fun getPgCancellationId ()Ljava/lang/String; + public fun getReason ()Ljava/lang/String; + public final fun getReceiptUrl ()Ljava/lang/String; + public fun getRequestedAt ()Ljava/time/Instant; + public fun getTaxFreeAmount ()J + public fun getTotalAmount ()J + public fun getVatAmount ()J + public fun hashCode ()I + public fun toString ()Ljava/lang/String; +} + +public synthetic class io/portone/sdk/server/schemas/SucceededPaymentCancellation$$serializer : kotlinx/serialization/internal/GeneratedSerializer { + public static final field INSTANCE Lio/portone/sdk/server/schemas/SucceededPaymentCancellation$$serializer; + public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; + public final fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Lio/portone/sdk/server/schemas/SucceededPaymentCancellation; + public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; + public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; + public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lio/portone/sdk/server/schemas/SucceededPaymentCancellation;)V + public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; +} + +public final class io/portone/sdk/server/schemas/SucceededPaymentCancellation$Companion { + public final fun serializer ()Lkotlinx/serialization/KSerializer; +} + +public final class io/portone/sdk/server/schemas/SucceededPaymentSchedule : io/portone/sdk/server/schemas/PaymentSchedule { + public static final field Companion Lio/portone/sdk/server/schemas/SucceededPaymentSchedule$Companion; + public fun (Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;ZZLio/portone/sdk/server/schemas/Customer;Ljava/lang/String;JLjava/lang/Long;Ljava/lang/Long;Lio/portone/sdk/server/schemas/Currency;Ljava/lang/Integer;Ljava/util/List;Ljava/util/List;Ljava/time/Instant;Ljava/time/Instant;Ljava/time/Instant;Ljava/time/Instant;)V + public synthetic fun (Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;ZZLio/portone/sdk/server/schemas/Customer;Ljava/lang/String;JLjava/lang/Long;Ljava/lang/Long;Lio/portone/sdk/server/schemas/Currency;Ljava/lang/Integer;Ljava/util/List;Ljava/util/List;Ljava/time/Instant;Ljava/time/Instant;Ljava/time/Instant;Ljava/time/Instant;ILkotlin/jvm/internal/DefaultConstructorMarker;)V + public final fun component1 ()Ljava/lang/String; + public final fun component10 ()Ljava/lang/String; + public final fun component11 ()J + public final fun component12 ()Ljava/lang/Long; + public final fun component13 ()Ljava/lang/Long; + public final fun component14 ()Lio/portone/sdk/server/schemas/Currency; + public final fun component15 ()Ljava/lang/Integer; + public final fun component16 ()Ljava/util/List; + public final fun component17 ()Ljava/util/List; + public final fun component18 ()Ljava/time/Instant; + public final fun component19 ()Ljava/time/Instant; + public final fun component2 ()Ljava/lang/String; + public final fun component20 ()Ljava/time/Instant; + public final fun component21 ()Ljava/time/Instant; + public final fun component3 ()Ljava/lang/String; + public final fun component4 ()Ljava/lang/String; + public final fun component5 ()Ljava/lang/String; + public final fun component6 ()Ljava/lang/String; + public final fun component7 ()Z + public final fun component8 ()Z + public final fun component9 ()Lio/portone/sdk/server/schemas/Customer; + public final fun copy (Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;ZZLio/portone/sdk/server/schemas/Customer;Ljava/lang/String;JLjava/lang/Long;Ljava/lang/Long;Lio/portone/sdk/server/schemas/Currency;Ljava/lang/Integer;Ljava/util/List;Ljava/util/List;Ljava/time/Instant;Ljava/time/Instant;Ljava/time/Instant;Ljava/time/Instant;)Lio/portone/sdk/server/schemas/SucceededPaymentSchedule; + public static synthetic fun copy$default (Lio/portone/sdk/server/schemas/SucceededPaymentSchedule;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;ZZLio/portone/sdk/server/schemas/Customer;Ljava/lang/String;JLjava/lang/Long;Ljava/lang/Long;Lio/portone/sdk/server/schemas/Currency;Ljava/lang/Integer;Ljava/util/List;Ljava/util/List;Ljava/time/Instant;Ljava/time/Instant;Ljava/time/Instant;Ljava/time/Instant;ILjava/lang/Object;)Lio/portone/sdk/server/schemas/SucceededPaymentSchedule; + public fun equals (Ljava/lang/Object;)Z + public fun getBillingKey ()Ljava/lang/String; + public final fun getCompletedAt ()Ljava/time/Instant; + public fun getCreatedAt ()Ljava/time/Instant; + public fun getCurrency ()Lio/portone/sdk/server/schemas/Currency; + public fun getCustomData ()Ljava/lang/String; + public fun getCustomer ()Lio/portone/sdk/server/schemas/Customer; + public fun getId ()Ljava/lang/String; + public fun getInstallmentMonth ()Ljava/lang/Integer; + public fun getMerchantId ()Ljava/lang/String; + public fun getNoticeUrls ()Ljava/util/List; + public fun getOrderName ()Ljava/lang/String; + public fun getPaymentId ()Ljava/lang/String; + public fun getProducts ()Ljava/util/List; + public final fun getStartedAt ()Ljava/time/Instant; + public fun getStoreId ()Ljava/lang/String; + public fun getTaxFreeAmount ()Ljava/lang/Long; + public fun getTimeToPay ()Ljava/time/Instant; + public fun getTotalAmount ()J + public fun getVatAmount ()Ljava/lang/Long; + public fun hashCode ()I + public fun isCulturalExpense ()Z + public fun isEscrow ()Z + public fun toString ()Ljava/lang/String; +} + +public synthetic class io/portone/sdk/server/schemas/SucceededPaymentSchedule$$serializer : kotlinx/serialization/internal/GeneratedSerializer { + public static final field INSTANCE Lio/portone/sdk/server/schemas/SucceededPaymentSchedule$$serializer; + public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; + public final fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Lio/portone/sdk/server/schemas/SucceededPaymentSchedule; + public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; + public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; + public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lio/portone/sdk/server/schemas/SucceededPaymentSchedule;)V + public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; +} + +public final class io/portone/sdk/server/schemas/SucceededPaymentSchedule$Companion { + public final fun serializer ()Lkotlinx/serialization/KSerializer; +} + +public final class io/portone/sdk/server/schemas/SumOfPartsExceedsCancelAmountException : java/lang/Exception { + public fun ()V + public fun (Ljava/lang/String;)V + public synthetic fun (Ljava/lang/String;ILkotlin/jvm/internal/DefaultConstructorMarker;)V +} + +public final class io/portone/sdk/server/schemas/SumOfPartsExceedsTotalAmountException : java/lang/Exception { + public fun ()V + public fun (Ljava/lang/String;)V + public synthetic fun (Ljava/lang/String;ILkotlin/jvm/internal/DefaultConstructorMarker;)V +} + +public final class io/portone/sdk/server/schemas/UnauthorizedException : java/lang/Exception { + public fun ()V + public fun (Ljava/lang/String;)V + public synthetic fun (Ljava/lang/String;ILkotlin/jvm/internal/DefaultConstructorMarker;)V +} + +public final class io/portone/sdk/server/schemas/VerifiedIdentityVerification : io/portone/sdk/server/schemas/IdentityVerification { + public static final field Companion Lio/portone/sdk/server/schemas/VerifiedIdentityVerification$Companion; + public fun (Ljava/lang/String;Lio/portone/sdk/server/schemas/SelectedChannel;Lio/portone/sdk/server/schemas/IdentityVerificationVerifiedCustomer;Ljava/lang/String;Ljava/time/Instant;Ljava/time/Instant;Ljava/time/Instant;Ljava/time/Instant;Ljava/lang/String;Ljava/lang/String;)V + public synthetic fun (Ljava/lang/String;Lio/portone/sdk/server/schemas/SelectedChannel;Lio/portone/sdk/server/schemas/IdentityVerificationVerifiedCustomer;Ljava/lang/String;Ljava/time/Instant;Ljava/time/Instant;Ljava/time/Instant;Ljava/time/Instant;Ljava/lang/String;Ljava/lang/String;ILkotlin/jvm/internal/DefaultConstructorMarker;)V + public final fun component1 ()Ljava/lang/String; + public final fun component10 ()Ljava/lang/String; + public final fun component2 ()Lio/portone/sdk/server/schemas/SelectedChannel; + public final fun component3 ()Lio/portone/sdk/server/schemas/IdentityVerificationVerifiedCustomer; + public final fun component4 ()Ljava/lang/String; + public final fun component5 ()Ljava/time/Instant; + public final fun component6 ()Ljava/time/Instant; + public final fun component7 ()Ljava/time/Instant; + public final fun component8 ()Ljava/time/Instant; + public final fun component9 ()Ljava/lang/String; + public final fun copy (Ljava/lang/String;Lio/portone/sdk/server/schemas/SelectedChannel;Lio/portone/sdk/server/schemas/IdentityVerificationVerifiedCustomer;Ljava/lang/String;Ljava/time/Instant;Ljava/time/Instant;Ljava/time/Instant;Ljava/time/Instant;Ljava/lang/String;Ljava/lang/String;)Lio/portone/sdk/server/schemas/VerifiedIdentityVerification; + public static synthetic fun copy$default (Lio/portone/sdk/server/schemas/VerifiedIdentityVerification;Ljava/lang/String;Lio/portone/sdk/server/schemas/SelectedChannel;Lio/portone/sdk/server/schemas/IdentityVerificationVerifiedCustomer;Ljava/lang/String;Ljava/time/Instant;Ljava/time/Instant;Ljava/time/Instant;Ljava/time/Instant;Ljava/lang/String;Ljava/lang/String;ILjava/lang/Object;)Lio/portone/sdk/server/schemas/VerifiedIdentityVerification; + public fun equals (Ljava/lang/Object;)Z + public fun getChannel ()Lio/portone/sdk/server/schemas/SelectedChannel; + public fun getCustomData ()Ljava/lang/String; + public fun getId ()Ljava/lang/String; + public final fun getPgRawResponse ()Ljava/lang/String; + public final fun getPgTxId ()Ljava/lang/String; + public fun getRequestedAt ()Ljava/time/Instant; + public fun getStatusChangedAt ()Ljava/time/Instant; + public fun getUpdatedAt ()Ljava/time/Instant; + public final fun getVerifiedAt ()Ljava/time/Instant; + public final fun getVerifiedCustomer ()Lio/portone/sdk/server/schemas/IdentityVerificationVerifiedCustomer; + public fun hashCode ()I + public fun toString ()Ljava/lang/String; +} + +public synthetic class io/portone/sdk/server/schemas/VerifiedIdentityVerification$$serializer : kotlinx/serialization/internal/GeneratedSerializer { + public static final field INSTANCE Lio/portone/sdk/server/schemas/VerifiedIdentityVerification$$serializer; + public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; + public final fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Lio/portone/sdk/server/schemas/VerifiedIdentityVerification; + public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; + public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; + public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lio/portone/sdk/server/schemas/VerifiedIdentityVerification;)V + public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; +} + +public final class io/portone/sdk/server/schemas/VerifiedIdentityVerification$Companion { + public final fun serializer ()Lkotlinx/serialization/KSerializer; +} + +public final class io/portone/sdk/server/schemas/VirtualAccountIssuedPayment : io/portone/sdk/server/schemas/Payment { + public static final field Companion Lio/portone/sdk/server/schemas/VirtualAccountIssuedPayment$Companion; + public fun (Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Lio/portone/sdk/server/schemas/PaymentMethod;Lio/portone/sdk/server/schemas/SelectedChannel;Lio/portone/sdk/server/schemas/ChannelGroupSummary;Lio/portone/sdk/server/schemas/PortOneVersion;Ljava/lang/String;Ljava/lang/String;Ljava/util/List;Ljava/time/Instant;Ljava/time/Instant;Ljava/time/Instant;Ljava/lang/String;Lio/portone/sdk/server/schemas/PaymentAmount;Lio/portone/sdk/server/schemas/Currency;Lio/portone/sdk/server/schemas/Customer;Ljava/lang/String;Ljava/lang/Boolean;Lio/portone/sdk/server/schemas/PaymentEscrow;Ljava/util/List;Ljava/lang/Integer;Ljava/lang/String;Lio/portone/sdk/server/schemas/Country;Ljava/lang/String;)V + public synthetic fun (Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Lio/portone/sdk/server/schemas/PaymentMethod;Lio/portone/sdk/server/schemas/SelectedChannel;Lio/portone/sdk/server/schemas/ChannelGroupSummary;Lio/portone/sdk/server/schemas/PortOneVersion;Ljava/lang/String;Ljava/lang/String;Ljava/util/List;Ljava/time/Instant;Ljava/time/Instant;Ljava/time/Instant;Ljava/lang/String;Lio/portone/sdk/server/schemas/PaymentAmount;Lio/portone/sdk/server/schemas/Currency;Lio/portone/sdk/server/schemas/Customer;Ljava/lang/String;Ljava/lang/Boolean;Lio/portone/sdk/server/schemas/PaymentEscrow;Ljava/util/List;Ljava/lang/Integer;Ljava/lang/String;Lio/portone/sdk/server/schemas/Country;Ljava/lang/String;ILkotlin/jvm/internal/DefaultConstructorMarker;)V + public final fun component1 ()Ljava/lang/String; + public final fun component10 ()Ljava/lang/String; + public final fun component11 ()Ljava/util/List; + public final fun component12 ()Ljava/time/Instant; + public final fun component13 ()Ljava/time/Instant; + public final fun component14 ()Ljava/time/Instant; + public final fun component15 ()Ljava/lang/String; + public final fun component16 ()Lio/portone/sdk/server/schemas/PaymentAmount; + public final fun component17 ()Lio/portone/sdk/server/schemas/Currency; + public final fun component18 ()Lio/portone/sdk/server/schemas/Customer; + public final fun component19 ()Ljava/lang/String; + public final fun component2 ()Ljava/lang/String; + public final fun component20 ()Ljava/lang/Boolean; + public final fun component21 ()Lio/portone/sdk/server/schemas/PaymentEscrow; + public final fun component22 ()Ljava/util/List; + public final fun component23 ()Ljava/lang/Integer; + public final fun component24 ()Ljava/lang/String; + public final fun component25 ()Lio/portone/sdk/server/schemas/Country; + public final fun component26 ()Ljava/lang/String; + public final fun component3 ()Ljava/lang/String; + public final fun component4 ()Ljava/lang/String; + public final fun component5 ()Lio/portone/sdk/server/schemas/PaymentMethod; + public final fun component6 ()Lio/portone/sdk/server/schemas/SelectedChannel; + public final fun component7 ()Lio/portone/sdk/server/schemas/ChannelGroupSummary; + public final fun component8 ()Lio/portone/sdk/server/schemas/PortOneVersion; + public final fun component9 ()Ljava/lang/String; + public final fun copy (Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Lio/portone/sdk/server/schemas/PaymentMethod;Lio/portone/sdk/server/schemas/SelectedChannel;Lio/portone/sdk/server/schemas/ChannelGroupSummary;Lio/portone/sdk/server/schemas/PortOneVersion;Ljava/lang/String;Ljava/lang/String;Ljava/util/List;Ljava/time/Instant;Ljava/time/Instant;Ljava/time/Instant;Ljava/lang/String;Lio/portone/sdk/server/schemas/PaymentAmount;Lio/portone/sdk/server/schemas/Currency;Lio/portone/sdk/server/schemas/Customer;Ljava/lang/String;Ljava/lang/Boolean;Lio/portone/sdk/server/schemas/PaymentEscrow;Ljava/util/List;Ljava/lang/Integer;Ljava/lang/String;Lio/portone/sdk/server/schemas/Country;Ljava/lang/String;)Lio/portone/sdk/server/schemas/VirtualAccountIssuedPayment; + public static synthetic fun copy$default (Lio/portone/sdk/server/schemas/VirtualAccountIssuedPayment;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Lio/portone/sdk/server/schemas/PaymentMethod;Lio/portone/sdk/server/schemas/SelectedChannel;Lio/portone/sdk/server/schemas/ChannelGroupSummary;Lio/portone/sdk/server/schemas/PortOneVersion;Ljava/lang/String;Ljava/lang/String;Ljava/util/List;Ljava/time/Instant;Ljava/time/Instant;Ljava/time/Instant;Ljava/lang/String;Lio/portone/sdk/server/schemas/PaymentAmount;Lio/portone/sdk/server/schemas/Currency;Lio/portone/sdk/server/schemas/Customer;Ljava/lang/String;Ljava/lang/Boolean;Lio/portone/sdk/server/schemas/PaymentEscrow;Ljava/util/List;Ljava/lang/Integer;Ljava/lang/String;Lio/portone/sdk/server/schemas/Country;Ljava/lang/String;ILjava/lang/Object;)Lio/portone/sdk/server/schemas/VirtualAccountIssuedPayment; + public fun equals (Ljava/lang/Object;)Z + public fun getAmount ()Lio/portone/sdk/server/schemas/PaymentAmount; + public fun getBillingKey ()Ljava/lang/String; + public fun getChannel ()Lio/portone/sdk/server/schemas/SelectedChannel; + public fun getChannelGroup ()Lio/portone/sdk/server/schemas/ChannelGroupSummary; + public fun getCountry ()Lio/portone/sdk/server/schemas/Country; + public fun getCurrency ()Lio/portone/sdk/server/schemas/Currency; + public fun getCustomData ()Ljava/lang/String; + public fun getCustomer ()Lio/portone/sdk/server/schemas/Customer; + public fun getEscrow ()Lio/portone/sdk/server/schemas/PaymentEscrow; + public fun getId ()Ljava/lang/String; + public fun getMerchantId ()Ljava/lang/String; + public fun getMethod ()Lio/portone/sdk/server/schemas/PaymentMethod; + public fun getOrderName ()Ljava/lang/String; + public final fun getPgTxId ()Ljava/lang/String; + public fun getProductCount ()Ljava/lang/Integer; + public fun getProducts ()Ljava/util/List; + public fun getPromotionId ()Ljava/lang/String; + public fun getRequestedAt ()Ljava/time/Instant; + public fun getScheduleId ()Ljava/lang/String; + public fun getStatusChangedAt ()Ljava/time/Instant; + public fun getStoreId ()Ljava/lang/String; + public final fun getTransactionId ()Ljava/lang/String; + public fun getUpdatedAt ()Ljava/time/Instant; + public fun getVersion ()Lio/portone/sdk/server/schemas/PortOneVersion; + public fun getWebhooks ()Ljava/util/List; + public fun hashCode ()I + public fun isCulturalExpense ()Ljava/lang/Boolean; + public fun toString ()Ljava/lang/String; +} + +public synthetic class io/portone/sdk/server/schemas/VirtualAccountIssuedPayment$$serializer : kotlinx/serialization/internal/GeneratedSerializer { + public static final field INSTANCE Lio/portone/sdk/server/schemas/VirtualAccountIssuedPayment$$serializer; + public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; + public final fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Lio/portone/sdk/server/schemas/VirtualAccountIssuedPayment; + public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; + public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; + public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lio/portone/sdk/server/schemas/VirtualAccountIssuedPayment;)V + public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; +} + +public final class io/portone/sdk/server/schemas/VirtualAccountIssuedPayment$Companion { + public final fun serializer ()Lkotlinx/serialization/KSerializer; +} + +public final class io/portone/sdk/server/schemas/WebhookNotFoundException : java/lang/Exception { + public fun ()V + public fun (Ljava/lang/String;)V + public synthetic fun (Ljava/lang/String;ILkotlin/jvm/internal/DefaultConstructorMarker;)V +} + +public final class io/portone/sdk/server/serializers/InstantSerializer : kotlinx/serialization/KSerializer { + public static final field INSTANCE Lio/portone/sdk/server/serializers/InstantSerializer; + public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; + public fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/time/Instant; + public fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; + public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V + public fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/time/Instant;)V +} + public final class io/portone/sdk/server/webhook/WebhookVerificationException : java/lang/Exception { public static final field Companion Lio/portone/sdk/server/webhook/WebhookVerificationException$Companion; } diff --git a/common/build.gradle.kts b/common/build.gradle.kts index ac7356e..fc08bf0 100644 --- a/common/build.gradle.kts +++ b/common/build.gradle.kts @@ -1,4 +1,6 @@ import com.vanniktech.maven.publish.SonatypeHost +import io.portone.openapi.GenerateSchemaCodeTask +import io.portone.openapi.PatchCodeTask import org.jetbrains.dokka.gradle.DokkaTask import org.jetbrains.kotlin.gradle.dsl.JvmTarget import org.jetbrains.kotlin.gradle.dsl.jvm.JvmTargetValidationMode @@ -10,6 +12,7 @@ plugins { signing alias(libs.plugins.kotlin.jvm) + alias(libs.plugins.kotlin.plugin.serialization) alias(libs.plugins.ktlint) alias(libs.plugins.binary.compatibility.validator) alias(libs.plugins.dokka) @@ -27,6 +30,31 @@ version = "0.0.1-SNAPSHOT" } +val generateSchemaCode = + tasks.register("generateSchemaCode") { + inputFile = file("../openapi/portone-v2-openapi.json") + outputDirectory.set(layout.buildDirectory.dir("generated/sources/schemaCode/kotlin/main")) + } + +val patchCode = + tasks.register("patchCode") { + originDirectory = generateSchemaCode.flatMap { it.outputDirectory } + patchesDirectory = file("patches") + outputDirectory.set(layout.buildDirectory.dir("generated/sources/patchedCode/kotlin/main")) + } + +sourceSets { + main { + kotlin { + srcDir(patchCode) + } + } +} + +tasks.compileKotlin { + dependsOn(generateSchemaCode) +} + tasks.withType().configureEach { jvmTargetValidationMode = JvmTargetValidationMode.ERROR } @@ -38,7 +66,7 @@ kotlin { jvmTarget = JvmTarget.JVM_11 progressiveMode = true allWarningsAsErrors = true - freeCompilerArgs.addAll("-Xjdk-release=11", "-Xjsr305=strict") + freeCompilerArgs.addAll("-Xjdk-release=11", "-Xjsr305=strict", "-opt-in=kotlinx.serialization.ExperimentalSerializationApi") } } @@ -56,11 +84,14 @@ tasks.compileJava { ) } -repositories { - mavenCentral() +dependencies { + implementation(libs.kotlinx.serialization.json) + implementation(libs.ktor.client.core) + implementation(libs.ktor.client.okhttp) } -dependencies { +repositories { + mavenCentral() } testing { diff --git a/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/PortOneApi.kt b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/PortOneApi.kt new file mode 100644 index 0000000..c08b300 --- /dev/null +++ b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/PortOneApi.kt @@ -0,0 +1,2097 @@ +package io.portone.sdk.server + +import io.ktor.client.HttpClient +import io.ktor.client.call.body +import io.ktor.client.engine.okhttp.OkHttp +import io.ktor.client.request.`get` +import io.ktor.client.request.accept +import io.ktor.client.request.delete +import io.ktor.client.request.headers +import io.ktor.client.request.patch +import io.ktor.client.request.post +import io.ktor.client.request.setBody +import io.ktor.http.ContentType +import io.ktor.http.HttpHeaders +import io.ktor.http.appendPathSegments +import io.ktor.http.contentType +import io.portone.sdk.server.schemas.AlreadyPaidError +import io.portone.sdk.server.schemas.AlreadyPaidException +import io.portone.sdk.server.schemas.AlreadyPaidOrWaitingError +import io.portone.sdk.server.schemas.AlreadyPaidOrWaitingException +import io.portone.sdk.server.schemas.ApplyEscrowLogisticsError +import io.portone.sdk.server.schemas.ApplyEscrowLogisticsResponse +import io.portone.sdk.server.schemas.BillingKeyAlreadyDeletedError +import io.portone.sdk.server.schemas.BillingKeyAlreadyDeletedException +import io.portone.sdk.server.schemas.BillingKeyFilterInput +import io.portone.sdk.server.schemas.BillingKeyInfo +import io.portone.sdk.server.schemas.BillingKeyNotFoundError +import io.portone.sdk.server.schemas.BillingKeyNotFoundException +import io.portone.sdk.server.schemas.BillingKeyNotIssuedError +import io.portone.sdk.server.schemas.BillingKeyNotIssuedException +import io.portone.sdk.server.schemas.BillingKeyPaymentInput +import io.portone.sdk.server.schemas.BillingKeySortInput +import io.portone.sdk.server.schemas.CancelAmountExceedsCancellableAmountError +import io.portone.sdk.server.schemas.CancelAmountExceedsCancellableAmountException +import io.portone.sdk.server.schemas.CancelCashReceiptError +import io.portone.sdk.server.schemas.CancelCashReceiptResponse +import io.portone.sdk.server.schemas.CancelPaymentBody +import io.portone.sdk.server.schemas.CancelPaymentBodyRefundAccount +import io.portone.sdk.server.schemas.CancelPaymentError +import io.portone.sdk.server.schemas.CancelPaymentResponse +import io.portone.sdk.server.schemas.CancelRequester +import io.portone.sdk.server.schemas.CancelTaxAmountExceedsCancellableTaxAmountError +import io.portone.sdk.server.schemas.CancelTaxAmountExceedsCancellableTaxAmountException +import io.portone.sdk.server.schemas.CancelTaxFreeAmountExceedsCancellableTaxFreeAmountError +import io.portone.sdk.server.schemas.CancelTaxFreeAmountExceedsCancellableTaxFreeAmountException +import io.portone.sdk.server.schemas.CancellableAmountConsistencyBrokenError +import io.portone.sdk.server.schemas.CancellableAmountConsistencyBrokenException +import io.portone.sdk.server.schemas.CashReceipt +import io.portone.sdk.server.schemas.CashReceiptAlreadyIssuedError +import io.portone.sdk.server.schemas.CashReceiptAlreadyIssuedException +import io.portone.sdk.server.schemas.CashReceiptInput +import io.portone.sdk.server.schemas.CashReceiptNotFoundError +import io.portone.sdk.server.schemas.CashReceiptNotFoundException +import io.portone.sdk.server.schemas.CashReceiptNotIssuedError +import io.portone.sdk.server.schemas.CashReceiptNotIssuedException +import io.portone.sdk.server.schemas.CashReceiptType +import io.portone.sdk.server.schemas.ChannelNotFoundError +import io.portone.sdk.server.schemas.ChannelNotFoundException +import io.portone.sdk.server.schemas.ChannelSpecificError +import io.portone.sdk.server.schemas.ChannelSpecificException +import io.portone.sdk.server.schemas.CloseVirtualAccountError +import io.portone.sdk.server.schemas.CloseVirtualAccountResponse +import io.portone.sdk.server.schemas.ConfirmEscrowBody +import io.portone.sdk.server.schemas.ConfirmEscrowError +import io.portone.sdk.server.schemas.ConfirmEscrowResponse +import io.portone.sdk.server.schemas.ConfirmIdentityVerificationBody +import io.portone.sdk.server.schemas.ConfirmIdentityVerificationError +import io.portone.sdk.server.schemas.ConfirmIdentityVerificationResponse +import io.portone.sdk.server.schemas.Country +import io.portone.sdk.server.schemas.CreatePaymentScheduleBody +import io.portone.sdk.server.schemas.CreatePaymentScheduleError +import io.portone.sdk.server.schemas.CreatePaymentScheduleResponse +import io.portone.sdk.server.schemas.Currency +import io.portone.sdk.server.schemas.CustomerInput +import io.portone.sdk.server.schemas.DeleteBillingKeyError +import io.portone.sdk.server.schemas.DeleteBillingKeyResponse +import io.portone.sdk.server.schemas.DiscountAmountExceedsTotalAmountError +import io.portone.sdk.server.schemas.DiscountAmountExceedsTotalAmountException +import io.portone.sdk.server.schemas.ForbiddenError +import io.portone.sdk.server.schemas.ForbiddenException +import io.portone.sdk.server.schemas.GetAllPaymentsByCursorBody +import io.portone.sdk.server.schemas.GetAllPaymentsByCursorResponse +import io.portone.sdk.server.schemas.GetAllPaymentsError +import io.portone.sdk.server.schemas.GetBillingKeyInfoError +import io.portone.sdk.server.schemas.GetBillingKeyInfosBody +import io.portone.sdk.server.schemas.GetBillingKeyInfosError +import io.portone.sdk.server.schemas.GetBillingKeyInfosResponse +import io.portone.sdk.server.schemas.GetCashReceiptError +import io.portone.sdk.server.schemas.GetIdentityVerificationError +import io.portone.sdk.server.schemas.GetKakaopayPaymentOrderError +import io.portone.sdk.server.schemas.GetKakaopayPaymentOrderResponse +import io.portone.sdk.server.schemas.GetPaymentError +import io.portone.sdk.server.schemas.GetPaymentScheduleError +import io.portone.sdk.server.schemas.GetPaymentSchedulesBody +import io.portone.sdk.server.schemas.GetPaymentSchedulesError +import io.portone.sdk.server.schemas.GetPaymentSchedulesResponse +import io.portone.sdk.server.schemas.GetPaymentsBody +import io.portone.sdk.server.schemas.GetPaymentsError +import io.portone.sdk.server.schemas.GetPaymentsResponse +import io.portone.sdk.server.schemas.IdentityVerification +import io.portone.sdk.server.schemas.IdentityVerificationAlreadySentError +import io.portone.sdk.server.schemas.IdentityVerificationAlreadySentException +import io.portone.sdk.server.schemas.IdentityVerificationAlreadyVerifiedError +import io.portone.sdk.server.schemas.IdentityVerificationAlreadyVerifiedException +import io.portone.sdk.server.schemas.IdentityVerificationMethod +import io.portone.sdk.server.schemas.IdentityVerificationNotFoundError +import io.portone.sdk.server.schemas.IdentityVerificationNotFoundException +import io.portone.sdk.server.schemas.IdentityVerificationNotSentError +import io.portone.sdk.server.schemas.IdentityVerificationNotSentException +import io.portone.sdk.server.schemas.IdentityVerificationOperator +import io.portone.sdk.server.schemas.InstantBillingKeyPaymentMethodInput +import io.portone.sdk.server.schemas.InstantPaymentInput +import io.portone.sdk.server.schemas.InstantPaymentMethodInput +import io.portone.sdk.server.schemas.InvalidRequestError +import io.portone.sdk.server.schemas.InvalidRequestException +import io.portone.sdk.server.schemas.IssueBillingKeyBody +import io.portone.sdk.server.schemas.IssueBillingKeyError +import io.portone.sdk.server.schemas.IssueBillingKeyResponse +import io.portone.sdk.server.schemas.IssueCashReceiptBody +import io.portone.sdk.server.schemas.IssueCashReceiptCustomerInput +import io.portone.sdk.server.schemas.IssueCashReceiptError +import io.portone.sdk.server.schemas.IssueCashReceiptResponse +import io.portone.sdk.server.schemas.ModifyEscrowLogisticsBody +import io.portone.sdk.server.schemas.ModifyEscrowLogisticsError +import io.portone.sdk.server.schemas.ModifyEscrowLogisticsResponse +import io.portone.sdk.server.schemas.PageInput +import io.portone.sdk.server.schemas.PayInstantlyError +import io.portone.sdk.server.schemas.PayInstantlyResponse +import io.portone.sdk.server.schemas.PayWithBillingKeyError +import io.portone.sdk.server.schemas.PayWithBillingKeyResponse +import io.portone.sdk.server.schemas.Payment +import io.portone.sdk.server.schemas.PaymentAlreadyCancelledError +import io.portone.sdk.server.schemas.PaymentAlreadyCancelledException +import io.portone.sdk.server.schemas.PaymentAmountInput +import io.portone.sdk.server.schemas.PaymentEscrowReceiverInput +import io.portone.sdk.server.schemas.PaymentEscrowSenderInput +import io.portone.sdk.server.schemas.PaymentFilterInput +import io.portone.sdk.server.schemas.PaymentLogistics +import io.portone.sdk.server.schemas.PaymentNotFoundError +import io.portone.sdk.server.schemas.PaymentNotFoundException +import io.portone.sdk.server.schemas.PaymentNotPaidError +import io.portone.sdk.server.schemas.PaymentNotPaidException +import io.portone.sdk.server.schemas.PaymentNotWaitingForDepositError +import io.portone.sdk.server.schemas.PaymentNotWaitingForDepositException +import io.portone.sdk.server.schemas.PaymentProduct +import io.portone.sdk.server.schemas.PaymentProductType +import io.portone.sdk.server.schemas.PaymentSchedule +import io.portone.sdk.server.schemas.PaymentScheduleAlreadyExistsError +import io.portone.sdk.server.schemas.PaymentScheduleAlreadyExistsException +import io.portone.sdk.server.schemas.PaymentScheduleAlreadyProcessedError +import io.portone.sdk.server.schemas.PaymentScheduleAlreadyProcessedException +import io.portone.sdk.server.schemas.PaymentScheduleAlreadyRevokedError +import io.portone.sdk.server.schemas.PaymentScheduleAlreadyRevokedException +import io.portone.sdk.server.schemas.PaymentScheduleFilterInput +import io.portone.sdk.server.schemas.PaymentScheduleNotFoundError +import io.portone.sdk.server.schemas.PaymentScheduleNotFoundException +import io.portone.sdk.server.schemas.PaymentScheduleSortInput +import io.portone.sdk.server.schemas.PgProviderError +import io.portone.sdk.server.schemas.PgProviderException +import io.portone.sdk.server.schemas.PreRegisterPaymentBody +import io.portone.sdk.server.schemas.PreRegisterPaymentError +import io.portone.sdk.server.schemas.PromotionPayMethodDoesNotMatchError +import io.portone.sdk.server.schemas.PromotionPayMethodDoesNotMatchException +import io.portone.sdk.server.schemas.RegisterEscrowLogisticsBody +import io.portone.sdk.server.schemas.RegisterStoreReceiptBody +import io.portone.sdk.server.schemas.RegisterStoreReceiptBodyItem +import io.portone.sdk.server.schemas.RegisterStoreReceiptError +import io.portone.sdk.server.schemas.RegisterStoreReceiptResponse +import io.portone.sdk.server.schemas.RemainedAmountLessThanPromotionMinPaymentAmountError +import io.portone.sdk.server.schemas.RemainedAmountLessThanPromotionMinPaymentAmountException +import io.portone.sdk.server.schemas.ResendIdentityVerificationError +import io.portone.sdk.server.schemas.ResendWebhookBody +import io.portone.sdk.server.schemas.ResendWebhookError +import io.portone.sdk.server.schemas.ResendWebhookResponse +import io.portone.sdk.server.schemas.RevokePaymentSchedulesBody +import io.portone.sdk.server.schemas.RevokePaymentSchedulesError +import io.portone.sdk.server.schemas.RevokePaymentSchedulesResponse +import io.portone.sdk.server.schemas.SendIdentityVerificationBody +import io.portone.sdk.server.schemas.SendIdentityVerificationBodyCustomer +import io.portone.sdk.server.schemas.SendIdentityVerificationError +import io.portone.sdk.server.schemas.SeparatedAddressInput +import io.portone.sdk.server.schemas.SumOfPartsExceedsCancelAmountError +import io.portone.sdk.server.schemas.SumOfPartsExceedsCancelAmountException +import io.portone.sdk.server.schemas.SumOfPartsExceedsTotalAmountError +import io.portone.sdk.server.schemas.SumOfPartsExceedsTotalAmountException +import io.portone.sdk.server.schemas.UnauthorizedError +import io.portone.sdk.server.schemas.UnauthorizedException +import io.portone.sdk.server.schemas.WebhookNotFoundError +import io.portone.sdk.server.schemas.WebhookNotFoundException +import java.io.Closeable +import java.time.Instant +import kotlin.Boolean +import kotlin.Int +import kotlin.Long +import kotlin.String +import kotlin.Unit +import kotlin.collections.List +import kotlinx.serialization.encodeToString +import kotlinx.serialization.json.Json +import kotlinx.serialization.json.JsonObject + +public class PortOneApi( + public val apiSecret: String, + public val storeId: String? = null, +) : Closeable { + private val client: HttpClient = HttpClient(OkHttp) + + private val json: Json = Json { ignoreUnknownKeys = true } + + override fun close() { + client.close() + } + + /** + * 본인인증 단건 조회 + * + * 주어진 아이디에 대응되는 본인인증 내역을 조회합니다. + * + * @throws ForbiddenError 요청이 거절된 경우 + * @throws IdentityVerificationNotFoundError 요청된 본인인증 건이 존재하지 않는 경우 + * @throws InvalidRequestError 요청된 입력 정보가 유효하지 않은 경우 - 허가되지 않은 값, 올바르지 않은 형식의 요청 등이 모두 해당됩니다. + * @throws UnauthorizedError 인증 정보가 올바르지 않은 경우 + * @throws UnrecognizedException API 응답이 알 수 없는 형식인 경우 + * + * @param identityVerificationId 조회할 본인인증 아이디 + * @return 성공 응답으로 본인 인증 객체를 반환합니다. + */ + public suspend fun getIdentityVerification(identityVerificationId: String): IdentityVerification { + val httpResponse = client.get("https://api.portone.io/identity-verifications") { + url { + appendPathSegments(identityVerificationId) + if (storeId != null) parameters.append("storeId", storeId) + } + headers { + append(HttpHeaders.Authorization, "PortOne ${this@PortOneApi.apiSecret}") + } + contentType(ContentType.Application.Json) + accept(ContentType.Application.Json) + } + if (httpResponse.status.value !in 200..299) { + val httpBody = httpResponse.body() + val httpBodyDecoded = try { + this.json.decodeFromString(httpBody) + } + catch (_: Exception) { + throw UnrecognizedException("Unrecognized API error: $httpBody") + } + when (httpBodyDecoded) { + is ForbiddenError -> throw ForbiddenException(message = httpBodyDecoded.message) + is IdentityVerificationNotFoundError -> throw IdentityVerificationNotFoundException(message + = httpBodyDecoded.message) + is InvalidRequestError -> throw InvalidRequestException(message = httpBodyDecoded.message) + is UnauthorizedError -> throw UnauthorizedException(message = httpBodyDecoded.message) + } + } + val httpBody = httpResponse.body() + return try { + this.json.decodeFromString(httpBody) + } + catch (_: Exception) { + throw UnrecognizedException("Unrecognized API response: $httpBody") + } + } + + /** + * 본인인증 요청 전송 + * + * SMS 또는 APP 방식을 이용하여 본인인증 요청을 전송합니다. + * + * @throws ChannelNotFoundError 요청된 채널이 존재하지 않는 경우 + * @throws ForbiddenError 요청이 거절된 경우 + * @throws IdentityVerificationAlreadySentError 본인인증 건이 이미 API로 요청된 상태인 경우 + * @throws IdentityVerificationAlreadyVerifiedError 본인인증 건이 이미 인증 완료된 상태인 경우 + * @throws IdentityVerificationNotFoundError 요청된 본인인증 건이 존재하지 않는 경우 + * @throws InvalidRequestError 요청된 입력 정보가 유효하지 않은 경우 - 허가되지 않은 값, 올바르지 않은 형식의 요청 등이 모두 해당됩니다. + * @throws PgProviderError PG사에서 오류를 전달한 경우 + * @throws UnauthorizedError 인증 정보가 올바르지 않은 경우 + * @throws UnrecognizedException API 응답이 알 수 없는 형식인 경우 + * + * @param identityVerificationId 본인인증 아이디 + * @param channelKey 채널 키 + * @param customer 고객 정보 + * @param customData 사용자 지정 데이터 + * @param bypass PG사별 추가 파라미터 ("PG사별 연동 가이드" 참고) + * @param operator 통신사 + * @param method 본인인증 방식 + * @return 성공 응답 + */ + public suspend fun sendIdentityVerification( + identityVerificationId: String, + channelKey: String, + customer: SendIdentityVerificationBodyCustomer, + customData: String? = null, + bypass: JsonObject? = null, + `operator`: IdentityVerificationOperator, + method: IdentityVerificationMethod, + ) { + val httpResponse = client.post("https://api.portone.io/identity-verifications") { + url { + appendPathSegments(identityVerificationId, "send") + } + headers { + append(HttpHeaders.Authorization, "PortOne ${this@PortOneApi.apiSecret}") + } + contentType(ContentType.Application.Json) + accept(ContentType.Application.Json) + setBody(this@PortOneApi.json.encodeToString(SendIdentityVerificationBody(storeId = storeId, + channelKey = channelKey, customer = customer, customData = customData, bypass = bypass, + operator = operator, method = method))) + } + if (httpResponse.status.value !in 200..299) { + val httpBody = httpResponse.body() + val httpBodyDecoded = try { + this.json.decodeFromString(httpBody) + } + catch (_: Exception) { + throw UnrecognizedException("Unrecognized API error: $httpBody") + } + when (httpBodyDecoded) { + is ChannelNotFoundError -> throw ChannelNotFoundException(message = httpBodyDecoded.message) + is ForbiddenError -> throw ForbiddenException(message = httpBodyDecoded.message) + is IdentityVerificationAlreadySentError -> throw + IdentityVerificationAlreadySentException(message = httpBodyDecoded.message) + is IdentityVerificationAlreadyVerifiedError -> throw + IdentityVerificationAlreadyVerifiedException(message = httpBodyDecoded.message) + is IdentityVerificationNotFoundError -> throw IdentityVerificationNotFoundException(message + = httpBodyDecoded.message) + is InvalidRequestError -> throw InvalidRequestException(message = httpBodyDecoded.message) + is PgProviderError -> throw PgProviderException(message = httpBodyDecoded.message, pgCode = + httpBodyDecoded.pgCode, pgMessage = httpBodyDecoded.pgMessage) + is UnauthorizedError -> throw UnauthorizedException(message = httpBodyDecoded.message) + } + } + val httpBody = httpResponse.body() + return try { + this.json.decodeFromString(httpBody) + } + catch (_: Exception) { + throw UnrecognizedException("Unrecognized API response: $httpBody") + } + } + + /** + * 본인인증 확인 + * + * 요청된 본인인증에 대한 확인을 진행합니다. + * + * @throws ForbiddenError 요청이 거절된 경우 + * @throws IdentityVerificationAlreadyVerifiedError 본인인증 건이 이미 인증 완료된 상태인 경우 + * @throws IdentityVerificationNotFoundError 요청된 본인인증 건이 존재하지 않는 경우 + * @throws IdentityVerificationNotSentError 본인인증 건이 API로 요청된 상태가 아닌 경우 + * @throws InvalidRequestError 요청된 입력 정보가 유효하지 않은 경우 - 허가되지 않은 값, 올바르지 않은 형식의 요청 등이 모두 해당됩니다. + * @throws PgProviderError PG사에서 오류를 전달한 경우 + * @throws UnauthorizedError 인증 정보가 올바르지 않은 경우 + * @throws UnrecognizedException API 응답이 알 수 없는 형식인 경우 + * + * @param identityVerificationId 본인인증 아이디 + * @param otp OTP (One-Time Password) - SMS 방식에서만 사용됩니다. + * @return 성공 응답 + */ + public suspend fun confirmIdentityVerification(identityVerificationId: String, otp: String? = + null): ConfirmIdentityVerificationResponse { + val httpResponse = client.post("https://api.portone.io/identity-verifications") { + url { + appendPathSegments(identityVerificationId, "confirm") + } + headers { + append(HttpHeaders.Authorization, "PortOne ${this@PortOneApi.apiSecret}") + } + contentType(ContentType.Application.Json) + accept(ContentType.Application.Json) + setBody(this@PortOneApi.json.encodeToString(ConfirmIdentityVerificationBody(storeId = storeId, + otp = otp))) + } + if (httpResponse.status.value !in 200..299) { + val httpBody = httpResponse.body() + val httpBodyDecoded = try { + this.json.decodeFromString(httpBody) + } + catch (_: Exception) { + throw UnrecognizedException("Unrecognized API error: $httpBody") + } + when (httpBodyDecoded) { + is ForbiddenError -> throw ForbiddenException(message = httpBodyDecoded.message) + is IdentityVerificationAlreadyVerifiedError -> throw + IdentityVerificationAlreadyVerifiedException(message = httpBodyDecoded.message) + is IdentityVerificationNotFoundError -> throw IdentityVerificationNotFoundException(message + = httpBodyDecoded.message) + is IdentityVerificationNotSentError -> throw IdentityVerificationNotSentException(message = + httpBodyDecoded.message) + is InvalidRequestError -> throw InvalidRequestException(message = httpBodyDecoded.message) + is PgProviderError -> throw PgProviderException(message = httpBodyDecoded.message, pgCode = + httpBodyDecoded.pgCode, pgMessage = httpBodyDecoded.pgMessage) + is UnauthorizedError -> throw UnauthorizedException(message = httpBodyDecoded.message) + } + } + val httpBody = httpResponse.body() + return try { + this.json.decodeFromString(httpBody) + } + catch (_: Exception) { + throw UnrecognizedException("Unrecognized API response: $httpBody") + } + } + + /** + * SMS 본인인증 요청 재전송 + * + * SMS 본인인증 요청을 재전송합니다. + * + * @throws ForbiddenError 요청이 거절된 경우 + * @throws IdentityVerificationAlreadyVerifiedError 본인인증 건이 이미 인증 완료된 상태인 경우 + * @throws IdentityVerificationNotFoundError 요청된 본인인증 건이 존재하지 않는 경우 + * @throws IdentityVerificationNotSentError 본인인증 건이 API로 요청된 상태가 아닌 경우 + * @throws InvalidRequestError 요청된 입력 정보가 유효하지 않은 경우 - 허가되지 않은 값, 올바르지 않은 형식의 요청 등이 모두 해당됩니다. + * @throws PgProviderError PG사에서 오류를 전달한 경우 + * @throws UnauthorizedError 인증 정보가 올바르지 않은 경우 + * @throws UnrecognizedException API 응답이 알 수 없는 형식인 경우 + * + * @param identityVerificationId 본인인증 아이디 + * @return 성공 응답 + */ + public suspend fun resendIdentityVerification(identityVerificationId: String) { + val httpResponse = client.post("https://api.portone.io/identity-verifications") { + url { + appendPathSegments(identityVerificationId, "resend") + if (storeId != null) parameters.append("storeId", storeId) + } + headers { + append(HttpHeaders.Authorization, "PortOne ${this@PortOneApi.apiSecret}") + } + contentType(ContentType.Application.Json) + accept(ContentType.Application.Json) + setBody("{}") + } + if (httpResponse.status.value !in 200..299) { + val httpBody = httpResponse.body() + val httpBodyDecoded = try { + this.json.decodeFromString(httpBody) + } + catch (_: Exception) { + throw UnrecognizedException("Unrecognized API error: $httpBody") + } + when (httpBodyDecoded) { + is ForbiddenError -> throw ForbiddenException(message = httpBodyDecoded.message) + is IdentityVerificationAlreadyVerifiedError -> throw + IdentityVerificationAlreadyVerifiedException(message = httpBodyDecoded.message) + is IdentityVerificationNotFoundError -> throw IdentityVerificationNotFoundException(message + = httpBodyDecoded.message) + is IdentityVerificationNotSentError -> throw IdentityVerificationNotSentException(message = + httpBodyDecoded.message) + is InvalidRequestError -> throw InvalidRequestException(message = httpBodyDecoded.message) + is PgProviderError -> throw PgProviderException(message = httpBodyDecoded.message, pgCode = + httpBodyDecoded.pgCode, pgMessage = httpBodyDecoded.pgMessage) + is UnauthorizedError -> throw UnauthorizedException(message = httpBodyDecoded.message) + } + } + val httpBody = httpResponse.body() + return try { + this.json.decodeFromString(httpBody) + } + catch (_: Exception) { + throw UnrecognizedException("Unrecognized API response: $httpBody") + } + } + + /** + * 결제 정보 사전 등록 + * + * 결제 정보를 사전 등록합니다. + * + * @throws AlreadyPaidError 결제가 이미 완료된 경우 + * @throws ForbiddenError 요청이 거절된 경우 + * @throws InvalidRequestError 요청된 입력 정보가 유효하지 않은 경우 - 허가되지 않은 값, 올바르지 않은 형식의 요청 등이 모두 해당됩니다. + * @throws UnauthorizedError 인증 정보가 올바르지 않은 경우 + * @throws UnrecognizedException API 응답이 알 수 없는 형식인 경우 + * + * @param paymentId 결제 건 아이디 + * @param totalAmount 결제 총 금액 + * @param taxFreeAmount 결제 면세 금액 + * @param currency 통화 단위 + * @return 성공 응답 + */ + public suspend fun preRegisterPayment( + paymentId: String, + totalAmount: Long? = null, + taxFreeAmount: Long? = null, + currency: Currency? = null, + ) { + val httpResponse = client.post("https://api.portone.io/payments") { + url { + appendPathSegments(paymentId, "pre-register") + } + headers { + append(HttpHeaders.Authorization, "PortOne ${this@PortOneApi.apiSecret}") + } + contentType(ContentType.Application.Json) + accept(ContentType.Application.Json) + setBody(this@PortOneApi.json.encodeToString(PreRegisterPaymentBody(storeId = storeId, + totalAmount = totalAmount, taxFreeAmount = taxFreeAmount, currency = currency))) + } + if (httpResponse.status.value !in 200..299) { + val httpBody = httpResponse.body() + val httpBodyDecoded = try { + this.json.decodeFromString(httpBody) + } + catch (_: Exception) { + throw UnrecognizedException("Unrecognized API error: $httpBody") + } + when (httpBodyDecoded) { + is AlreadyPaidError -> throw AlreadyPaidException(message = httpBodyDecoded.message) + is ForbiddenError -> throw ForbiddenException(message = httpBodyDecoded.message) + is InvalidRequestError -> throw InvalidRequestException(message = httpBodyDecoded.message) + is UnauthorizedError -> throw UnauthorizedException(message = httpBodyDecoded.message) + } + } + val httpBody = httpResponse.body() + return try { + this.json.decodeFromString(httpBody) + } + catch (_: Exception) { + throw UnrecognizedException("Unrecognized API response: $httpBody") + } + } + + /** + * 빌링키 단건 조회 + * + * 주어진 빌링키에 대응되는 빌링키 정보를 조회합니다. + * + * @throws BillingKeyNotFoundError 빌링키가 존재하지 않는 경우 + * @throws ForbiddenError 요청이 거절된 경우 + * @throws InvalidRequestError 요청된 입력 정보가 유효하지 않은 경우 - 허가되지 않은 값, 올바르지 않은 형식의 요청 등이 모두 해당됩니다. + * @throws UnauthorizedError 인증 정보가 올바르지 않은 경우 + * @throws UnrecognizedException API 응답이 알 수 없는 형식인 경우 + * + * @param billingKey 조회할 빌링키 + * @return 성공 응답으로 빌링키 정보를 반환합니다. + */ + public suspend fun getBillingKeyInfo(billingKey: String): BillingKeyInfo { + val httpResponse = client.get("https://api.portone.io/billing-keys") { + url { + appendPathSegments(billingKey) + if (storeId != null) parameters.append("storeId", storeId) + } + headers { + append(HttpHeaders.Authorization, "PortOne ${this@PortOneApi.apiSecret}") + } + contentType(ContentType.Application.Json) + accept(ContentType.Application.Json) + } + if (httpResponse.status.value !in 200..299) { + val httpBody = httpResponse.body() + val httpBodyDecoded = try { + this.json.decodeFromString(httpBody) + } + catch (_: Exception) { + throw UnrecognizedException("Unrecognized API error: $httpBody") + } + when (httpBodyDecoded) { + is BillingKeyNotFoundError -> throw BillingKeyNotFoundException(message = + httpBodyDecoded.message) + is ForbiddenError -> throw ForbiddenException(message = httpBodyDecoded.message) + is InvalidRequestError -> throw InvalidRequestException(message = httpBodyDecoded.message) + is UnauthorizedError -> throw UnauthorizedException(message = httpBodyDecoded.message) + } + } + val httpBody = httpResponse.body() + return try { + this.json.decodeFromString(httpBody) + } + catch (_: Exception) { + throw UnrecognizedException("Unrecognized API response: $httpBody") + } + } + + /** + * 빌링키 삭제 + * + * 빌링키를 삭제합니다. + * + * @throws BillingKeyAlreadyDeletedError 빌링키가 이미 삭제된 경우 + * @throws BillingKeyNotFoundError 빌링키가 존재하지 않는 경우 + * @throws BillingKeyNotIssuedError BillingKeyNotIssuedError + * @throws ChannelSpecificError 여러 채널을 지정한 요청에서, 채널 각각에서 오류가 발생한 경우 + * @throws ForbiddenError 요청이 거절된 경우 + * @throws InvalidRequestError 요청된 입력 정보가 유효하지 않은 경우 - 허가되지 않은 값, 올바르지 않은 형식의 요청 등이 모두 해당됩니다. + * @throws PaymentScheduleAlreadyExistsError 결제 예약건이 이미 존재하는 경우 + * @throws PgProviderError PG사에서 오류를 전달한 경우 + * @throws UnauthorizedError 인증 정보가 올바르지 않은 경우 + * @throws UnrecognizedException API 응답이 알 수 없는 형식인 경우 + * + * @param billingKey 삭제할 빌링키 + * @return 성공 응답 + */ + public suspend fun deleteBillingKey(billingKey: String): DeleteBillingKeyResponse { + val httpResponse = client.delete("https://api.portone.io/billing-keys") { + url { + appendPathSegments(billingKey) + if (storeId != null) parameters.append("storeId", storeId) + } + headers { + append(HttpHeaders.Authorization, "PortOne ${this@PortOneApi.apiSecret}") + } + contentType(ContentType.Application.Json) + accept(ContentType.Application.Json) + } + if (httpResponse.status.value !in 200..299) { + val httpBody = httpResponse.body() + val httpBodyDecoded = try { + this.json.decodeFromString(httpBody) + } + catch (_: Exception) { + throw UnrecognizedException("Unrecognized API error: $httpBody") + } + when (httpBodyDecoded) { + is BillingKeyAlreadyDeletedError -> throw BillingKeyAlreadyDeletedException(message = + httpBodyDecoded.message) + is BillingKeyNotFoundError -> throw BillingKeyNotFoundException(message = + httpBodyDecoded.message) + is BillingKeyNotIssuedError -> throw BillingKeyNotIssuedException(message = + httpBodyDecoded.message) + is ChannelSpecificError -> throw ChannelSpecificException(message = httpBodyDecoded.message, + failures = httpBodyDecoded.failures, succeededChannels = + httpBodyDecoded.succeededChannels) + is ForbiddenError -> throw ForbiddenException(message = httpBodyDecoded.message) + is InvalidRequestError -> throw InvalidRequestException(message = httpBodyDecoded.message) + is PaymentScheduleAlreadyExistsError -> throw PaymentScheduleAlreadyExistsException(message + = httpBodyDecoded.message) + is PgProviderError -> throw PgProviderException(message = httpBodyDecoded.message, pgCode = + httpBodyDecoded.pgCode, pgMessage = httpBodyDecoded.pgMessage) + is UnauthorizedError -> throw UnauthorizedException(message = httpBodyDecoded.message) + } + } + val httpBody = httpResponse.body() + return try { + this.json.decodeFromString(httpBody) + } + catch (_: Exception) { + throw UnrecognizedException("Unrecognized API response: $httpBody") + } + } + + /** + * 빌링키 다건 조회 + * + * 주어진 조건에 맞는 빌링키들을 페이지 기반으로 조회합니다. + * + * @throws ForbiddenError 요청이 거절된 경우 + * @throws InvalidRequestError 요청된 입력 정보가 유효하지 않은 경우 - 허가되지 않은 값, 올바르지 않은 형식의 요청 등이 모두 해당됩니다. + * @throws UnauthorizedError 인증 정보가 올바르지 않은 경우 + * @throws UnrecognizedException API 응답이 알 수 없는 형식인 경우 + * + * @param page 요청할 페이지 정보 - 미 입력 시 number: 0, size: 10 으로 기본값이 적용됩니다. + * @param sort 정렬 조건 - 미 입력 시 sortBy: TIME_TO_PAY, sortOrder: DESC 으로 기본값이 적용됩니다. + * @param filter 조회할 빌링키 조건 필터 - V1 빌링키 건의 경우 일부 필드에 대해 필터가 적용되지 않을 수 있습니다. + * @return 성공 응답으로 조회된 빌링키 리스트와 페이지 정보가 반환됩니다. + */ + public suspend fun getBillingKeyInfos( + page: PageInput? = null, + sort: BillingKeySortInput? = null, + filter: BillingKeyFilterInput? = null, + ): GetBillingKeyInfosResponse { + val httpResponse = client.get("https://api.portone.io/billing-keys") { + url { + parameters.append("requestBody", + this@PortOneApi.json.encodeToString(GetBillingKeyInfosBody(page = page, sort = sort, + filter = filter))) + } + headers { + append(HttpHeaders.Authorization, "PortOne ${this@PortOneApi.apiSecret}") + } + contentType(ContentType.Application.Json) + accept(ContentType.Application.Json) + } + if (httpResponse.status.value !in 200..299) { + val httpBody = httpResponse.body() + val httpBodyDecoded = try { + this.json.decodeFromString(httpBody) + } + catch (_: Exception) { + throw UnrecognizedException("Unrecognized API error: $httpBody") + } + when (httpBodyDecoded) { + is ForbiddenError -> throw ForbiddenException(message = httpBodyDecoded.message) + is InvalidRequestError -> throw InvalidRequestException(message = httpBodyDecoded.message) + is UnauthorizedError -> throw UnauthorizedException(message = httpBodyDecoded.message) + } + } + val httpBody = httpResponse.body() + return try { + this.json.decodeFromString(httpBody) + } + catch (_: Exception) { + throw UnrecognizedException("Unrecognized API response: $httpBody") + } + } + + /** + * 빌링키 발급 + * + * 빌링키 발급을 요청합니다. + * + * @throws ChannelNotFoundError 요청된 채널이 존재하지 않는 경우 + * @throws ChannelSpecificError 여러 채널을 지정한 요청에서, 채널 각각에서 오류가 발생한 경우 + * @throws ForbiddenError 요청이 거절된 경우 + * @throws InvalidRequestError 요청된 입력 정보가 유효하지 않은 경우 - 허가되지 않은 값, 올바르지 않은 형식의 요청 등이 모두 해당됩니다. + * @throws PgProviderError PG사에서 오류를 전달한 경우 + * @throws UnauthorizedError 인증 정보가 올바르지 않은 경우 + * @throws UnrecognizedException API 응답이 알 수 없는 형식인 경우 + * + * @param method 빌링키 결제 수단 정보 + * @param channelKey 채널 키 - 채널 키 또는 채널 그룹 ID 필수 + * @param channelGroupId 채널 그룹 ID - 채널 키 또는 채널 그룹 ID 필수 + * @param customer 고객 정보 + * @param customData 사용자 지정 데이터 + * @param bypass PG사별 추가 파라미터 ("PG사별 연동 가이드" 참고) + * @param noticeUrls 웹훅 주소 - 빌링키 발급 시 요청을 받을 웹훅 주소입니다. + * 상점에 설정되어 있는 값보다 우선적으로 적용됩니다. + * 입력된 값이 없을 경우에는 빈 배열로 해석됩니다. + * @return 성공 응답 + */ + public suspend fun issueBillingKey( + method: InstantBillingKeyPaymentMethodInput, + channelKey: String? = null, + channelGroupId: String? = null, + customer: CustomerInput? = null, + customData: String? = null, + bypass: JsonObject? = null, + noticeUrls: List? = null, + ): IssueBillingKeyResponse { + val httpResponse = client.post("https://api.portone.io/billing-keys") { + headers { + append(HttpHeaders.Authorization, "PortOne ${this@PortOneApi.apiSecret}") + } + contentType(ContentType.Application.Json) + accept(ContentType.Application.Json) + setBody(this@PortOneApi.json.encodeToString(IssueBillingKeyBody(storeId = storeId, method = + method, channelKey = channelKey, channelGroupId = channelGroupId, customer = customer, + customData = customData, bypass = bypass, noticeUrls = noticeUrls))) + } + if (httpResponse.status.value !in 200..299) { + val httpBody = httpResponse.body() + val httpBodyDecoded = try { + this.json.decodeFromString(httpBody) + } + catch (_: Exception) { + throw UnrecognizedException("Unrecognized API error: $httpBody") + } + when (httpBodyDecoded) { + is ChannelNotFoundError -> throw ChannelNotFoundException(message = httpBodyDecoded.message) + is ChannelSpecificError -> throw ChannelSpecificException(message = httpBodyDecoded.message, + failures = httpBodyDecoded.failures, succeededChannels = + httpBodyDecoded.succeededChannels) + is ForbiddenError -> throw ForbiddenException(message = httpBodyDecoded.message) + is InvalidRequestError -> throw InvalidRequestException(message = httpBodyDecoded.message) + is PgProviderError -> throw PgProviderException(message = httpBodyDecoded.message, pgCode = + httpBodyDecoded.pgCode, pgMessage = httpBodyDecoded.pgMessage) + is UnauthorizedError -> throw UnauthorizedException(message = httpBodyDecoded.message) + } + } + val httpBody = httpResponse.body() + return try { + this.json.decodeFromString(httpBody) + } + catch (_: Exception) { + throw UnrecognizedException("Unrecognized API response: $httpBody") + } + } + + /** + * 현금 영수증 단건 조회 + * + * 주어진 결제 아이디에 대응되는 현금 영수증 내역을 조회합니다. + * + * @throws CashReceiptNotFoundError 현금영수증이 존재하지 않는 경우 + * @throws ForbiddenError 요청이 거절된 경우 + * @throws InvalidRequestError 요청된 입력 정보가 유효하지 않은 경우 - 허가되지 않은 값, 올바르지 않은 형식의 요청 등이 모두 해당됩니다. + * @throws UnauthorizedError 인증 정보가 올바르지 않은 경우 + * @throws UnrecognizedException API 응답이 알 수 없는 형식인 경우 + * + * @param paymentId 결제 건 아이디 + * @return 성공 응답으로 현금 영수증 객체를 반환합니다. + */ + public suspend fun getCashReceiptByPaymentId(paymentId: String): CashReceipt { + val httpResponse = client.get("https://api.portone.io/payments") { + url { + appendPathSegments(paymentId, "cash-receipt") + if (storeId != null) parameters.append("storeId", storeId) + } + headers { + append(HttpHeaders.Authorization, "PortOne ${this@PortOneApi.apiSecret}") + } + contentType(ContentType.Application.Json) + accept(ContentType.Application.Json) + } + if (httpResponse.status.value !in 200..299) { + val httpBody = httpResponse.body() + val httpBodyDecoded = try { + this.json.decodeFromString(httpBody) + } + catch (_: Exception) { + throw UnrecognizedException("Unrecognized API error: $httpBody") + } + when (httpBodyDecoded) { + is CashReceiptNotFoundError -> throw CashReceiptNotFoundException(message = + httpBodyDecoded.message) + is ForbiddenError -> throw ForbiddenException(message = httpBodyDecoded.message) + is InvalidRequestError -> throw InvalidRequestException(message = httpBodyDecoded.message) + is UnauthorizedError -> throw UnauthorizedException(message = httpBodyDecoded.message) + } + } + val httpBody = httpResponse.body() + return try { + this.json.decodeFromString(httpBody) + } + catch (_: Exception) { + throw UnrecognizedException("Unrecognized API response: $httpBody") + } + } + + /** + * 결제 단건 조회 + * + * 주어진 아이디에 대응되는 결제 건을 조회합니다. + * + * @throws ForbiddenError 요청이 거절된 경우 + * @throws InvalidRequestError 요청된 입력 정보가 유효하지 않은 경우 - 허가되지 않은 값, 올바르지 않은 형식의 요청 등이 모두 해당됩니다. + * @throws PaymentNotFoundError 결제 건이 존재하지 않는 경우 + * @throws UnauthorizedError 인증 정보가 올바르지 않은 경우 + * @throws UnrecognizedException API 응답이 알 수 없는 형식인 경우 + * + * @param paymentId 조회할 결제 아이디 + * @return 성공 응답으로 결제 건 객체를 반환합니다. + */ + public suspend fun getPayment(paymentId: String): Payment { + val httpResponse = client.get("https://api.portone.io/payments") { + url { + appendPathSegments(paymentId) + if (storeId != null) parameters.append("storeId", storeId) + } + headers { + append(HttpHeaders.Authorization, "PortOne ${this@PortOneApi.apiSecret}") + } + contentType(ContentType.Application.Json) + accept(ContentType.Application.Json) + } + if (httpResponse.status.value !in 200..299) { + val httpBody = httpResponse.body() + val httpBodyDecoded = try { + this.json.decodeFromString(httpBody) + } + catch (_: Exception) { + throw UnrecognizedException("Unrecognized API error: $httpBody") + } + when (httpBodyDecoded) { + is ForbiddenError -> throw ForbiddenException(message = httpBodyDecoded.message) + is InvalidRequestError -> throw InvalidRequestException(message = httpBodyDecoded.message) + is PaymentNotFoundError -> throw PaymentNotFoundException(message = httpBodyDecoded.message) + is UnauthorizedError -> throw UnauthorizedException(message = httpBodyDecoded.message) + } + } + val httpBody = httpResponse.body() + return try { + this.json.decodeFromString(httpBody) + } + catch (_: Exception) { + throw UnrecognizedException("Unrecognized API response: $httpBody") + } + } + + /** + * 결제 다건 조회(페이지 기반) + * + * 주어진 조건에 맞는 결제 건들을 페이지 기반으로 조회합니다. + * + * @throws ForbiddenError 요청이 거절된 경우 + * @throws InvalidRequestError 요청된 입력 정보가 유효하지 않은 경우 - 허가되지 않은 값, 올바르지 않은 형식의 요청 등이 모두 해당됩니다. + * @throws UnauthorizedError 인증 정보가 올바르지 않은 경우 + * @throws UnrecognizedException API 응답이 알 수 없는 형식인 경우 + * + * @param page 요청할 페이지 정보 - 미 입력 시 number: 0, size: 10 으로 기본값이 적용됩니다. + * @param filter 조회할 결제 건 조건 필터 - V1 결제 건의 경우 일부 필드에 대해 필터가 적용되지 않을 수 있습니다. + * @return 성공 응답으로 조회된 결제 건 리스트와 페이지 정보가 반환됩니다. + */ + public suspend fun getPayments(page: PageInput? = null, filter: PaymentFilterInput? = null): + GetPaymentsResponse { + val httpResponse = client.get("https://api.portone.io/payments") { + url { + parameters.append("requestBody", this@PortOneApi.json.encodeToString(GetPaymentsBody(page = + page, filter = filter))) + } + headers { + append(HttpHeaders.Authorization, "PortOne ${this@PortOneApi.apiSecret}") + } + contentType(ContentType.Application.Json) + accept(ContentType.Application.Json) + } + if (httpResponse.status.value !in 200..299) { + val httpBody = httpResponse.body() + val httpBodyDecoded = try { + this.json.decodeFromString(httpBody) + } + catch (_: Exception) { + throw UnrecognizedException("Unrecognized API error: $httpBody") + } + when (httpBodyDecoded) { + is ForbiddenError -> throw ForbiddenException(message = httpBodyDecoded.message) + is InvalidRequestError -> throw InvalidRequestException(message = httpBodyDecoded.message) + is UnauthorizedError -> throw UnauthorizedException(message = httpBodyDecoded.message) + } + } + val httpBody = httpResponse.body() + return try { + this.json.decodeFromString(httpBody) + } + catch (_: Exception) { + throw UnrecognizedException("Unrecognized API response: $httpBody") + } + } + + /** + * 결제 대용량 다건 조회(커서 기반) + * + * 기간 내 모든 결제 건을 커서 기반으로 조회합니다. 결제 건의 생성일시를 기준으로 주어진 기간 내 존재하는 모든 결제 건이 조회됩니다. + * + * @throws ForbiddenError 요청이 거절된 경우 + * @throws InvalidRequestError 요청된 입력 정보가 유효하지 않은 경우 - 허가되지 않은 값, 올바르지 않은 형식의 요청 등이 모두 해당됩니다. + * @throws UnauthorizedError 인증 정보가 올바르지 않은 경우 + * @throws UnrecognizedException API 응답이 알 수 없는 형식인 경우 + * + * @param from 결제 건 생성시점 범위 조건의 시작 - 값을 입력하지 않으면 end의 90일 전으로 설정됩니다. + * @param until 결제 건 생성시점 범위 조건의 끝 - 값을 입력하지 않으면 현재 시점으로 설정됩니다. + * @param cursor 커서 - 결제 건 리스트 중 어디서부터 읽어야 할지 가리키는 값입니다. 최초 요청일 경우 값을 입력하지 마시되, 두번째 요청 부터는 이전 요청 + * 응답값의 cursor를 입력해주시면 됩니다. + * @param size 페이지 크기 - 미입력 시 기본값은 10 이며 최대 1000까지 허용 + * @return 성공 응답으로 조회된 결제 건 리스트와 커서 정보가 반환됩니다. + */ + public suspend fun getAllPaymentsByCursor( + from: Instant? = null, + until: Instant? = null, + cursor: String? = null, + size: Int? = null, + ): GetAllPaymentsByCursorResponse { + val httpResponse = client.get("https://api.portone.io/payments-by-cursor") { + url { + parameters.append("requestBody", + this@PortOneApi.json.encodeToString(GetAllPaymentsByCursorBody(storeId = storeId, from = + from, until = until, cursor = cursor, size = size))) + } + headers { + append(HttpHeaders.Authorization, "PortOne ${this@PortOneApi.apiSecret}") + } + contentType(ContentType.Application.Json) + accept(ContentType.Application.Json) + } + if (httpResponse.status.value !in 200..299) { + val httpBody = httpResponse.body() + val httpBodyDecoded = try { + this.json.decodeFromString(httpBody) + } + catch (_: Exception) { + throw UnrecognizedException("Unrecognized API error: $httpBody") + } + when (httpBodyDecoded) { + is ForbiddenError -> throw ForbiddenException(message = httpBodyDecoded.message) + is InvalidRequestError -> throw InvalidRequestException(message = httpBodyDecoded.message) + is UnauthorizedError -> throw UnauthorizedException(message = httpBodyDecoded.message) + } + } + val httpBody = httpResponse.body() + return try { + this.json.decodeFromString(httpBody) + } + catch (_: Exception) { + throw UnrecognizedException("Unrecognized API response: $httpBody") + } + } + + /** + * 결제 예약 단건 조회 + * + * 주어진 아이디에 대응되는 결제 예약 건을 조회합니다. + * + * @throws ForbiddenError 요청이 거절된 경우 + * @throws InvalidRequestError 요청된 입력 정보가 유효하지 않은 경우 - 허가되지 않은 값, 올바르지 않은 형식의 요청 등이 모두 해당됩니다. + * @throws PaymentScheduleNotFoundError 결제 예약건이 존재하지 않는 경우 + * @throws UnauthorizedError 인증 정보가 올바르지 않은 경우 + * @throws UnrecognizedException API 응답이 알 수 없는 형식인 경우 + * + * @param paymentScheduleId 조회할 결제 예약 건 아이디 + * @return 성공 응답으로 결제 예약 건 객체를 반환합니다. + */ + public suspend fun getPaymentSchedule(paymentScheduleId: String): PaymentSchedule { + val httpResponse = client.get("https://api.portone.io/payment-schedules") { + url { + appendPathSegments(paymentScheduleId) + if (storeId != null) parameters.append("storeId", storeId) + } + headers { + append(HttpHeaders.Authorization, "PortOne ${this@PortOneApi.apiSecret}") + } + contentType(ContentType.Application.Json) + accept(ContentType.Application.Json) + } + if (httpResponse.status.value !in 200..299) { + val httpBody = httpResponse.body() + val httpBodyDecoded = try { + this.json.decodeFromString(httpBody) + } + catch (_: Exception) { + throw UnrecognizedException("Unrecognized API error: $httpBody") + } + when (httpBodyDecoded) { + is ForbiddenError -> throw ForbiddenException(message = httpBodyDecoded.message) + is InvalidRequestError -> throw InvalidRequestException(message = httpBodyDecoded.message) + is PaymentScheduleNotFoundError -> throw PaymentScheduleNotFoundException(message = + httpBodyDecoded.message) + is UnauthorizedError -> throw UnauthorizedException(message = httpBodyDecoded.message) + } + } + val httpBody = httpResponse.body() + return try { + this.json.decodeFromString(httpBody) + } + catch (_: Exception) { + throw UnrecognizedException("Unrecognized API response: $httpBody") + } + } + + /** + * 결제 예약 다건 조회 + * + * 주어진 조건에 맞는 결제 예약 건들을 조회합니다. + * `filter.from`, `filter.until` 파라미터의 기본값이 결제 시점 기준 지난 90일에 속하는 건을 조회하도록 되어 있으니, 미래 예약 상태의 건을 + * 조회하기 위해서는 해당 파라미터를 직접 설정해 주셔야 합니다. + * + * @throws ForbiddenError 요청이 거절된 경우 + * @throws InvalidRequestError 요청된 입력 정보가 유효하지 않은 경우 - 허가되지 않은 값, 올바르지 않은 형식의 요청 등이 모두 해당됩니다. + * @throws UnauthorizedError 인증 정보가 올바르지 않은 경우 + * @throws UnrecognizedException API 응답이 알 수 없는 형식인 경우 + * + * @param page 요청할 페이지 정보 - 미 입력 시 number: 0, size: 10 으로 기본값이 적용됩니다. + * @param sort 정렬 조건 - 미 입력 시 sortBy: TIME_TO_PAY, sortOrder: DESC 으로 기본값이 적용됩니다. + * @param filter 조회할 결제 예약 건의 조건 필터 + * @return 성공 응답으로 조회된 예약 결제 건 리스트가 반환됩니다. + */ + public suspend fun getPaymentSchedules( + page: PageInput? = null, + sort: PaymentScheduleSortInput? = null, + filter: PaymentScheduleFilterInput? = null, + ): GetPaymentSchedulesResponse { + val httpResponse = client.get("https://api.portone.io/payment-schedules") { + url { + parameters.append("requestBody", + this@PortOneApi.json.encodeToString(GetPaymentSchedulesBody(page = page, sort = sort, + filter = filter))) + } + headers { + append(HttpHeaders.Authorization, "PortOne ${this@PortOneApi.apiSecret}") + } + contentType(ContentType.Application.Json) + accept(ContentType.Application.Json) + } + if (httpResponse.status.value !in 200..299) { + val httpBody = httpResponse.body() + val httpBodyDecoded = try { + this.json.decodeFromString(httpBody) + } + catch (_: Exception) { + throw UnrecognizedException("Unrecognized API error: $httpBody") + } + when (httpBodyDecoded) { + is ForbiddenError -> throw ForbiddenException(message = httpBodyDecoded.message) + is InvalidRequestError -> throw InvalidRequestException(message = httpBodyDecoded.message) + is UnauthorizedError -> throw UnauthorizedException(message = httpBodyDecoded.message) + } + } + val httpBody = httpResponse.body() + return try { + this.json.decodeFromString(httpBody) + } + catch (_: Exception) { + throw UnrecognizedException("Unrecognized API response: $httpBody") + } + } + + /** + * 결제 예약 취소 + * + * 결제 예약 건을 취소합니다. + * + * @throws BillingKeyAlreadyDeletedError 빌링키가 이미 삭제된 경우 + * @throws BillingKeyNotFoundError 빌링키가 존재하지 않는 경우 + * @throws ForbiddenError 요청이 거절된 경우 + * @throws InvalidRequestError 요청된 입력 정보가 유효하지 않은 경우 - 허가되지 않은 값, 올바르지 않은 형식의 요청 등이 모두 해당됩니다. + * @throws PaymentScheduleAlreadyProcessedError 결제 예약건이 이미 처리된 경우 + * @throws PaymentScheduleAlreadyRevokedError 결제 예약건이 이미 취소된 경우 + * @throws PaymentScheduleNotFoundError 결제 예약건이 존재하지 않는 경우 + * @throws UnauthorizedError 인증 정보가 올바르지 않은 경우 + * @throws UnrecognizedException API 응답이 알 수 없는 형식인 경우 + * + * @param billingKey 빌링키 + * @param scheduleIds 결제 예약 건 아이디 목록 + * @return 성공 응답 + */ + public suspend fun revokePaymentSchedules(billingKey: String? = null, scheduleIds: List? = + null): RevokePaymentSchedulesResponse { + val httpResponse = client.delete("https://api.portone.io/payment-schedules") { + url { + parameters.append("requestBody", + this@PortOneApi.json.encodeToString(RevokePaymentSchedulesBody(storeId = storeId, + billingKey = billingKey, scheduleIds = scheduleIds))) + } + headers { + append(HttpHeaders.Authorization, "PortOne ${this@PortOneApi.apiSecret}") + } + contentType(ContentType.Application.Json) + accept(ContentType.Application.Json) + } + if (httpResponse.status.value !in 200..299) { + val httpBody = httpResponse.body() + val httpBodyDecoded = try { + this.json.decodeFromString(httpBody) + } + catch (_: Exception) { + throw UnrecognizedException("Unrecognized API error: $httpBody") + } + when (httpBodyDecoded) { + is BillingKeyAlreadyDeletedError -> throw BillingKeyAlreadyDeletedException(message = + httpBodyDecoded.message) + is BillingKeyNotFoundError -> throw BillingKeyNotFoundException(message = + httpBodyDecoded.message) + is ForbiddenError -> throw ForbiddenException(message = httpBodyDecoded.message) + is InvalidRequestError -> throw InvalidRequestException(message = httpBodyDecoded.message) + is PaymentScheduleAlreadyProcessedError -> throw + PaymentScheduleAlreadyProcessedException(message = httpBodyDecoded.message) + is PaymentScheduleAlreadyRevokedError -> throw + PaymentScheduleAlreadyRevokedException(message = httpBodyDecoded.message) + is PaymentScheduleNotFoundError -> throw PaymentScheduleNotFoundException(message = + httpBodyDecoded.message) + is UnauthorizedError -> throw UnauthorizedException(message = httpBodyDecoded.message) + } + } + val httpBody = httpResponse.body() + return try { + this.json.decodeFromString(httpBody) + } + catch (_: Exception) { + throw UnrecognizedException("Unrecognized API response: $httpBody") + } + } + + /** + * 결제 예약 + * + * 결제를 예약합니다. + * + * @throws AlreadyPaidOrWaitingError 결제가 이미 완료되었거나 대기중인 경우 + * @throws BillingKeyAlreadyDeletedError 빌링키가 이미 삭제된 경우 + * @throws BillingKeyNotFoundError 빌링키가 존재하지 않는 경우 + * @throws ForbiddenError 요청이 거절된 경우 + * @throws InvalidRequestError 요청된 입력 정보가 유효하지 않은 경우 - 허가되지 않은 값, 올바르지 않은 형식의 요청 등이 모두 해당됩니다. + * @throws PaymentScheduleAlreadyExistsError 결제 예약건이 이미 존재하는 경우 + * @throws SumOfPartsExceedsTotalAmountError 면세 금액 등 하위 항목들의 합이 전체 결제 금액을 초과한 경우 + * @throws UnauthorizedError 인증 정보가 올바르지 않은 경우 + * @throws UnrecognizedException API 응답이 알 수 없는 형식인 경우 + * + * @param paymentId 결제 건 아이디 + * @param payment 빌링키 결제 입력 정보 + * @param timeToPay 결제 예정 시점 + * @return 성공 응답 + */ + public suspend fun createPaymentSchedule( + paymentId: String, + payment: BillingKeyPaymentInput, + timeToPay: Instant, + ): CreatePaymentScheduleResponse { + val httpResponse = client.post("https://api.portone.io/payments") { + url { + appendPathSegments(paymentId, "schedule") + } + headers { + append(HttpHeaders.Authorization, "PortOne ${this@PortOneApi.apiSecret}") + } + contentType(ContentType.Application.Json) + accept(ContentType.Application.Json) + setBody(this@PortOneApi.json.encodeToString(CreatePaymentScheduleBody(payment = payment, + timeToPay = timeToPay))) + } + if (httpResponse.status.value !in 200..299) { + val httpBody = httpResponse.body() + val httpBodyDecoded = try { + this.json.decodeFromString(httpBody) + } + catch (_: Exception) { + throw UnrecognizedException("Unrecognized API error: $httpBody") + } + when (httpBodyDecoded) { + is AlreadyPaidOrWaitingError -> throw AlreadyPaidOrWaitingException(message = + httpBodyDecoded.message) + is BillingKeyAlreadyDeletedError -> throw BillingKeyAlreadyDeletedException(message = + httpBodyDecoded.message) + is BillingKeyNotFoundError -> throw BillingKeyNotFoundException(message = + httpBodyDecoded.message) + is ForbiddenError -> throw ForbiddenException(message = httpBodyDecoded.message) + is InvalidRequestError -> throw InvalidRequestException(message = httpBodyDecoded.message) + is PaymentScheduleAlreadyExistsError -> throw PaymentScheduleAlreadyExistsException(message + = httpBodyDecoded.message) + is SumOfPartsExceedsTotalAmountError -> throw SumOfPartsExceedsTotalAmountException(message + = httpBodyDecoded.message) + is UnauthorizedError -> throw UnauthorizedException(message = httpBodyDecoded.message) + } + } + val httpBody = httpResponse.body() + return try { + this.json.decodeFromString(httpBody) + } + catch (_: Exception) { + throw UnrecognizedException("Unrecognized API response: $httpBody") + } + } + + /** + * 결제 취소 + * + * 결제 취소를 요청합니다. + * + * @throws CancellableAmountConsistencyBrokenError 취소 가능 잔액 검증에 실패한 경우 + * @throws CancelAmountExceedsCancellableAmountError 결제 취소 금액이 취소 가능 금액을 초과한 경우 + * @throws CancelTaxAmountExceedsCancellableTaxAmountError 취소 과세 금액이 취소 가능한 과세 금액을 초과한 경우 + * @throws CancelTaxFreeAmountExceedsCancellableTaxFreeAmountError 취소 면세 금액이 취소 가능한 면세 금액을 초과한 경우 + * @throws ForbiddenError 요청이 거절된 경우 + * @throws InvalidRequestError 요청된 입력 정보가 유효하지 않은 경우 - 허가되지 않은 값, 올바르지 않은 형식의 요청 등이 모두 해당됩니다. + * @throws PaymentAlreadyCancelledError 결제가 이미 취소된 경우 + * @throws PaymentNotFoundError 결제 건이 존재하지 않는 경우 + * @throws PaymentNotPaidError 결제가 완료되지 않은 경우 + * @throws PgProviderError PG사에서 오류를 전달한 경우 + * @throws RemainedAmountLessThanPromotionMinPaymentAmountError 부분 취소 시, 취소하게 될 경우 남은 금액이 프로모션의 최소 + * 결제 금액보다 작아지는 경우 + * @throws SumOfPartsExceedsCancelAmountError 면세 금액 등 하위 항목들의 합이 전체 취소 금액을 초과한 경우 + * @throws UnauthorizedError 인증 정보가 올바르지 않은 경우 + * @throws UnrecognizedException API 응답이 알 수 없는 형식인 경우 + * + * @param paymentId 결제 건 아이디 + * @param amount 취소 총 금액 - 값을 입력하지 않으면 전액 취소됩니다. + * @param taxFreeAmount 취소 금액 중 면세 금액 - 값을 입력하지 않으면 전액 과세 취소됩니다. + * @param vatAmount 취소 금액 중 부가세액 - 값을 입력하지 않으면 자동 계산됩니다. + * @param reason 취소 사유 + * @param requester 취소 요청자 - 고객에 의한 취소일 경우 Customer, 관리자에 의한 취소일 경우 Admin으로 입력합니다. + * @param currentCancellableAmount 결제 건의 취소 가능 잔액 - 본 취소 요청 이전의 취소 가능 잔액으로써, 값을 입력하면 잔액이 일치하는 경우에만 + * 취소가 진행됩니다. 값을 입력하지 않으면 별도의 검증 처리를 수행하지 않습니다. + * @param refundAccount 환불 계좌 - 계좌 환불일 경우 입력합니다. 계좌 환불이 필요한 경우는 가상계좌 환불, 휴대폰 익월 환불 등이 있습니다. + * @return 성공 응답 + */ + public suspend fun cancelPayment( + paymentId: String, + amount: Long? = null, + taxFreeAmount: Long? = null, + vatAmount: Long? = null, + reason: String, + requester: CancelRequester? = null, + currentCancellableAmount: Long? = null, + refundAccount: CancelPaymentBodyRefundAccount? = null, + ): CancelPaymentResponse { + val httpResponse = client.post("https://api.portone.io/payments") { + url { + appendPathSegments(paymentId, "cancel") + } + headers { + append(HttpHeaders.Authorization, "PortOne ${this@PortOneApi.apiSecret}") + } + contentType(ContentType.Application.Json) + accept(ContentType.Application.Json) + setBody(this@PortOneApi.json.encodeToString(CancelPaymentBody(storeId = storeId, amount = + amount, taxFreeAmount = taxFreeAmount, vatAmount = vatAmount, reason = reason, requester = + requester, currentCancellableAmount = currentCancellableAmount, refundAccount = + refundAccount))) + } + if (httpResponse.status.value !in 200..299) { + val httpBody = httpResponse.body() + val httpBodyDecoded = try { + this.json.decodeFromString(httpBody) + } + catch (_: Exception) { + throw UnrecognizedException("Unrecognized API error: $httpBody") + } + when (httpBodyDecoded) { + is CancellableAmountConsistencyBrokenError -> throw + CancellableAmountConsistencyBrokenException(message = httpBodyDecoded.message) + is CancelAmountExceedsCancellableAmountError -> throw + CancelAmountExceedsCancellableAmountException(message = httpBodyDecoded.message) + is CancelTaxAmountExceedsCancellableTaxAmountError -> throw + CancelTaxAmountExceedsCancellableTaxAmountException(message = httpBodyDecoded.message) + is CancelTaxFreeAmountExceedsCancellableTaxFreeAmountError -> throw + CancelTaxFreeAmountExceedsCancellableTaxFreeAmountException(message = + httpBodyDecoded.message) + is ForbiddenError -> throw ForbiddenException(message = httpBodyDecoded.message) + is InvalidRequestError -> throw InvalidRequestException(message = httpBodyDecoded.message) + is PaymentAlreadyCancelledError -> throw PaymentAlreadyCancelledException(message = + httpBodyDecoded.message) + is PaymentNotFoundError -> throw PaymentNotFoundException(message = httpBodyDecoded.message) + is PaymentNotPaidError -> throw PaymentNotPaidException(message = httpBodyDecoded.message) + is PgProviderError -> throw PgProviderException(message = httpBodyDecoded.message, pgCode = + httpBodyDecoded.pgCode, pgMessage = httpBodyDecoded.pgMessage) + is RemainedAmountLessThanPromotionMinPaymentAmountError -> throw + RemainedAmountLessThanPromotionMinPaymentAmountException(message = + httpBodyDecoded.message) + is SumOfPartsExceedsCancelAmountError -> throw + SumOfPartsExceedsCancelAmountException(message = httpBodyDecoded.message) + is UnauthorizedError -> throw UnauthorizedException(message = httpBodyDecoded.message) + } + } + val httpBody = httpResponse.body() + return try { + this.json.decodeFromString(httpBody) + } + catch (_: Exception) { + throw UnrecognizedException("Unrecognized API response: $httpBody") + } + } + + /** + * 빌링키 결제 + * + * 빌링키로 결제를 진행합니다. + * + * @throws AlreadyPaidError 결제가 이미 완료된 경우 + * @throws BillingKeyAlreadyDeletedError 빌링키가 이미 삭제된 경우 + * @throws BillingKeyNotFoundError 빌링키가 존재하지 않는 경우 + * @throws ChannelNotFoundError 요청된 채널이 존재하지 않는 경우 + * @throws DiscountAmountExceedsTotalAmountError 프로모션 할인 금액이 결제 시도 금액 이상인 경우 + * @throws ForbiddenError 요청이 거절된 경우 + * @throws InvalidRequestError 요청된 입력 정보가 유효하지 않은 경우 - 허가되지 않은 값, 올바르지 않은 형식의 요청 등이 모두 해당됩니다. + * @throws PgProviderError PG사에서 오류를 전달한 경우 + * @throws PromotionPayMethodDoesNotMatchError 결제수단이 프로모션에 지정된 것과 일치하지 않는 경우 + * @throws SumOfPartsExceedsTotalAmountError 면세 금액 등 하위 항목들의 합이 전체 결제 금액을 초과한 경우 + * @throws UnauthorizedError 인증 정보가 올바르지 않은 경우 + * @throws UnrecognizedException API 응답이 알 수 없는 형식인 경우 + * + * @param paymentId 결제 건 아이디 + * @param billingKey 빌링키 결제에 사용할 빌링키 + * @param channelKey 채널 키 - 다수 채널에 대해 발급된 빌링키에 대해, 결제 채널을 특정하고 싶을 때 명시 + * @param orderName 주문명 + * @param customer 고객 정보 + * @param customData 사용자 지정 데이터 + * @param amount 결제 금액 세부 입력 정보 + * @param currency 통화 + * @param installmentMonth 할부 개월 수 + * @param useFreeInterestFromMerchant 무이자 할부 이자를 고객사가 부담할지 여부 + * @param useCardPoint 카드 포인트 사용 여부 + * @param cashReceipt 현금영수증 정보 + * @param country 결제 국가 + * @param noticeUrls 웹훅 주소 - 결제 승인/실패 시 요청을 받을 웹훅 주소입니다. + * 상점에 설정되어 있는 값보다 우선적으로 적용됩니다. + * 입력된 값이 없을 경우에는 빈 배열로 해석됩니다. + * @param products 상품 정보 - 입력된 값이 없을 경우에는 빈 배열로 해석됩니다. + * @param productCount 상품 개수 + * @param productType 상품 유형 + * @param shippingAddress 배송지 주소 + * @param promotionId 해당 결제에 적용할 프로모션 아이디 + * @param bypass PG사별 추가 파라미터 ("PG사별 연동 가이드" 참고) + * @return 성공 응답 + */ + public suspend fun payWithBillingKey( + paymentId: String, + billingKey: String, + channelKey: String? = null, + orderName: String, + customer: CustomerInput? = null, + customData: String? = null, + amount: PaymentAmountInput, + currency: Currency, + installmentMonth: Int? = null, + useFreeInterestFromMerchant: Boolean? = null, + useCardPoint: Boolean? = null, + cashReceipt: CashReceiptInput? = null, + country: Country? = null, + noticeUrls: List? = null, + products: List? = null, + productCount: Int? = null, + productType: PaymentProductType? = null, + shippingAddress: SeparatedAddressInput? = null, + promotionId: String? = null, + bypass: JsonObject? = null, + ): PayWithBillingKeyResponse { + val httpResponse = client.post("https://api.portone.io/payments") { + url { + appendPathSegments(paymentId, "billing-key") + } + headers { + append(HttpHeaders.Authorization, "PortOne ${this@PortOneApi.apiSecret}") + } + contentType(ContentType.Application.Json) + accept(ContentType.Application.Json) + setBody(this@PortOneApi.json.encodeToString(BillingKeyPaymentInput(storeId = storeId, + billingKey = billingKey, channelKey = channelKey, orderName = orderName, customer = + customer, customData = customData, amount = amount, currency = currency, installmentMonth + = installmentMonth, useFreeInterestFromMerchant = useFreeInterestFromMerchant, + useCardPoint = useCardPoint, cashReceipt = cashReceipt, country = country, noticeUrls = + noticeUrls, products = products, productCount = productCount, productType = productType, + shippingAddress = shippingAddress, promotionId = promotionId, bypass = bypass))) + } + if (httpResponse.status.value !in 200..299) { + val httpBody = httpResponse.body() + val httpBodyDecoded = try { + this.json.decodeFromString(httpBody) + } + catch (_: Exception) { + throw UnrecognizedException("Unrecognized API error: $httpBody") + } + when (httpBodyDecoded) { + is AlreadyPaidError -> throw AlreadyPaidException(message = httpBodyDecoded.message) + is BillingKeyAlreadyDeletedError -> throw BillingKeyAlreadyDeletedException(message = + httpBodyDecoded.message) + is BillingKeyNotFoundError -> throw BillingKeyNotFoundException(message = + httpBodyDecoded.message) + is ChannelNotFoundError -> throw ChannelNotFoundException(message = httpBodyDecoded.message) + is DiscountAmountExceedsTotalAmountError -> throw + DiscountAmountExceedsTotalAmountException(message = httpBodyDecoded.message) + is ForbiddenError -> throw ForbiddenException(message = httpBodyDecoded.message) + is InvalidRequestError -> throw InvalidRequestException(message = httpBodyDecoded.message) + is PgProviderError -> throw PgProviderException(message = httpBodyDecoded.message, pgCode = + httpBodyDecoded.pgCode, pgMessage = httpBodyDecoded.pgMessage) + is PromotionPayMethodDoesNotMatchError -> throw + PromotionPayMethodDoesNotMatchException(message = httpBodyDecoded.message) + is SumOfPartsExceedsTotalAmountError -> throw SumOfPartsExceedsTotalAmountException(message + = httpBodyDecoded.message) + is UnauthorizedError -> throw UnauthorizedException(message = httpBodyDecoded.message) + } + } + val httpBody = httpResponse.body() + return try { + this.json.decodeFromString(httpBody) + } + catch (_: Exception) { + throw UnrecognizedException("Unrecognized API response: $httpBody") + } + } + + /** + * 수기 결제 + * + * 수기 결제를 진행합니다. + * + * @throws AlreadyPaidError 결제가 이미 완료된 경우 + * @throws ChannelNotFoundError 요청된 채널이 존재하지 않는 경우 + * @throws DiscountAmountExceedsTotalAmountError 프로모션 할인 금액이 결제 시도 금액 이상인 경우 + * @throws ForbiddenError 요청이 거절된 경우 + * @throws InvalidRequestError 요청된 입력 정보가 유효하지 않은 경우 - 허가되지 않은 값, 올바르지 않은 형식의 요청 등이 모두 해당됩니다. + * @throws PgProviderError PG사에서 오류를 전달한 경우 + * @throws PromotionPayMethodDoesNotMatchError 결제수단이 프로모션에 지정된 것과 일치하지 않는 경우 + * @throws SumOfPartsExceedsTotalAmountError 면세 금액 등 하위 항목들의 합이 전체 결제 금액을 초과한 경우 + * @throws UnauthorizedError 인증 정보가 올바르지 않은 경우 + * @throws UnrecognizedException API 응답이 알 수 없는 형식인 경우 + * + * @param paymentId 결제 건 아이디 + * @param channelKey 채널 키 - 채널 키 또는 채널 그룹 ID 필수 + * @param channelGroupId 채널 그룹 ID - 채널 키 또는 채널 그룹 ID 필수 + * @param method 결제수단 정보 + * @param orderName 주문명 + * @param isCulturalExpense 문화비 지출 여부 - 기본값은 false 입니다. + * @param isEscrow 에스크로 결제 여부 - 기본값은 false 입니다. + * @param customer 고객 정보 + * @param customData 사용자 지정 데이터 + * @param amount 결제 금액 세부 입력 정보 + * @param currency 통화 + * @param country 결제 국가 + * @param noticeUrls 웹훅 주소 - 결제 승인/실패 시 요청을 받을 웹훅 주소입니다. + * 상점에 설정되어 있는 값보다 우선적으로 적용됩니다. + * 입력된 값이 없을 경우에는 빈 배열로 해석됩니다. + * @param products 상품 정보 - 입력된 값이 없을 경우에는 빈 배열로 해석됩니다. + * @param productCount 상품 개수 + * @param productType 상품 유형 + * @param shippingAddress 배송지 주소 + * @param promotionId 해당 결제에 적용할 프로모션 아이디 + * @return 성공 응답 + */ + public suspend fun payInstantly( + paymentId: String, + channelKey: String? = null, + channelGroupId: String? = null, + method: InstantPaymentMethodInput, + orderName: String, + isCulturalExpense: Boolean? = null, + isEscrow: Boolean? = null, + customer: CustomerInput? = null, + customData: String? = null, + amount: PaymentAmountInput, + currency: Currency, + country: Country? = null, + noticeUrls: List? = null, + products: List? = null, + productCount: Int? = null, + productType: PaymentProductType? = null, + shippingAddress: SeparatedAddressInput? = null, + promotionId: String? = null, + ): PayInstantlyResponse { + val httpResponse = client.post("https://api.portone.io/payments") { + url { + appendPathSegments(paymentId, "instant") + } + headers { + append(HttpHeaders.Authorization, "PortOne ${this@PortOneApi.apiSecret}") + } + contentType(ContentType.Application.Json) + accept(ContentType.Application.Json) + setBody(this@PortOneApi.json.encodeToString(InstantPaymentInput(storeId = storeId, channelKey + = channelKey, channelGroupId = channelGroupId, method = method, orderName = orderName, + isCulturalExpense = isCulturalExpense, isEscrow = isEscrow, customer = customer, + customData = customData, amount = amount, currency = currency, country = country, + noticeUrls = noticeUrls, products = products, productCount = productCount, productType = + productType, shippingAddress = shippingAddress, promotionId = promotionId))) + } + if (httpResponse.status.value !in 200..299) { + val httpBody = httpResponse.body() + val httpBodyDecoded = try { + this.json.decodeFromString(httpBody) + } + catch (_: Exception) { + throw UnrecognizedException("Unrecognized API error: $httpBody") + } + when (httpBodyDecoded) { + is AlreadyPaidError -> throw AlreadyPaidException(message = httpBodyDecoded.message) + is ChannelNotFoundError -> throw ChannelNotFoundException(message = httpBodyDecoded.message) + is DiscountAmountExceedsTotalAmountError -> throw + DiscountAmountExceedsTotalAmountException(message = httpBodyDecoded.message) + is ForbiddenError -> throw ForbiddenException(message = httpBodyDecoded.message) + is InvalidRequestError -> throw InvalidRequestException(message = httpBodyDecoded.message) + is PgProviderError -> throw PgProviderException(message = httpBodyDecoded.message, pgCode = + httpBodyDecoded.pgCode, pgMessage = httpBodyDecoded.pgMessage) + is PromotionPayMethodDoesNotMatchError -> throw + PromotionPayMethodDoesNotMatchException(message = httpBodyDecoded.message) + is SumOfPartsExceedsTotalAmountError -> throw SumOfPartsExceedsTotalAmountException(message + = httpBodyDecoded.message) + is UnauthorizedError -> throw UnauthorizedException(message = httpBodyDecoded.message) + } + } + val httpBody = httpResponse.body() + return try { + this.json.decodeFromString(httpBody) + } + catch (_: Exception) { + throw UnrecognizedException("Unrecognized API response: $httpBody") + } + } + + /** + * 현금 영수증 수동 발급 + * + * 현금 영수증 발급을 요청합니다. + * + * @throws CashReceiptAlreadyIssuedError 현금영수증이 이미 발급된 경우 + * @throws ChannelNotFoundError 요청된 채널이 존재하지 않는 경우 + * @throws ForbiddenError 요청이 거절된 경우 + * @throws InvalidRequestError 요청된 입력 정보가 유효하지 않은 경우 - 허가되지 않은 값, 올바르지 않은 형식의 요청 등이 모두 해당됩니다. + * @throws PgProviderError PG사에서 오류를 전달한 경우 + * @throws UnauthorizedError 인증 정보가 올바르지 않은 경우 + * @throws UnrecognizedException API 응답이 알 수 없는 형식인 경우 + * + * @param paymentId 결제 건 아이디 - 외부 결제 건에 대한 수동 발급의 경우, 아이디를 직접 채번하여 입력합니다. + * @param channelKey 채널 키 + * @param type 현금 영수증 유형 + * @param orderName 주문명 + * @param currency 화폐 + * @param amount 금액 세부 입력 정보 + * @param productType 상품 유형 + * @param customer 고객 정보 + * @param paidAt 결제 일자 + * @return 성공 응답 + */ + public suspend fun issueCashReceipt( + paymentId: String, + channelKey: String, + type: CashReceiptType, + orderName: String, + currency: Currency, + amount: PaymentAmountInput, + productType: PaymentProductType? = null, + customer: IssueCashReceiptCustomerInput, + paidAt: Instant? = null, + ): IssueCashReceiptResponse { + val httpResponse = client.post("https://api.portone.io/cash-receipts") { + headers { + append(HttpHeaders.Authorization, "PortOne ${this@PortOneApi.apiSecret}") + } + contentType(ContentType.Application.Json) + accept(ContentType.Application.Json) + setBody(this@PortOneApi.json.encodeToString(IssueCashReceiptBody(storeId = storeId, paymentId + = paymentId, channelKey = channelKey, type = type, orderName = orderName, currency = + currency, amount = amount, productType = productType, customer = customer, paidAt = + paidAt))) + } + if (httpResponse.status.value !in 200..299) { + val httpBody = httpResponse.body() + val httpBodyDecoded = try { + this.json.decodeFromString(httpBody) + } + catch (_: Exception) { + throw UnrecognizedException("Unrecognized API error: $httpBody") + } + when (httpBodyDecoded) { + is CashReceiptAlreadyIssuedError -> throw CashReceiptAlreadyIssuedException(message = + httpBodyDecoded.message) + is ChannelNotFoundError -> throw ChannelNotFoundException(message = httpBodyDecoded.message) + is ForbiddenError -> throw ForbiddenException(message = httpBodyDecoded.message) + is InvalidRequestError -> throw InvalidRequestException(message = httpBodyDecoded.message) + is PgProviderError -> throw PgProviderException(message = httpBodyDecoded.message, pgCode = + httpBodyDecoded.pgCode, pgMessage = httpBodyDecoded.pgMessage) + is UnauthorizedError -> throw UnauthorizedException(message = httpBodyDecoded.message) + } + } + val httpBody = httpResponse.body() + return try { + this.json.decodeFromString(httpBody) + } + catch (_: Exception) { + throw UnrecognizedException("Unrecognized API response: $httpBody") + } + } + + /** + * 현금 영수증 취소 + * + * 현금 영수증 취소를 요청합니다. + * + * @throws CashReceiptNotFoundError 현금영수증이 존재하지 않는 경우 + * @throws CashReceiptNotIssuedError 현금영수증이 발급되지 않은 경우 + * @throws ForbiddenError 요청이 거절된 경우 + * @throws InvalidRequestError 요청된 입력 정보가 유효하지 않은 경우 - 허가되지 않은 값, 올바르지 않은 형식의 요청 등이 모두 해당됩니다. + * @throws PgProviderError PG사에서 오류를 전달한 경우 + * @throws UnauthorizedError 인증 정보가 올바르지 않은 경우 + * @throws UnrecognizedException API 응답이 알 수 없는 형식인 경우 + * + * @param paymentId 결제 건 아이디 + * @return 성공 응답 + */ + public suspend fun cancelCashReceiptByPaymentId(paymentId: String): CancelCashReceiptResponse { + val httpResponse = client.post("https://api.portone.io/payments") { + url { + appendPathSegments(paymentId, "cash-receipt", "cancel") + if (storeId != null) parameters.append("storeId", storeId) + } + headers { + append(HttpHeaders.Authorization, "PortOne ${this@PortOneApi.apiSecret}") + } + contentType(ContentType.Application.Json) + accept(ContentType.Application.Json) + setBody("{}") + } + if (httpResponse.status.value !in 200..299) { + val httpBody = httpResponse.body() + val httpBodyDecoded = try { + this.json.decodeFromString(httpBody) + } + catch (_: Exception) { + throw UnrecognizedException("Unrecognized API error: $httpBody") + } + when (httpBodyDecoded) { + is CashReceiptNotFoundError -> throw CashReceiptNotFoundException(message = + httpBodyDecoded.message) + is CashReceiptNotIssuedError -> throw CashReceiptNotIssuedException(message = + httpBodyDecoded.message) + is ForbiddenError -> throw ForbiddenException(message = httpBodyDecoded.message) + is InvalidRequestError -> throw InvalidRequestException(message = httpBodyDecoded.message) + is PgProviderError -> throw PgProviderException(message = httpBodyDecoded.message, pgCode = + httpBodyDecoded.pgCode, pgMessage = httpBodyDecoded.pgMessage) + is UnauthorizedError -> throw UnauthorizedException(message = httpBodyDecoded.message) + } + } + val httpBody = httpResponse.body() + return try { + this.json.decodeFromString(httpBody) + } + catch (_: Exception) { + throw UnrecognizedException("Unrecognized API response: $httpBody") + } + } + + /** + * 가상계좌 말소 + * + * 발급된 가상계좌를 말소합니다. + * + * @throws ForbiddenError 요청이 거절된 경우 + * @throws InvalidRequestError 요청된 입력 정보가 유효하지 않은 경우 - 허가되지 않은 값, 올바르지 않은 형식의 요청 등이 모두 해당됩니다. + * @throws PaymentNotFoundError 결제 건이 존재하지 않는 경우 + * @throws PaymentNotWaitingForDepositError 결제 건이 입금 대기 상태가 아닌 경우 + * @throws PgProviderError PG사에서 오류를 전달한 경우 + * @throws UnauthorizedError 인증 정보가 올바르지 않은 경우 + * @throws UnrecognizedException API 응답이 알 수 없는 형식인 경우 + * + * @param paymentId 결제 건 아이디 + * @return 성공 응답 + */ + public suspend fun closeVirtualAccount(paymentId: String): CloseVirtualAccountResponse { + val httpResponse = client.post("https://api.portone.io/payments") { + url { + appendPathSegments(paymentId, "virtual-account", "close") + if (storeId != null) parameters.append("storeId", storeId) + } + headers { + append(HttpHeaders.Authorization, "PortOne ${this@PortOneApi.apiSecret}") + } + contentType(ContentType.Application.Json) + accept(ContentType.Application.Json) + setBody("{}") + } + if (httpResponse.status.value !in 200..299) { + val httpBody = httpResponse.body() + val httpBodyDecoded = try { + this.json.decodeFromString(httpBody) + } + catch (_: Exception) { + throw UnrecognizedException("Unrecognized API error: $httpBody") + } + when (httpBodyDecoded) { + is ForbiddenError -> throw ForbiddenException(message = httpBodyDecoded.message) + is InvalidRequestError -> throw InvalidRequestException(message = httpBodyDecoded.message) + is PaymentNotFoundError -> throw PaymentNotFoundException(message = httpBodyDecoded.message) + is PaymentNotWaitingForDepositError -> throw PaymentNotWaitingForDepositException(message = + httpBodyDecoded.message) + is PgProviderError -> throw PgProviderException(message = httpBodyDecoded.message, pgCode = + httpBodyDecoded.pgCode, pgMessage = httpBodyDecoded.pgMessage) + is UnauthorizedError -> throw UnauthorizedException(message = httpBodyDecoded.message) + } + } + val httpBody = httpResponse.body() + return try { + this.json.decodeFromString(httpBody) + } + catch (_: Exception) { + throw UnrecognizedException("Unrecognized API response: $httpBody") + } + } + + /** + * 에스크로 배송 정보 등록 + * + * 에스크로 배송 정보를 등록합니다. + * + * @throws ForbiddenError 요청이 거절된 경우 + * @throws InvalidRequestError 요청된 입력 정보가 유효하지 않은 경우 - 허가되지 않은 값, 올바르지 않은 형식의 요청 등이 모두 해당됩니다. + * @throws PaymentNotFoundError 결제 건이 존재하지 않는 경우 + * @throws PaymentNotPaidError 결제가 완료되지 않은 경우 + * @throws PgProviderError PG사에서 오류를 전달한 경우 + * @throws UnauthorizedError 인증 정보가 올바르지 않은 경우 + * @throws UnrecognizedException API 응답이 알 수 없는 형식인 경우 + * + * @param paymentId 결제 건 아이디 + * @param sender 에스크로 발송자 정보 + * @param receiver 에스크로 수취인 정보 + * @param logistics 에스크로 물류 정보 + * @param sendEmail 이메일 알림 전송 여부 - 에스크로 구매 확정 시 이메일로 알림을 보낼지 여부입니다. + * @param products 상품 정보 + * @return 성공 응답 + */ + public suspend fun applyEscrowLogistics( + paymentId: String, + sender: PaymentEscrowSenderInput? = null, + `receiver`: PaymentEscrowReceiverInput? = null, + logistics: PaymentLogistics, + sendEmail: Boolean? = null, + products: List? = null, + ): ApplyEscrowLogisticsResponse { + val httpResponse = client.post("https://api.portone.io/payments") { + url { + appendPathSegments(paymentId, "escrow", "logistics") + } + headers { + append(HttpHeaders.Authorization, "PortOne ${this@PortOneApi.apiSecret}") + } + contentType(ContentType.Application.Json) + accept(ContentType.Application.Json) + setBody(this@PortOneApi.json.encodeToString(RegisterEscrowLogisticsBody(storeId = storeId, + sender = sender, receiver = receiver, logistics = logistics, sendEmail = sendEmail, + products = products))) + } + if (httpResponse.status.value !in 200..299) { + val httpBody = httpResponse.body() + val httpBodyDecoded = try { + this.json.decodeFromString(httpBody) + } + catch (_: Exception) { + throw UnrecognizedException("Unrecognized API error: $httpBody") + } + when (httpBodyDecoded) { + is ForbiddenError -> throw ForbiddenException(message = httpBodyDecoded.message) + is InvalidRequestError -> throw InvalidRequestException(message = httpBodyDecoded.message) + is PaymentNotFoundError -> throw PaymentNotFoundException(message = httpBodyDecoded.message) + is PaymentNotPaidError -> throw PaymentNotPaidException(message = httpBodyDecoded.message) + is PgProviderError -> throw PgProviderException(message = httpBodyDecoded.message, pgCode = + httpBodyDecoded.pgCode, pgMessage = httpBodyDecoded.pgMessage) + is UnauthorizedError -> throw UnauthorizedException(message = httpBodyDecoded.message) + } + } + val httpBody = httpResponse.body() + return try { + this.json.decodeFromString(httpBody) + } + catch (_: Exception) { + throw UnrecognizedException("Unrecognized API response: $httpBody") + } + } + + /** + * 에스크로 배송 정보 수정 + * + * 에스크로 배송 정보를 수정합니다. + * + * @throws ForbiddenError 요청이 거절된 경우 + * @throws InvalidRequestError 요청된 입력 정보가 유효하지 않은 경우 - 허가되지 않은 값, 올바르지 않은 형식의 요청 등이 모두 해당됩니다. + * @throws PaymentNotFoundError 결제 건이 존재하지 않는 경우 + * @throws PaymentNotPaidError 결제가 완료되지 않은 경우 + * @throws PgProviderError PG사에서 오류를 전달한 경우 + * @throws UnauthorizedError 인증 정보가 올바르지 않은 경우 + * @throws UnrecognizedException API 응답이 알 수 없는 형식인 경우 + * + * @param paymentId 결제 건 아이디 + * @param sender 에스크로 발송자 정보 + * @param receiver 에스크로 수취인 정보 + * @param logistics 에스크로 물류 정보 + * @param sendEmail 이메일 알림 전송 여부 - 에스크로 구매 확정 시 이메일로 알림을 보낼지 여부입니다. + * @param products 상품 정보 + * @return 성공 응답 + */ + public suspend fun modifyEscrowLogistics( + paymentId: String, + sender: PaymentEscrowSenderInput? = null, + `receiver`: PaymentEscrowReceiverInput? = null, + logistics: PaymentLogistics, + sendEmail: Boolean? = null, + products: List? = null, + ): ModifyEscrowLogisticsResponse { + val httpResponse = client.patch("https://api.portone.io/payments") { + url { + appendPathSegments(paymentId, "escrow", "logistics") + } + headers { + append(HttpHeaders.Authorization, "PortOne ${this@PortOneApi.apiSecret}") + } + contentType(ContentType.Application.Json) + accept(ContentType.Application.Json) + setBody(this@PortOneApi.json.encodeToString(ModifyEscrowLogisticsBody(storeId = storeId, + sender = sender, receiver = receiver, logistics = logistics, sendEmail = sendEmail, + products = products))) + } + if (httpResponse.status.value !in 200..299) { + val httpBody = httpResponse.body() + val httpBodyDecoded = try { + this.json.decodeFromString(httpBody) + } + catch (_: Exception) { + throw UnrecognizedException("Unrecognized API error: $httpBody") + } + when (httpBodyDecoded) { + is ForbiddenError -> throw ForbiddenException(message = httpBodyDecoded.message) + is InvalidRequestError -> throw InvalidRequestException(message = httpBodyDecoded.message) + is PaymentNotFoundError -> throw PaymentNotFoundException(message = httpBodyDecoded.message) + is PaymentNotPaidError -> throw PaymentNotPaidException(message = httpBodyDecoded.message) + is PgProviderError -> throw PgProviderException(message = httpBodyDecoded.message, pgCode = + httpBodyDecoded.pgCode, pgMessage = httpBodyDecoded.pgMessage) + is UnauthorizedError -> throw UnauthorizedException(message = httpBodyDecoded.message) + } + } + val httpBody = httpResponse.body() + return try { + this.json.decodeFromString(httpBody) + } + catch (_: Exception) { + throw UnrecognizedException("Unrecognized API response: $httpBody") + } + } + + /** + * 에스크로 구매 확정 + * + * 에스크로 결제를 구매 확정 처리합니다 + * + * @throws ForbiddenError 요청이 거절된 경우 + * @throws InvalidRequestError 요청된 입력 정보가 유효하지 않은 경우 - 허가되지 않은 값, 올바르지 않은 형식의 요청 등이 모두 해당됩니다. + * @throws PaymentNotFoundError 결제 건이 존재하지 않는 경우 + * @throws PaymentNotPaidError 결제가 완료되지 않은 경우 + * @throws PgProviderError PG사에서 오류를 전달한 경우 + * @throws UnauthorizedError 인증 정보가 올바르지 않은 경우 + * @throws UnrecognizedException API 응답이 알 수 없는 형식인 경우 + * + * @param paymentId 결제 건 아이디 + * @param fromStore 확인 주체가 상점인지 여부 - 구매확정요청 주체가 고객사 관리자인지 구매자인지 구분하기 위한 필드입니다. + * 네이버페이 전용 파라미터이며, 구분이 모호한 경우 고객사 관리자(true)로 입력합니다. + * @return 성공 응답 + */ + public suspend fun confirmEscrow(paymentId: String, fromStore: Boolean? = null): + ConfirmEscrowResponse { + val httpResponse = client.post("https://api.portone.io/payments") { + url { + appendPathSegments(paymentId, "escrow", "complete") + } + headers { + append(HttpHeaders.Authorization, "PortOne ${this@PortOneApi.apiSecret}") + } + contentType(ContentType.Application.Json) + accept(ContentType.Application.Json) + setBody(this@PortOneApi.json.encodeToString(ConfirmEscrowBody(storeId = storeId, fromStore = + fromStore))) + } + if (httpResponse.status.value !in 200..299) { + val httpBody = httpResponse.body() + val httpBodyDecoded = try { + this.json.decodeFromString(httpBody) + } + catch (_: Exception) { + throw UnrecognizedException("Unrecognized API error: $httpBody") + } + when (httpBodyDecoded) { + is ForbiddenError -> throw ForbiddenException(message = httpBodyDecoded.message) + is InvalidRequestError -> throw InvalidRequestException(message = httpBodyDecoded.message) + is PaymentNotFoundError -> throw PaymentNotFoundException(message = httpBodyDecoded.message) + is PaymentNotPaidError -> throw PaymentNotPaidException(message = httpBodyDecoded.message) + is PgProviderError -> throw PgProviderException(message = httpBodyDecoded.message, pgCode = + httpBodyDecoded.pgCode, pgMessage = httpBodyDecoded.pgMessage) + is UnauthorizedError -> throw UnauthorizedException(message = httpBodyDecoded.message) + } + } + val httpBody = httpResponse.body() + return try { + this.json.decodeFromString(httpBody) + } + catch (_: Exception) { + throw UnrecognizedException("Unrecognized API response: $httpBody") + } + } + + /** + * 웹훅 재발송 + * + * 웹훅을 재발송합니다. + * + * @throws ForbiddenError 요청이 거절된 경우 + * @throws InvalidRequestError 요청된 입력 정보가 유효하지 않은 경우 - 허가되지 않은 값, 올바르지 않은 형식의 요청 등이 모두 해당됩니다. + * @throws PaymentNotFoundError 결제 건이 존재하지 않는 경우 + * @throws UnauthorizedError 인증 정보가 올바르지 않은 경우 + * @throws WebhookNotFoundError 웹훅 내역이 존재하지 않는 경우 + * @throws UnrecognizedException API 응답이 알 수 없는 형식인 경우 + * + * @param paymentId 결제 건 아이디 + * @param webhookId 웹훅 아이디 - 입력하지 않으면 결제 건의 가장 최근 웹훅 아이디가 기본 적용됩니다 + * @return 성공 응답 + */ + public suspend fun resendWebhook(paymentId: String, webhookId: String? = null): + ResendWebhookResponse { + val httpResponse = client.post("https://api.portone.io/payments") { + url { + appendPathSegments(paymentId, "resend-webhook") + } + headers { + append(HttpHeaders.Authorization, "PortOne ${this@PortOneApi.apiSecret}") + } + contentType(ContentType.Application.Json) + accept(ContentType.Application.Json) + setBody(this@PortOneApi.json.encodeToString(ResendWebhookBody(storeId = storeId, webhookId = + webhookId))) + } + if (httpResponse.status.value !in 200..299) { + val httpBody = httpResponse.body() + val httpBodyDecoded = try { + this.json.decodeFromString(httpBody) + } + catch (_: Exception) { + throw UnrecognizedException("Unrecognized API error: $httpBody") + } + when (httpBodyDecoded) { + is ForbiddenError -> throw ForbiddenException(message = httpBodyDecoded.message) + is InvalidRequestError -> throw InvalidRequestException(message = httpBodyDecoded.message) + is PaymentNotFoundError -> throw PaymentNotFoundException(message = httpBodyDecoded.message) + is UnauthorizedError -> throw UnauthorizedException(message = httpBodyDecoded.message) + is WebhookNotFoundError -> throw WebhookNotFoundException(message = httpBodyDecoded.message) + } + } + val httpBody = httpResponse.body() + return try { + this.json.decodeFromString(httpBody) + } + catch (_: Exception) { + throw UnrecognizedException("Unrecognized API response: $httpBody") + } + } + + /** + * 카카오페이 주문 조회 API + * + * 주어진 아이디에 대응되는 카카오페이 주문 건을 조회합니다. + * 해당 API 사용이 필요한 경우 포트원 기술지원팀으로 문의 주시길 바랍니다. + * + * @throws InvalidRequestError 요청된 입력 정보가 유효하지 않은 경우 - 허가되지 않은 값, 올바르지 않은 형식의 요청 등이 모두 해당됩니다. + * @throws UnauthorizedError 인증 정보가 올바르지 않은 경우 + * @throws UnrecognizedException API 응답이 알 수 없는 형식인 경우 + * + * @param pgTxId 카카오페이 주문 번호 (tid) + * @param channelKey 채널 키 + * @return 성공 응답으로 카카오페이 주문 조회 응답 객체를 반환합니다. + */ + public suspend fun getKakaopayPaymentOrder(pgTxId: String, channelKey: String): + GetKakaopayPaymentOrderResponse { + val httpResponse = client.get("https://api.portone.io/kakaopay/payment/order") { + url { + parameters.append("pgTxId", pgTxId) + parameters.append("channelKey", channelKey) + } + headers { + append(HttpHeaders.Authorization, "PortOne ${this@PortOneApi.apiSecret}") + } + contentType(ContentType.Application.Json) + accept(ContentType.Application.Json) + } + if (httpResponse.status.value !in 200..299) { + val httpBody = httpResponse.body() + val httpBodyDecoded = try { + this.json.decodeFromString(httpBody) + } + catch (_: Exception) { + throw UnrecognizedException("Unrecognized API error: $httpBody") + } + when (httpBodyDecoded) { + is InvalidRequestError -> throw InvalidRequestException(message = httpBodyDecoded.message) + is UnauthorizedError -> throw UnauthorizedException(message = httpBodyDecoded.message) + } + } + val httpBody = httpResponse.body() + return try { + this.json.decodeFromString(httpBody) + } + catch (_: Exception) { + throw UnrecognizedException("Unrecognized API response: $httpBody") + } + } + + /** + * 영수증 내 하위 상점 거래 등록 + * + * 결제 내역 매출전표에 하위 상점의 거래를 등록합니다. + * 지원되는 PG사: + * KG이니시스(이용 전 콘솔 -> 결제연동 탭에서 INIApi Key 등록 필요) + * + * @throws ForbiddenError 요청이 거절된 경우 + * @throws InvalidRequestError 요청된 입력 정보가 유효하지 않은 경우 - 허가되지 않은 값, 올바르지 않은 형식의 요청 등이 모두 해당됩니다. + * @throws PaymentNotFoundError 결제 건이 존재하지 않는 경우 + * @throws PaymentNotPaidError 결제가 완료되지 않은 경우 + * @throws PgProviderError PG사에서 오류를 전달한 경우 + * @throws UnauthorizedError 인증 정보가 올바르지 않은 경우 + * @throws UnrecognizedException API 응답이 알 수 없는 형식인 경우 + * + * @param paymentId 등록할 하위 상점 결제 건 아이디 + * @param items 하위 상점 거래 목록 + * @return 성공 응답 + */ + public suspend fun registerStoreReceipt(paymentId: String, + items: List): RegisterStoreReceiptResponse { + val httpResponse = client.post("https://api.portone.io/payments") { + url { + appendPathSegments(paymentId, "register-store-receipt") + } + headers { + append(HttpHeaders.Authorization, "PortOne ${this@PortOneApi.apiSecret}") + } + contentType(ContentType.Application.Json) + accept(ContentType.Application.Json) + setBody(this@PortOneApi.json.encodeToString(RegisterStoreReceiptBody(items = items, storeId = + storeId))) + } + if (httpResponse.status.value !in 200..299) { + val httpBody = httpResponse.body() + val httpBodyDecoded = try { + this.json.decodeFromString(httpBody) + } + catch (_: Exception) { + throw UnrecognizedException("Unrecognized API error: $httpBody") + } + when (httpBodyDecoded) { + is ForbiddenError -> throw ForbiddenException(message = httpBodyDecoded.message) + is InvalidRequestError -> throw InvalidRequestException(message = httpBodyDecoded.message) + is PaymentNotFoundError -> throw PaymentNotFoundException(message = httpBodyDecoded.message) + is PaymentNotPaidError -> throw PaymentNotPaidException(message = httpBodyDecoded.message) + is PgProviderError -> throw PgProviderException(message = httpBodyDecoded.message, pgCode = + httpBodyDecoded.pgCode, pgMessage = httpBodyDecoded.pgMessage) + is UnauthorizedError -> throw UnauthorizedException(message = httpBodyDecoded.message) + } + } + val httpBody = httpResponse.body() + return try { + this.json.decodeFromString(httpBody) + } + catch (_: Exception) { + throw UnrecognizedException("Unrecognized API response: $httpBody") + } + } +} diff --git a/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/Address.kt b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/Address.kt new file mode 100644 index 0000000..9f6dc1e --- /dev/null +++ b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/Address.kt @@ -0,0 +1,19 @@ +package io.portone.sdk.server.schemas + +import kotlin.String +import kotlinx.serialization.Serializable +import kotlinx.serialization.json.JsonClassDiscriminator + +/** + * 분리 형식 주소 + * + * oneLine(한 줄 형식 주소) 필드는 항상 존재합니다. + */ +@Serializable +@JsonClassDiscriminator("type") +public sealed interface Address { + /** + * 주소 (한 줄) + */ + public val oneLine: String +} diff --git a/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/AlreadyPaidError.kt b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/AlreadyPaidError.kt new file mode 100644 index 0000000..d522390 --- /dev/null +++ b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/AlreadyPaidError.kt @@ -0,0 +1,16 @@ +package io.portone.sdk.server.schemas + +import kotlin.String +import kotlinx.serialization.SerialName +import kotlinx.serialization.Serializable + +/** + * 결제가 이미 완료된 경우 + */ +@Serializable +@SerialName("ALREADY_PAID") +internal data class AlreadyPaidError( + override val message: String? = null, +) : PreRegisterPaymentError, + PayWithBillingKeyError, + PayInstantlyError diff --git a/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/AlreadyPaidException.kt b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/AlreadyPaidException.kt new file mode 100644 index 0000000..d76c3c3 --- /dev/null +++ b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/AlreadyPaidException.kt @@ -0,0 +1,11 @@ +package io.portone.sdk.server.schemas + +import java.lang.Exception +import kotlin.String + +/** + * 결제가 이미 완료된 경우 + */ +public class AlreadyPaidException( + message: String? = null, +) : Exception(message) diff --git a/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/AlreadyPaidOrWaitingError.kt b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/AlreadyPaidOrWaitingError.kt new file mode 100644 index 0000000..3cc4ea9 --- /dev/null +++ b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/AlreadyPaidOrWaitingError.kt @@ -0,0 +1,14 @@ +package io.portone.sdk.server.schemas + +import kotlin.String +import kotlinx.serialization.SerialName +import kotlinx.serialization.Serializable + +/** + * 결제가 이미 완료되었거나 대기중인 경우 + */ +@Serializable +@SerialName("ALREADY_PAID_OR_WAITING") +internal data class AlreadyPaidOrWaitingError( + override val message: String? = null, +) : CreatePaymentScheduleError diff --git a/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/AlreadyPaidOrWaitingException.kt b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/AlreadyPaidOrWaitingException.kt new file mode 100644 index 0000000..7c60cd4 --- /dev/null +++ b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/AlreadyPaidOrWaitingException.kt @@ -0,0 +1,11 @@ +package io.portone.sdk.server.schemas + +import java.lang.Exception +import kotlin.String + +/** + * 결제가 이미 완료되었거나 대기중인 경우 + */ +public class AlreadyPaidOrWaitingException( + message: String? = null, +) : Exception(message) diff --git a/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/ApplyEscrowLogisticsError.kt b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/ApplyEscrowLogisticsError.kt new file mode 100644 index 0000000..3883bce --- /dev/null +++ b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/ApplyEscrowLogisticsError.kt @@ -0,0 +1,14 @@ +package io.portone.sdk.server.schemas + +import kotlin.String +import kotlinx.serialization.Serializable +import kotlinx.serialization.json.JsonClassDiscriminator + +/** + * ApplyEscrowLogisticsError + */ +@Serializable +@JsonClassDiscriminator("type") +internal sealed interface ApplyEscrowLogisticsError { + public val message: String? +} diff --git a/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/ApplyEscrowLogisticsResponse.kt b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/ApplyEscrowLogisticsResponse.kt new file mode 100644 index 0000000..909aa42 --- /dev/null +++ b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/ApplyEscrowLogisticsResponse.kt @@ -0,0 +1,25 @@ +package io.portone.sdk.server.schemas + +import io.portone.sdk.server.serializers.InstantSerializer +import java.time.Instant +import kotlin.String +import kotlinx.serialization.Serializable + +/** + * 에스크로 배송 정보 등록 성공 응답 + */ +@Serializable +public data class ApplyEscrowLogisticsResponse( + /** + * 송장 번호 + */ + public val invoiceNumber: String, + /** + * 발송 시점 + */ + public val sentAt: @Serializable(InstantSerializer::class) Instant, + /** + * 에스크로 정보 등록 시점 + */ + public val appliedAt: @Serializable(InstantSerializer::class) Instant, +) diff --git a/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/Bank.kt b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/Bank.kt new file mode 100644 index 0000000..e8acab0 --- /dev/null +++ b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/Bank.kt @@ -0,0 +1,322 @@ +package io.portone.sdk.server.schemas + +import kotlinx.serialization.Serializable + +/** + * 은행 + */ +@Serializable +public enum class Bank { + /** + * 한국은행 + */ + BANK_OF_KOREA, + /** + * 산업은행 + */ + KDB, + /** + * 기업은행 + */ + IBK, + /** + * 국민은행 + */ + KOOKMIN, + /** + * 수협은행 + */ + SUHYUP, + /** + * 수출입은행 + */ + KEXIM, + /** + * NH농협은행 + */ + NONGHYUP, + /** + * 지역농축협 + */ + LOCAL_NONGHYUP, + /** + * 우리은행 + */ + WOORI, + /** + * SC제일은행 + */ + STANDARD_CHARTERED, + /** + * 한국씨티은행 + */ + CITI, + /** + * 아이엠뱅크 + */ + DAEGU, + /** + * 부산은행 + */ + BUSAN, + /** + * 광주은행 + */ + KWANGJU, + /** + * 제주은행 + */ + JEJU, + /** + * 전북은행 + */ + JEONBUK, + /** + * 경남은행 + */ + KYONGNAM, + /** + * 새마을금고 + */ + KFCC, + /** + * 신협 + */ + SHINHYUP, + /** + * 저축은행 + */ + SAVINGS_BANK, + /** + * 모간스탠리은행 + */ + MORGAN_STANLEY, + /** + * HSBC은행 + */ + HSBC, + /** + * 도이치은행 + */ + DEUTSCHE, + /** + * 제이피모간체이스은행 + */ + JPMC, + /** + * 미즈호은행 + */ + MIZUHO, + /** + * 엠유에프지은행 + */ + MUFG, + /** + * BOA은행 + */ + BANK_OF_AMERICA, + /** + * 비엔피파리바은행 + */ + BNP_PARIBAS, + /** + * 중국공상은행 + */ + ICBC, + /** + * 중국은행 + */ + BANK_OF_CHINA, + /** + * 산림조합중앙회 + */ + NFCF, + /** + * 대화은행 + */ + UOB, + /** + * 교통은행 + */ + BOCOM, + /** + * 중국건설은행 + */ + CCB, + /** + * 우체국 + */ + POST, + /** + * 신용보증기금 + */ + KODIT, + /** + * 기술보증기금 + */ + KIBO, + /** + * 하나은행 + */ + HANA, + /** + * 신한은행 + */ + SHINHAN, + /** + * 케이뱅크 + */ + K_BANK, + /** + * 카카오뱅크 + */ + KAKAO, + /** + * 토스뱅크 + */ + TOSS, + /** + * 기타 외국계은행(중국 농업은행 등) + */ + MISC_FOREIGN, + /** + * 서울보증보험 + */ + SGI, + /** + * 한국신용정보원 + */ + KCIS, + /** + * 유안타증권 + */ + YUANTA_SECURITIES, + /** + * KB증권 + */ + KB_SECURITIES, + /** + * 상상인증권 + */ + SANGSANGIN_SECURITIES, + /** + * 한양증권 + */ + HANYANG_SECURITIES, + /** + * 리딩투자증권 + */ + LEADING_SECURITIES, + /** + * BNK투자증권 + */ + BNK_SECURITIES, + /** + * IBK투자증권 + */ + IBK_SECURITIES, + /** + * 다올투자증권 + */ + DAOL_SECURITIES, + /** + * 미래에셋증권 + */ + MIRAE_ASSET_SECURITIES, + /** + * 삼성증권 + */ + SAMSUNG_SECURITIES, + /** + * 한국투자증권 + */ + KOREA_SECURITIES, + /** + * NH투자증권 + */ + NH_SECURITIES, + /** + * 교보증권 + */ + KYOBO_SECURITIES, + /** + * 하이투자증권 + */ + HI_SECURITIES, + /** + * 현대차증권 + */ + HYUNDAI_MOTOR_SECURITIES, + /** + * 키움증권 + */ + KIWOOM_SECURITIES, + /** + * LS증권 + */ + EBEST_SECURITIES, + /** + * SK증권 + */ + SK_SECURITIES, + /** + * 대신증권 + */ + DAISHIN_SECURITIES, + /** + * 한화투자증권 + */ + HANHWA_SECURITIES, + /** + * 하나증권 + */ + HANA_SECURITIES, + /** + * 토스증권 + */ + TOSS_SECURITIES, + /** + * 신한투자증권 + */ + SHINHAN_SECURITIES, + /** + * DB금융투자 + */ + DB_SECURITIES, + /** + * 유진투자증권 + */ + EUGENE_SECURITIES, + /** + * 메리츠증권 + */ + MERITZ_SECURITIES, + /** + * 카카오페이증권 + */ + KAKAO_PAY_SECURITIES, + /** + * 부국증권 + */ + BOOKOOK_SECURITIES, + /** + * 신영증권 + */ + SHINYOUNG_SECURITIES, + /** + * 케이프투자증권 + */ + CAPE_SECURITIES, + /** + * 한국증권금융 + */ + KOREA_SECURITIES_FINANCE, + /** + * 한국포스증권 + */ + KOREA_FOSS_SECURITIES, + /** + * 우리종합금융 + */ + WOORI_INVESTMENT_BANK, +} diff --git a/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/BeforeRegisteredPaymentEscrow.kt b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/BeforeRegisteredPaymentEscrow.kt new file mode 100644 index 0000000..f1bcbbd --- /dev/null +++ b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/BeforeRegisteredPaymentEscrow.kt @@ -0,0 +1,9 @@ +package io.portone.sdk.server.schemas + +import kotlinx.serialization.Serializable + +/** + * 배송 정보 등록 전 + */ +@Serializable +public data object BeforeRegisteredPaymentEscrow : PaymentEscrow diff --git a/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/BillingKeyAlreadyDeletedError.kt b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/BillingKeyAlreadyDeletedError.kt new file mode 100644 index 0000000..1cfac2e --- /dev/null +++ b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/BillingKeyAlreadyDeletedError.kt @@ -0,0 +1,17 @@ +package io.portone.sdk.server.schemas + +import kotlin.String +import kotlinx.serialization.SerialName +import kotlinx.serialization.Serializable + +/** + * 빌링키가 이미 삭제된 경우 + */ +@Serializable +@SerialName("BILLING_KEY_ALREADY_DELETED") +internal data class BillingKeyAlreadyDeletedError( + override val message: String? = null, +) : DeleteBillingKeyError, + RevokePaymentSchedulesError, + CreatePaymentScheduleError, + PayWithBillingKeyError diff --git a/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/BillingKeyAlreadyDeletedException.kt b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/BillingKeyAlreadyDeletedException.kt new file mode 100644 index 0000000..b1c8e6e --- /dev/null +++ b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/BillingKeyAlreadyDeletedException.kt @@ -0,0 +1,11 @@ +package io.portone.sdk.server.schemas + +import java.lang.Exception +import kotlin.String + +/** + * 빌링키가 이미 삭제된 경우 + */ +public class BillingKeyAlreadyDeletedException( + message: String? = null, +) : Exception(message) diff --git a/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/BillingKeyFailure.kt b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/BillingKeyFailure.kt new file mode 100644 index 0000000..85074b4 --- /dev/null +++ b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/BillingKeyFailure.kt @@ -0,0 +1,29 @@ +package io.portone.sdk.server.schemas + +import io.portone.sdk.server.serializers.InstantSerializer +import java.time.Instant +import kotlin.String +import kotlinx.serialization.Serializable + +/** + * 발급 실패 상세 정보 + */ +@Serializable +public data class BillingKeyFailure( + /** + * 실패 사유 + */ + public val message: String? = null, + /** + * PG사 실패 코드 + */ + public val pgCode: String? = null, + /** + * PG사 실패 사유 + */ + public val pgMessage: String? = null, + /** + * 실패 시점 + */ + public val failedAt: @Serializable(InstantSerializer::class) Instant, +) diff --git a/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/BillingKeyFilterInput.kt b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/BillingKeyFilterInput.kt new file mode 100644 index 0000000..5267da8 --- /dev/null +++ b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/BillingKeyFilterInput.kt @@ -0,0 +1,82 @@ +package io.portone.sdk.server.schemas + +import io.portone.sdk.server.serializers.InstantSerializer +import java.time.Instant +import kotlin.String +import kotlin.collections.List +import kotlinx.serialization.Serializable + +/** + * 빌링키 다건 조회를 위한 입력 정보 + */ +@Serializable +public data class BillingKeyFilterInput( + /** + * 상점 아이디 + * + * Merchant 사용자만 사용가능하며, 지정되지 않은 경우 고객사 전체 빌링키를 조회합니다. + */ + public val storeId: String? = null, + /** + * 조회 기준 시점 유형 + */ + public val timeRangeField: BillingKeyTimeRangeField? = null, + /** + * 조회 기준 시점 범위의 시작 + * + * 값을 입력하지 않으면 end의 90일 전으로 설정됩니다. + */ + public val from: @Serializable(InstantSerializer::class) Instant? = null, + /** + * 조회 기준 시점 범위의 끝 + * + * 값을 입력하지 않으면 현재 시점으로 설정됩니다. + */ + public val until: @Serializable(InstantSerializer::class) Instant? = null, + /** + * 빌링키 상태 리스트 + * + * 값을 입력하지 않으면 빌링키 상태 필터링이 적용되지 않습니다. + */ + public val status: List? = null, + /** + * 채널 그룹 아이디 리스트 + * + * 값을 입력하지 않으면 스마트 라우팅 그룹 아이디 필터링이 적용되지 않습니다. + */ + public val channelGroupIds: List? = null, + /** + * 고객 ID + */ + public val customerId: String? = null, + /** + * 플랫폼 유형 + */ + public val platformType: PaymentClientType? = null, + /** + * 통합 검색 필터 + */ + public val textSearch: BillingKeyTextSearch? = null, + /** + * PG사 결제 모듈 리스트 + * + * 값을 입력하지 않으면 PG사 결제 모듈 필터링이 적용되지 않습니다. + */ + public val pgProviders: List? = null, + /** + * PG사 리스트 + * + * 값을 입력하지 않으면 PG사 필터링이 적용되지 않습니다. + */ + public val pgCompanies: List? = null, + /** + * 결제수단 리스트 + * + * 값을 입력하지 않으면 결제수단 필터링이 적용되지 않습니다. + */ + public val methods: List? = null, + /** + * 포트원 버전 + */ + public val version: PortOneVersion? = null, +) diff --git a/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/BillingKeyInfo.kt b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/BillingKeyInfo.kt new file mode 100644 index 0000000..a250f5a --- /dev/null +++ b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/BillingKeyInfo.kt @@ -0,0 +1,86 @@ +package io.portone.sdk.server.schemas + +import io.portone.sdk.server.serializers.InstantSerializer +import java.time.Instant +import kotlin.String +import kotlin.collections.List +import kotlinx.serialization.Serializable +import kotlinx.serialization.json.JsonClassDiscriminator + +/** + * 빌링키 정보 + */ +@Serializable +@JsonClassDiscriminator("status") +public sealed interface BillingKeyInfo { + /** + * 빌링키 + */ + public val billingKey: String + + /** + * 고객사 아이디 + */ + public val merchantId: String + + /** + * 상점 아이디 + */ + public val storeId: String + + /** + * 빌링키 결제수단 상세 정보 + * + * 추후 슈퍼빌링키 기능 제공 시 여러 결제수단 정보가 담길 수 있습니다. + */ + public val methods: List? + + /** + * 빌링키 발급 시 사용된 채널 + * + * 추후 슈퍼빌링키 기능 제공 시 여러 채널 정보가 담길 수 있습니다. + */ + public val channels: List + + /** + * 고객 정보 + */ + public val customer: Customer + + /** + * 사용자 지정 데이터 + */ + public val customData: String? + + /** + * 고객사가 채번하는 빌링키 발급 건 고유 아이디 + */ + public val issueId: String? + + /** + * 빌링키 발급 건 이름 + */ + public val issueName: String? + + /** + * 발급 요청 시점 + */ + public val requestedAt: @Serializable(InstantSerializer::class) Instant? + + /** + * 발급 시점 + */ + public val issuedAt: @Serializable(InstantSerializer::class) Instant + + /** + * 채널 그룹 + */ + public val channelGroup: ChannelGroupSummary? + + /** + * 채널 별 빌링키 발급 응답 + * + * 슈퍼빌링키의 경우, 빌링키 발급이 성공하더라도 일부 채널에 대한 발급은 실패할 수 있습니다. + */ + public val pgBillingKeyIssueResponses: List? +} diff --git a/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/BillingKeyInfoSummary.kt b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/BillingKeyInfoSummary.kt new file mode 100644 index 0000000..82df87c --- /dev/null +++ b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/BillingKeyInfoSummary.kt @@ -0,0 +1,26 @@ +package io.portone.sdk.server.schemas + +import io.portone.sdk.server.serializers.InstantSerializer +import java.time.Instant +import kotlin.String +import kotlin.collections.List +import kotlinx.serialization.Serializable + +/** + * BillingKeyInfoSummary + */ +@Serializable +public data class BillingKeyInfoSummary( + /** + * 발급된 빌링키 + */ + public val billingKey: String, + /** + * (결제, 본인인증 등에) 선택된 채널 정보 + */ + public val channels: List? = null, + /** + * 빌링크 발급 완료 시점 + */ + public val issuedAt: @Serializable(InstantSerializer::class) Instant, +) diff --git a/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/BillingKeyNotFoundError.kt b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/BillingKeyNotFoundError.kt new file mode 100644 index 0000000..e9a7524 --- /dev/null +++ b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/BillingKeyNotFoundError.kt @@ -0,0 +1,18 @@ +package io.portone.sdk.server.schemas + +import kotlin.String +import kotlinx.serialization.SerialName +import kotlinx.serialization.Serializable + +/** + * 빌링키가 존재하지 않는 경우 + */ +@Serializable +@SerialName("BILLING_KEY_NOT_FOUND") +internal data class BillingKeyNotFoundError( + override val message: String? = null, +) : GetBillingKeyInfoError, + DeleteBillingKeyError, + RevokePaymentSchedulesError, + CreatePaymentScheduleError, + PayWithBillingKeyError diff --git a/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/BillingKeyNotFoundException.kt b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/BillingKeyNotFoundException.kt new file mode 100644 index 0000000..b43d341 --- /dev/null +++ b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/BillingKeyNotFoundException.kt @@ -0,0 +1,11 @@ +package io.portone.sdk.server.schemas + +import java.lang.Exception +import kotlin.String + +/** + * 빌링키가 존재하지 않는 경우 + */ +public class BillingKeyNotFoundException( + message: String? = null, +) : Exception(message) diff --git a/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/BillingKeyNotIssuedError.kt b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/BillingKeyNotIssuedError.kt new file mode 100644 index 0000000..fe48796 --- /dev/null +++ b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/BillingKeyNotIssuedError.kt @@ -0,0 +1,14 @@ +package io.portone.sdk.server.schemas + +import kotlin.String +import kotlinx.serialization.SerialName +import kotlinx.serialization.Serializable + +/** + * BillingKeyNotIssuedError + */ +@Serializable +@SerialName("BILLING_KEY_NOT_ISSUED") +internal data class BillingKeyNotIssuedError( + override val message: String? = null, +) : DeleteBillingKeyError diff --git a/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/BillingKeyNotIssuedException.kt b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/BillingKeyNotIssuedException.kt new file mode 100644 index 0000000..23c84ba --- /dev/null +++ b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/BillingKeyNotIssuedException.kt @@ -0,0 +1,11 @@ +package io.portone.sdk.server.schemas + +import java.lang.Exception +import kotlin.String + +/** + * BillingKeyNotIssuedError + */ +public class BillingKeyNotIssuedException( + message: String? = null, +) : Exception(message) diff --git a/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/BillingKeyPaymentInput.kt b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/BillingKeyPaymentInput.kt new file mode 100644 index 0000000..9a68642 --- /dev/null +++ b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/BillingKeyPaymentInput.kt @@ -0,0 +1,105 @@ +package io.portone.sdk.server.schemas + +import kotlin.Boolean +import kotlin.Int +import kotlin.String +import kotlin.collections.List +import kotlinx.serialization.Serializable +import kotlinx.serialization.json.JsonObject + +/** + * 빌링키 결제 요청 입력 정보 + */ +@Serializable +public data class BillingKeyPaymentInput( + /** + * 상점 아이디 + * + * 접근 권한이 있는 상점 아이디만 입력 가능하며, 미입력시 토큰에 담긴 상점 아이디를 사용합니다. + */ + public val storeId: String? = null, + /** + * 빌링키 결제에 사용할 빌링키 + */ + public val billingKey: String, + /** + * 채널 키 + * + * 다수 채널에 대해 발급된 빌링키에 대해, 결제 채널을 특정하고 싶을 때 명시 + */ + public val channelKey: String? = null, + /** + * 주문명 + */ + public val orderName: String, + /** + * 고객 정보 + */ + public val customer: CustomerInput? = null, + /** + * 사용자 지정 데이터 + */ + public val customData: String? = null, + /** + * 결제 금액 세부 입력 정보 + */ + public val amount: PaymentAmountInput, + /** + * 통화 + */ + public val currency: Currency, + /** + * 할부 개월 수 + */ + public val installmentMonth: Int? = null, + /** + * 무이자 할부 이자를 고객사가 부담할지 여부 + */ + public val useFreeInterestFromMerchant: Boolean? = null, + /** + * 카드 포인트 사용 여부 + */ + public val useCardPoint: Boolean? = null, + /** + * 현금영수증 정보 + */ + public val cashReceipt: CashReceiptInput? = null, + /** + * 결제 국가 + */ + public val country: Country? = null, + /** + * 웹훅 주소 + * + * 결제 승인/실패 시 요청을 받을 웹훅 주소입니다. + * 상점에 설정되어 있는 값보다 우선적으로 적용됩니다. + * 입력된 값이 없을 경우에는 빈 배열로 해석됩니다. + */ + public val noticeUrls: List? = null, + /** + * 상품 정보 + * + * 입력된 값이 없을 경우에는 빈 배열로 해석됩니다. + */ + public val products: List? = null, + /** + * 상품 개수 + */ + public val productCount: Int? = null, + /** + * 상품 유형 + */ + public val productType: PaymentProductType? = null, + /** + * 배송지 주소 + */ + public val shippingAddress: SeparatedAddressInput? = null, + /** + * 해당 결제에 적용할 프로모션 아이디 + */ + public val promotionId: String? = null, + /** + * PG사별 추가 파라미터 ("PG사별 연동 가이드" 참고) + */ + public val bypass: JsonObject? = null, +) diff --git a/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/BillingKeyPaymentMethod.kt b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/BillingKeyPaymentMethod.kt new file mode 100644 index 0000000..30f049a --- /dev/null +++ b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/BillingKeyPaymentMethod.kt @@ -0,0 +1,11 @@ +package io.portone.sdk.server.schemas + +import kotlinx.serialization.Serializable +import kotlinx.serialization.json.JsonClassDiscriminator + +/** + * 빌링키 발급 수단 정보 + */ +@Serializable +@JsonClassDiscriminator("type") +public sealed interface BillingKeyPaymentMethod diff --git a/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/BillingKeyPaymentMethodCard.kt b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/BillingKeyPaymentMethodCard.kt new file mode 100644 index 0000000..efa7309 --- /dev/null +++ b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/BillingKeyPaymentMethodCard.kt @@ -0,0 +1,17 @@ +package io.portone.sdk.server.schemas + +import kotlinx.serialization.SerialName +import kotlinx.serialization.Serializable + +/** + * 카드 정보 + */ +@Serializable +@SerialName("BillingKeyPaymentMethodCard") +public data class BillingKeyPaymentMethodCard( + /** + * 카드 상세 정보 + */ + public val card: Card? = null, +) : BillingKeyPaymentMethod, + BillingKeyPaymentMethodEasyPayMethod diff --git a/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/BillingKeyPaymentMethodEasyPay.kt b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/BillingKeyPaymentMethodEasyPay.kt new file mode 100644 index 0000000..928ebbb --- /dev/null +++ b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/BillingKeyPaymentMethodEasyPay.kt @@ -0,0 +1,20 @@ +package io.portone.sdk.server.schemas + +import kotlinx.serialization.SerialName +import kotlinx.serialization.Serializable + +/** + * 간편 결제 정보 + */ +@Serializable +@SerialName("BillingKeyPaymentMethodEasyPay") +public data class BillingKeyPaymentMethodEasyPay( + /** + * 간편 결제 PG사 + */ + public val provider: EasyPayProvider? = null, + /** + * 간편 결제 수단 + */ + public val method: BillingKeyPaymentMethodEasyPayMethod? = null, +) : BillingKeyPaymentMethod diff --git a/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/BillingKeyPaymentMethodEasyPayCharge.kt b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/BillingKeyPaymentMethodEasyPayCharge.kt new file mode 100644 index 0000000..8edac93 --- /dev/null +++ b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/BillingKeyPaymentMethodEasyPayCharge.kt @@ -0,0 +1,9 @@ +package io.portone.sdk.server.schemas + +import kotlinx.serialization.Serializable + +/** + * 충전식 포인트 결제 정보 + */ +@Serializable +public data object BillingKeyPaymentMethodEasyPayCharge : BillingKeyPaymentMethodEasyPayMethod diff --git a/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/BillingKeyPaymentMethodEasyPayMethod.kt b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/BillingKeyPaymentMethodEasyPayMethod.kt new file mode 100644 index 0000000..3920c44 --- /dev/null +++ b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/BillingKeyPaymentMethodEasyPayMethod.kt @@ -0,0 +1,11 @@ +package io.portone.sdk.server.schemas + +import kotlinx.serialization.Serializable +import kotlinx.serialization.json.JsonClassDiscriminator + +/** + * 간편 결제 수단 + */ +@Serializable +@JsonClassDiscriminator("type") +public sealed interface BillingKeyPaymentMethodEasyPayMethod diff --git a/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/BillingKeyPaymentMethodMobile.kt b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/BillingKeyPaymentMethodMobile.kt new file mode 100644 index 0000000..d20569e --- /dev/null +++ b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/BillingKeyPaymentMethodMobile.kt @@ -0,0 +1,17 @@ +package io.portone.sdk.server.schemas + +import kotlin.String +import kotlinx.serialization.SerialName +import kotlinx.serialization.Serializable + +/** + * 모바일 정보 + */ +@Serializable +@SerialName("BillingKeyPaymentMethodMobile") +public data class BillingKeyPaymentMethodMobile( + /** + * 전화번호 + */ + public val phoneNumber: String? = null, +) : BillingKeyPaymentMethod diff --git a/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/BillingKeyPaymentMethodPaypal.kt b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/BillingKeyPaymentMethodPaypal.kt new file mode 100644 index 0000000..1dc02ab --- /dev/null +++ b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/BillingKeyPaymentMethodPaypal.kt @@ -0,0 +1,9 @@ +package io.portone.sdk.server.schemas + +import kotlinx.serialization.Serializable + +/** + * 페이팔 정보 + */ +@Serializable +public data object BillingKeyPaymentMethodPaypal : BillingKeyPaymentMethod diff --git a/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/BillingKeyPaymentMethodTransfer.kt b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/BillingKeyPaymentMethodTransfer.kt new file mode 100644 index 0000000..5da8fe4 --- /dev/null +++ b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/BillingKeyPaymentMethodTransfer.kt @@ -0,0 +1,22 @@ +package io.portone.sdk.server.schemas + +import kotlin.String +import kotlinx.serialization.SerialName +import kotlinx.serialization.Serializable + +/** + * 계좌이체 정보 + */ +@Serializable +@SerialName("BillingKeyPaymentMethodTransfer") +public data class BillingKeyPaymentMethodTransfer( + /** + * 표준 은행 코드 + */ + public val bank: Bank? = null, + /** + * 계좌번호 + */ + public val accountNumber: String? = null, +) : BillingKeyPaymentMethodEasyPayMethod, + BillingKeyPaymentMethod diff --git a/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/BillingKeyPaymentMethodType.kt b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/BillingKeyPaymentMethodType.kt new file mode 100644 index 0000000..c653c2e --- /dev/null +++ b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/BillingKeyPaymentMethodType.kt @@ -0,0 +1,26 @@ +package io.portone.sdk.server.schemas + +import kotlinx.serialization.Serializable + +/** + * 빌링키 결제 수단 + */ +@Serializable +public enum class BillingKeyPaymentMethodType { + /** + * 카드 + */ + CARD, + /** + * 모바일 + */ + MOBILE, + /** + * 간편 결제 + */ + EASY_PAY, + /** + * 계좌 이체 + */ + TRANSFER, +} diff --git a/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/BillingKeyPaymentSummary.kt b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/BillingKeyPaymentSummary.kt new file mode 100644 index 0000000..2697751 --- /dev/null +++ b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/BillingKeyPaymentSummary.kt @@ -0,0 +1,21 @@ +package io.portone.sdk.server.schemas + +import io.portone.sdk.server.serializers.InstantSerializer +import java.time.Instant +import kotlin.String +import kotlinx.serialization.Serializable + +/** + * 빌링키 결제 완료된 결제 건 요약 정보 + */ +@Serializable +public data class BillingKeyPaymentSummary( + /** + * PG사 결제 아이디 + */ + public val pgTxId: String, + /** + * 결제 완료 시점 + */ + public val paidAt: @Serializable(InstantSerializer::class) Instant, +) diff --git a/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/BillingKeySortBy.kt b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/BillingKeySortBy.kt new file mode 100644 index 0000000..b9851fb --- /dev/null +++ b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/BillingKeySortBy.kt @@ -0,0 +1,28 @@ +package io.portone.sdk.server.schemas + +import kotlinx.serialization.Serializable + +/** + * 빌링키 정렬 기준 + */ +@Serializable +public enum class BillingKeySortBy { + /** + * 발급 요청 시각 + */ + REQUESTED_AT, + /** + * 발급 완료 시각 + */ + ISSUED_AT, + /** + * 삭제 완료 시각 + */ + DELETED_AT, + /** + * 상태 변경 시각 + * + * 발급 완료 상태의 경우 ISSUED_AT, 삭제 완료 상태의 경우 DELETED_AT + */ + STATUS_TIMESTAMP, +} diff --git a/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/BillingKeySortInput.kt b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/BillingKeySortInput.kt new file mode 100644 index 0000000..efe74f0 --- /dev/null +++ b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/BillingKeySortInput.kt @@ -0,0 +1,22 @@ +package io.portone.sdk.server.schemas + +import kotlinx.serialization.Serializable + +/** + * 빌링키 다건 조회 시 정렬 조건 + */ +@Serializable +public data class BillingKeySortInput( + /** + * 정렬 기준 필드 + * + * 어떤 필드를 기준으로 정렬할 지 결정합니다. 비워서 보낼 경우, REQUESTED_AT이 기본값으로 설정됩니다. + */ + public val `by`: BillingKeySortBy? = null, + /** + * 정렬 순서 + * + * 어떤 순서로 정렬할 지 결정합니다. 비워서 보낼 경우, DESC(내림차순)가 기본값으로 설정됩니다. + */ + public val order: SortOrder? = null, +) diff --git a/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/BillingKeyStatus.kt b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/BillingKeyStatus.kt new file mode 100644 index 0000000..5bbf573 --- /dev/null +++ b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/BillingKeyStatus.kt @@ -0,0 +1,12 @@ +package io.portone.sdk.server.schemas + +import kotlinx.serialization.Serializable + +/** + * 빌링키 상태 + */ +@Serializable +public enum class BillingKeyStatus { + ISSUED, + DELETED, +} diff --git a/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/BillingKeyTextSearch.kt b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/BillingKeyTextSearch.kt new file mode 100644 index 0000000..b7d02f6 --- /dev/null +++ b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/BillingKeyTextSearch.kt @@ -0,0 +1,13 @@ +package io.portone.sdk.server.schemas + +import kotlin.String +import kotlinx.serialization.Serializable + +/** + * 통합검색 입력 정보 + */ +@Serializable +public data class BillingKeyTextSearch( + public val `field`: BillingKeyTextSearchField, + public val `value`: String, +) diff --git a/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/BillingKeyTextSearchField.kt b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/BillingKeyTextSearchField.kt new file mode 100644 index 0000000..60ab1c6 --- /dev/null +++ b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/BillingKeyTextSearchField.kt @@ -0,0 +1,21 @@ +package io.portone.sdk.server.schemas + +import kotlinx.serialization.Serializable + +/** + * 통합검색 항목 + */ +@Serializable +public enum class BillingKeyTextSearchField { + CARD_BIN, + CARD_NUMBER, + PG_MERCHANT_ID, + CUSTOMER_NAME, + CUSTOMER_EMAIL, + CUSTOMER_PHONE_NUMBER, + CUSTOMER_ADDRESS, + CUSTOMER_ZIPCODE, + USER_AGENT, + BILLING_KEY, + CHANNEL_GROUP_NAME, +} diff --git a/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/BillingKeyTimeRangeField.kt b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/BillingKeyTimeRangeField.kt new file mode 100644 index 0000000..c0f5773 --- /dev/null +++ b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/BillingKeyTimeRangeField.kt @@ -0,0 +1,28 @@ +package io.portone.sdk.server.schemas + +import kotlinx.serialization.Serializable + +/** + * 빌링키 다건 조회 시, 시각 범위를 적용할 필드 + */ +@Serializable +public enum class BillingKeyTimeRangeField { + /** + * 발급 요청 시각 + */ + REQUESTED_AT, + /** + * 발급 완료 시각 + */ + ISSUED_AT, + /** + * 삭제 완료 시각 + */ + DELETED_AT, + /** + * 상태 변경 시각 + * + * 발급 완료 상태의 경우 ISSUED_AT, 삭제 완료 상태의 경우 DELETED_AT + */ + STATUS_TIMESTAMP, +} diff --git a/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/CancelAmountExceedsCancellableAmountError.kt b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/CancelAmountExceedsCancellableAmountError.kt new file mode 100644 index 0000000..c023fad --- /dev/null +++ b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/CancelAmountExceedsCancellableAmountError.kt @@ -0,0 +1,14 @@ +package io.portone.sdk.server.schemas + +import kotlin.String +import kotlinx.serialization.SerialName +import kotlinx.serialization.Serializable + +/** + * 결제 취소 금액이 취소 가능 금액을 초과한 경우 + */ +@Serializable +@SerialName("CANCEL_AMOUNT_EXCEEDS_CANCELLABLE_AMOUNT") +internal data class CancelAmountExceedsCancellableAmountError( + override val message: String? = null, +) : CancelPaymentError diff --git a/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/CancelAmountExceedsCancellableAmountException.kt b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/CancelAmountExceedsCancellableAmountException.kt new file mode 100644 index 0000000..41bb8b3 --- /dev/null +++ b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/CancelAmountExceedsCancellableAmountException.kt @@ -0,0 +1,11 @@ +package io.portone.sdk.server.schemas + +import java.lang.Exception +import kotlin.String + +/** + * 결제 취소 금액이 취소 가능 금액을 초과한 경우 + */ +public class CancelAmountExceedsCancellableAmountException( + message: String? = null, +) : Exception(message) diff --git a/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/CancelCashReceiptError.kt b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/CancelCashReceiptError.kt new file mode 100644 index 0000000..abd508b --- /dev/null +++ b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/CancelCashReceiptError.kt @@ -0,0 +1,14 @@ +package io.portone.sdk.server.schemas + +import kotlin.String +import kotlinx.serialization.Serializable +import kotlinx.serialization.json.JsonClassDiscriminator + +/** + * CancelCashReceiptError + */ +@Serializable +@JsonClassDiscriminator("type") +internal sealed interface CancelCashReceiptError { + public val message: String? +} diff --git a/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/CancelCashReceiptResponse.kt b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/CancelCashReceiptResponse.kt new file mode 100644 index 0000000..86445a9 --- /dev/null +++ b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/CancelCashReceiptResponse.kt @@ -0,0 +1,21 @@ +package io.portone.sdk.server.schemas + +import io.portone.sdk.server.serializers.InstantSerializer +import java.time.Instant +import kotlin.Long +import kotlinx.serialization.Serializable + +/** + * 현금 영수증 취소 성공 응답 + */ +@Serializable +public data class CancelCashReceiptResponse( + /** + * 취소 금액 + */ + public val cancelledAmount: Long, + /** + * 현금 영수증 취소 완료 시점 + */ + public val cancelledAt: @Serializable(InstantSerializer::class) Instant, +) diff --git a/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/CancelPaymentBody.kt b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/CancelPaymentBody.kt new file mode 100644 index 0000000..3be8da6 --- /dev/null +++ b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/CancelPaymentBody.kt @@ -0,0 +1,58 @@ +package io.portone.sdk.server.schemas + +import kotlin.Long +import kotlin.String +import kotlinx.serialization.Serializable + +/** + * 결제 취소 요청 입력 정보 + */ +@Serializable +internal data class CancelPaymentBody( + /** + * 상점 아이디 + * + * 접근 권한이 있는 상점 아이디만 입력 가능하며, 미입력시 토큰에 담긴 상점 아이디를 사용합니다. + */ + public val storeId: String? = null, + /** + * 취소 총 금액 + * + * 값을 입력하지 않으면 전액 취소됩니다. + */ + public val amount: Long? = null, + /** + * 취소 금액 중 면세 금액 + * + * 값을 입력하지 않으면 전액 과세 취소됩니다. + */ + public val taxFreeAmount: Long? = null, + /** + * 취소 금액 중 부가세액 + * + * 값을 입력하지 않으면 자동 계산됩니다. + */ + public val vatAmount: Long? = null, + /** + * 취소 사유 + */ + public val reason: String, + /** + * 취소 요청자 + * + * 고객에 의한 취소일 경우 Customer, 관리자에 의한 취소일 경우 Admin으로 입력합니다. + */ + public val requester: CancelRequester? = null, + /** + * 결제 건의 취소 가능 잔액 + * + * 본 취소 요청 이전의 취소 가능 잔액으로써, 값을 입력하면 잔액이 일치하는 경우에만 취소가 진행됩니다. 값을 입력하지 않으면 별도의 검증 처리를 수행하지 않습니다. + */ + public val currentCancellableAmount: Long? = null, + /** + * 환불 계좌 + * + * 계좌 환불일 경우 입력합니다. 계좌 환불이 필요한 경우는 가상계좌 환불, 휴대폰 익월 환불 등이 있습니다. + */ + public val refundAccount: CancelPaymentBodyRefundAccount? = null, +) diff --git a/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/CancelPaymentBodyRefundAccount.kt b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/CancelPaymentBodyRefundAccount.kt new file mode 100644 index 0000000..5e29147 --- /dev/null +++ b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/CancelPaymentBodyRefundAccount.kt @@ -0,0 +1,27 @@ +package io.portone.sdk.server.schemas + +import kotlin.String +import kotlinx.serialization.Serializable + +/** + * 고객 정보 입력 형식 + */ +@Serializable +public data class CancelPaymentBodyRefundAccount( + /** + * 은행 + */ + public val bank: Bank, + /** + * 계좌번호 + */ + public val number: String, + /** + * 예금주 + */ + public val holderName: String, + /** + * 예금주 연락처 - 스마트로 가상계좌 결제인 경우에 필요합니다. + */ + public val holderPhoneNumber: String? = null, +) diff --git a/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/CancelPaymentError.kt b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/CancelPaymentError.kt new file mode 100644 index 0000000..eafd1cb --- /dev/null +++ b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/CancelPaymentError.kt @@ -0,0 +1,14 @@ +package io.portone.sdk.server.schemas + +import kotlin.String +import kotlinx.serialization.Serializable +import kotlinx.serialization.json.JsonClassDiscriminator + +/** + * CancelPaymentError + */ +@Serializable +@JsonClassDiscriminator("type") +internal sealed interface CancelPaymentError { + public val message: String? +} diff --git a/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/CancelPaymentResponse.kt b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/CancelPaymentResponse.kt new file mode 100644 index 0000000..a7798d7 --- /dev/null +++ b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/CancelPaymentResponse.kt @@ -0,0 +1,14 @@ +package io.portone.sdk.server.schemas + +import kotlinx.serialization.Serializable + +/** + * 결제 취소 성공 응답 + */ +@Serializable +public data class CancelPaymentResponse( + /** + * 결체 취소 내역 + */ + public val cancellation: PaymentCancellation, +) diff --git a/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/CancelRequester.kt b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/CancelRequester.kt new file mode 100644 index 0000000..09c039a --- /dev/null +++ b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/CancelRequester.kt @@ -0,0 +1,12 @@ +package io.portone.sdk.server.schemas + +import kotlinx.serialization.Serializable + +/** + * CancelRequester + */ +@Serializable +public enum class CancelRequester { + CUSTOMER, + ADMIN, +} diff --git a/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/CancelTaxAmountExceedsCancellableTaxAmountError.kt b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/CancelTaxAmountExceedsCancellableTaxAmountError.kt new file mode 100644 index 0000000..96df13d --- /dev/null +++ b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/CancelTaxAmountExceedsCancellableTaxAmountError.kt @@ -0,0 +1,14 @@ +package io.portone.sdk.server.schemas + +import kotlin.String +import kotlinx.serialization.SerialName +import kotlinx.serialization.Serializable + +/** + * 취소 과세 금액이 취소 가능한 과세 금액을 초과한 경우 + */ +@Serializable +@SerialName("CANCEL_TAX_AMOUNT_EXCEEDS_CANCELLABLE_TAX_AMOUNT") +internal data class CancelTaxAmountExceedsCancellableTaxAmountError( + override val message: String? = null, +) : CancelPaymentError diff --git a/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/CancelTaxAmountExceedsCancellableTaxAmountException.kt b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/CancelTaxAmountExceedsCancellableTaxAmountException.kt new file mode 100644 index 0000000..a01b2b9 --- /dev/null +++ b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/CancelTaxAmountExceedsCancellableTaxAmountException.kt @@ -0,0 +1,11 @@ +package io.portone.sdk.server.schemas + +import java.lang.Exception +import kotlin.String + +/** + * 취소 과세 금액이 취소 가능한 과세 금액을 초과한 경우 + */ +public class CancelTaxAmountExceedsCancellableTaxAmountException( + message: String? = null, +) : Exception(message) diff --git a/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/CancelTaxFreeAmountExceedsCancellableTaxFreeAmountError.kt b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/CancelTaxFreeAmountExceedsCancellableTaxFreeAmountError.kt new file mode 100644 index 0000000..0e98b38 --- /dev/null +++ b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/CancelTaxFreeAmountExceedsCancellableTaxFreeAmountError.kt @@ -0,0 +1,14 @@ +package io.portone.sdk.server.schemas + +import kotlin.String +import kotlinx.serialization.SerialName +import kotlinx.serialization.Serializable + +/** + * 취소 면세 금액이 취소 가능한 면세 금액을 초과한 경우 + */ +@Serializable +@SerialName("CANCEL_TAX_FREE_AMOUNT_EXCEEDS_CANCELLABLE_TAX_FREE_AMOUNT") +internal data class CancelTaxFreeAmountExceedsCancellableTaxFreeAmountError( + override val message: String? = null, +) : CancelPaymentError diff --git a/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/CancelTaxFreeAmountExceedsCancellableTaxFreeAmountException.kt b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/CancelTaxFreeAmountExceedsCancellableTaxFreeAmountException.kt new file mode 100644 index 0000000..7c54281 --- /dev/null +++ b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/CancelTaxFreeAmountExceedsCancellableTaxFreeAmountException.kt @@ -0,0 +1,11 @@ +package io.portone.sdk.server.schemas + +import java.lang.Exception +import kotlin.String + +/** + * 취소 면세 금액이 취소 가능한 면세 금액을 초과한 경우 + */ +public class CancelTaxFreeAmountExceedsCancellableTaxFreeAmountException( + message: String? = null, +) : Exception(message) diff --git a/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/CancellableAmountConsistencyBrokenError.kt b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/CancellableAmountConsistencyBrokenError.kt new file mode 100644 index 0000000..fd259ae --- /dev/null +++ b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/CancellableAmountConsistencyBrokenError.kt @@ -0,0 +1,14 @@ +package io.portone.sdk.server.schemas + +import kotlin.String +import kotlinx.serialization.SerialName +import kotlinx.serialization.Serializable + +/** + * 취소 가능 잔액 검증에 실패한 경우 + */ +@Serializable +@SerialName("CANCELLABLE_AMOUNT_CONSISTENCY_BROKEN") +internal data class CancellableAmountConsistencyBrokenError( + override val message: String? = null, +) : CancelPaymentError diff --git a/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/CancellableAmountConsistencyBrokenException.kt b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/CancellableAmountConsistencyBrokenException.kt new file mode 100644 index 0000000..b4b55a7 --- /dev/null +++ b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/CancellableAmountConsistencyBrokenException.kt @@ -0,0 +1,11 @@ +package io.portone.sdk.server.schemas + +import java.lang.Exception +import kotlin.String + +/** + * 취소 가능 잔액 검증에 실패한 경우 + */ +public class CancellableAmountConsistencyBrokenException( + message: String? = null, +) : Exception(message) diff --git a/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/CancelledCashReceipt.kt b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/CancelledCashReceipt.kt new file mode 100644 index 0000000..05f86d8 --- /dev/null +++ b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/CancelledCashReceipt.kt @@ -0,0 +1,81 @@ +package io.portone.sdk.server.schemas + +import io.portone.sdk.server.serializers.InstantSerializer +import java.time.Instant +import kotlin.Boolean +import kotlin.Long +import kotlin.String +import kotlinx.serialization.SerialName +import kotlinx.serialization.Serializable + +/** + * 발급 취소 + */ +@Serializable +@SerialName("CANCELLED") +public data class CancelledCashReceipt( + /** + * 고객사 아이디 + */ + override val merchantId: String, + /** + * 상점 아이디 + */ + override val storeId: String, + /** + * 결제 건 아이디 + */ + override val paymentId: String, + /** + * 현금영수증 발급에 사용된 채널 + */ + override val channel: SelectedChannel, + /** + * 결제 금액 + */ + public val amount: Long, + /** + * 면세액 + */ + public val taxFreeAmount: Long? = null, + /** + * 부가세액 + */ + public val vatAmount: Long? = null, + /** + * 통화 + */ + public val currency: Currency, + /** + * 주문명 + */ + override val orderName: String, + /** + * 수동 발급 여부 + */ + override val isManual: Boolean, + /** + * 현금영수증 유형 + */ + public val type: CashReceiptType? = null, + /** + * PG사 현금영수증 아이디 + */ + public val pgReceiptId: String? = null, + /** + * 승인번호 + */ + public val issueNumber: String, + /** + * 현금영수증 URL + */ + public val url: String? = null, + /** + * 발급 시점 + */ + public val issuedAt: @Serializable(InstantSerializer::class) Instant, + /** + * 취소 시점 + */ + public val cancelledAt: @Serializable(InstantSerializer::class) Instant, +) : CashReceipt diff --git a/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/CancelledPayment.kt b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/CancelledPayment.kt new file mode 100644 index 0000000..fdae058 --- /dev/null +++ b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/CancelledPayment.kt @@ -0,0 +1,150 @@ +package io.portone.sdk.server.schemas + +import io.portone.sdk.server.serializers.InstantSerializer +import java.time.Instant +import kotlin.Boolean +import kotlin.Int +import kotlin.String +import kotlin.collections.List +import kotlinx.serialization.SerialName +import kotlinx.serialization.Serializable + +/** + * 결제 취소 상태 건 + */ +@Serializable +@SerialName("CANCELLED") +public data class CancelledPayment( + /** + * 결제 건 아이디 + */ + override val id: String, + /** + * 결제 건 포트원 채번 아이디 + * + * V1 결제 건의 경우 imp_uid에 해당합니다. + */ + public val transactionId: String, + /** + * 고객사 아이디 + */ + override val merchantId: String, + /** + * 상점 아이디 + */ + override val storeId: String, + /** + * 결제수단 정보 + */ + override val method: PaymentMethod? = null, + /** + * 결제 채널 + */ + override val channel: SelectedChannel, + /** + * 결제 채널 그룹 정보 + */ + override val channelGroup: ChannelGroupSummary? = null, + /** + * 포트원 버전 + */ + override val version: PortOneVersion, + /** + * 결제 예약 건 아이디 + * + * 결제 예약을 이용한 경우에만 존재 + */ + override val scheduleId: String? = null, + /** + * 결제 시 사용된 빌링키 + * + * 빌링키 결제인 경우에만 존재 + */ + override val billingKey: String? = null, + /** + * 웹훅 발송 내역 + */ + override val webhooks: List? = null, + /** + * 결제 요청 시점 + */ + override val requestedAt: @Serializable(InstantSerializer::class) Instant, + /** + * 업데이트 시점 + */ + override val updatedAt: @Serializable(InstantSerializer::class) Instant, + /** + * 상태 업데이트 시점 + */ + override val statusChangedAt: @Serializable(InstantSerializer::class) Instant, + /** + * 주문명 + */ + override val orderName: String, + /** + * 결제 금액 관련 세부 정보 + */ + override val amount: PaymentAmount, + /** + * 통화 + */ + override val currency: Currency, + /** + * 구매자 정보 + */ + override val customer: Customer, + /** + * 프로모션 아이디 + */ + override val promotionId: String? = null, + /** + * 문화비 지출 여부 + */ + override val isCulturalExpense: Boolean? = null, + /** + * 에스크로 결제 정보 + * + * 에스크로 결제인 경우 존재합니다. + */ + override val escrow: PaymentEscrow? = null, + /** + * 상품 정보 + */ + override val products: List? = null, + /** + * 상품 갯수 + */ + override val productCount: Int? = null, + /** + * 사용자 지정 데이터 + */ + override val customData: String? = null, + /** + * 국가 코드 + */ + override val country: Country? = null, + /** + * 결제 완료 시점 + */ + public val paidAt: @Serializable(InstantSerializer::class) Instant? = null, + /** + * PG사 거래 아이디 + */ + public val pgTxId: String? = null, + /** + * 현금영수증 + */ + public val cashReceipt: PaymentCashReceipt? = null, + /** + * 거래 영수증 URL + */ + public val receiptUrl: String? = null, + /** + * 결제 취소 내역 + */ + public val cancellations: List, + /** + * 결제 취소 시점 + */ + public val cancelledAt: @Serializable(InstantSerializer::class) Instant, +) : Payment diff --git a/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/CancelledPaymentCashReceipt.kt b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/CancelledPaymentCashReceipt.kt new file mode 100644 index 0000000..aa3495e --- /dev/null +++ b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/CancelledPaymentCashReceipt.kt @@ -0,0 +1,52 @@ +package io.portone.sdk.server.schemas + +import io.portone.sdk.server.serializers.InstantSerializer +import java.time.Instant +import kotlin.Long +import kotlin.String +import kotlinx.serialization.SerialName +import kotlinx.serialization.Serializable + +/** + * 취소된 현금영수증 + */ +@Serializable +@SerialName("CANCELLED") +public data class CancelledPaymentCashReceipt( + /** + * 현금영수증 유형 + */ + override val type: CashReceiptType? = null, + /** + * PG사 영수증 발급 아이디 + */ + override val pgReceiptId: String? = null, + /** + * 승인 번호 + */ + override val issueNumber: String, + /** + * 총 금액 + */ + override val totalAmount: Long, + /** + * 면세액 + */ + override val taxFreeAmount: Long? = null, + /** + * 통화 + */ + override val currency: Currency, + /** + * 현금영수증 URL + */ + override val url: String? = null, + /** + * 발급 시점 + */ + override val issuedAt: @Serializable(InstantSerializer::class) Instant, + /** + * 취소 시점 + */ + public val cancelledAt: @Serializable(InstantSerializer::class) Instant, +) : PaymentCashReceipt diff --git a/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/CancelledPaymentEscrow.kt b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/CancelledPaymentEscrow.kt new file mode 100644 index 0000000..a156e46 --- /dev/null +++ b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/CancelledPaymentEscrow.kt @@ -0,0 +1,31 @@ +package io.portone.sdk.server.schemas + +import io.portone.sdk.server.serializers.InstantSerializer +import java.time.Instant +import kotlin.String +import kotlinx.serialization.SerialName +import kotlinx.serialization.Serializable + +/** + * 거래 취소 + */ +@Serializable +@SerialName("CANCELLED") +public data class CancelledPaymentEscrow( + /** + * 택배사 + */ + public val company: String, + /** + * 송장번호 + */ + public val invoiceNumber: String, + /** + * 발송 일시 + */ + public val sentAt: @Serializable(InstantSerializer::class) Instant? = null, + /** + * 배송등록 처리 일자 + */ + public val appliedAt: @Serializable(InstantSerializer::class) Instant? = null, +) : PaymentEscrow diff --git a/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/Card.kt b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/Card.kt new file mode 100644 index 0000000..d7d550e --- /dev/null +++ b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/Card.kt @@ -0,0 +1,43 @@ +package io.portone.sdk.server.schemas + +import kotlin.String +import kotlinx.serialization.Serializable + +/** + * 카드 상세 정보 + */ +@Serializable +public data class Card( + /** + * 발행사 코드 + */ + public val publisher: String? = null, + /** + * 발급사 코드 + */ + public val issuer: String? = null, + /** + * 카드 브랜드 + */ + public val brand: CardBrand? = null, + /** + * 카드 유형 + */ + public val type: CardType? = null, + /** + * 카드 소유주 유형 + */ + public val ownerType: CardOwnerType? = null, + /** + * 카드 번호 앞 6자리 또는 8자리의 BIN (Bank Identification Number) + */ + public val bin: String? = null, + /** + * 카드 상품명 + */ + public val name: String? = null, + /** + * 마스킹된 카드 번호 + */ + public val number: String? = null, +) diff --git a/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/CardBrand.kt b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/CardBrand.kt new file mode 100644 index 0000000..11c9a86 --- /dev/null +++ b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/CardBrand.kt @@ -0,0 +1,17 @@ +package io.portone.sdk.server.schemas + +import kotlinx.serialization.Serializable + +/** + * 카드 브랜드 + */ +@Serializable +public enum class CardBrand { + LOCAL, + MASTER, + UNIONPAY, + VISA, + JCB, + AMEX, + DINERS, +} diff --git a/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/CardCredential.kt b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/CardCredential.kt new file mode 100644 index 0000000..4b0e840 --- /dev/null +++ b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/CardCredential.kt @@ -0,0 +1,31 @@ +package io.portone.sdk.server.schemas + +import kotlin.String +import kotlinx.serialization.Serializable + +/** + * 카드 인증 관련 정보 + */ +@Serializable +public data class CardCredential( + /** + * 카드 번호 (숫자만) + */ + public val number: String, + /** + * 유효 기간 만료 연도 (2자리) + */ + public val expiryYear: String, + /** + * 유효 기간 만료 월 (2자리) + */ + public val expiryMonth: String, + /** + * 생년월일 (yyMMdd) 또는 사업자 등록 번호 (10자리, 숫자만) + */ + public val birthOrBusinessRegistrationNumber: String? = null, + /** + * 비밀번호 앞 2자리 + */ + public val passwordTwoDigits: String? = null, +) diff --git a/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/CardOwnerType.kt b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/CardOwnerType.kt new file mode 100644 index 0000000..c91d8b3 --- /dev/null +++ b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/CardOwnerType.kt @@ -0,0 +1,18 @@ +package io.portone.sdk.server.schemas + +import kotlinx.serialization.Serializable + +/** + * 카드 소유주 유형 + */ +@Serializable +public enum class CardOwnerType { + /** + * 개인 + */ + PERSONAL, + /** + * 법인 + */ + CORPORATE, +} diff --git a/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/CardType.kt b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/CardType.kt new file mode 100644 index 0000000..7da05b8 --- /dev/null +++ b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/CardType.kt @@ -0,0 +1,22 @@ +package io.portone.sdk.server.schemas + +import kotlinx.serialization.Serializable + +/** + * 카드 유형 + */ +@Serializable +public enum class CardType { + /** + * 신용카드 + */ + CREDIT, + /** + * 체크카드 + */ + DEBIT, + /** + * 기프트카드 + */ + GIFT, +} diff --git a/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/CashReceipt.kt b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/CashReceipt.kt new file mode 100644 index 0000000..e8a2245 --- /dev/null +++ b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/CashReceipt.kt @@ -0,0 +1,43 @@ +package io.portone.sdk.server.schemas + +import kotlin.Boolean +import kotlin.String +import kotlinx.serialization.Serializable +import kotlinx.serialization.json.JsonClassDiscriminator + +/** + * 현금영수증 내역 + */ +@Serializable +@JsonClassDiscriminator("status") +public sealed interface CashReceipt { + /** + * 고객사 아이디 + */ + public val merchantId: String + + /** + * 상점 아이디 + */ + public val storeId: String + + /** + * 결제 건 아이디 + */ + public val paymentId: String + + /** + * 현금영수증 발급에 사용된 채널 + */ + public val channel: SelectedChannel? + + /** + * 주문명 + */ + public val orderName: String + + /** + * 수동 발급 여부 + */ + public val isManual: Boolean +} diff --git a/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/CashReceiptAlreadyIssuedError.kt b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/CashReceiptAlreadyIssuedError.kt new file mode 100644 index 0000000..0ea7873 --- /dev/null +++ b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/CashReceiptAlreadyIssuedError.kt @@ -0,0 +1,14 @@ +package io.portone.sdk.server.schemas + +import kotlin.String +import kotlinx.serialization.SerialName +import kotlinx.serialization.Serializable + +/** + * 현금영수증이 이미 발급된 경우 + */ +@Serializable +@SerialName("CASH_RECEIPT_ALREADY_ISSUED") +internal data class CashReceiptAlreadyIssuedError( + override val message: String? = null, +) : IssueCashReceiptError diff --git a/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/CashReceiptAlreadyIssuedException.kt b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/CashReceiptAlreadyIssuedException.kt new file mode 100644 index 0000000..90c62b7 --- /dev/null +++ b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/CashReceiptAlreadyIssuedException.kt @@ -0,0 +1,11 @@ +package io.portone.sdk.server.schemas + +import java.lang.Exception +import kotlin.String + +/** + * 현금영수증이 이미 발급된 경우 + */ +public class CashReceiptAlreadyIssuedException( + message: String? = null, +) : Exception(message) diff --git a/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/CashReceiptInput.kt b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/CashReceiptInput.kt new file mode 100644 index 0000000..cba8b30 --- /dev/null +++ b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/CashReceiptInput.kt @@ -0,0 +1,21 @@ +package io.portone.sdk.server.schemas + +import kotlin.String +import kotlinx.serialization.Serializable + +/** + * 현금영수증 입력 정보 + */ +@Serializable +public data class CashReceiptInput( + /** + * 현금영수증 유형 + */ + public val type: CashReceiptInputType, + /** + * 사용자 식별 번호 + * + * 미발행 유형 선택 시 입력하지 않습니다. + */ + public val customerIdentityNumber: String? = null, +) diff --git a/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/CashReceiptInputType.kt b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/CashReceiptInputType.kt new file mode 100644 index 0000000..99c0e1d --- /dev/null +++ b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/CashReceiptInputType.kt @@ -0,0 +1,24 @@ +package io.portone.sdk.server.schemas + +import kotlinx.serialization.Serializable + +/** + * 입력 시 발급 유형 + */ +@Serializable +public enum class CashReceiptInputType { + /** + * 소득공제용 + */ + PERSONAL, + /** + * 지출증빙용 + */ + CORPORATE, + /** + * 미발행 + * + * PG사 설정에 따라 PG사가 자동으로 자진발급 처리할 수 있습니다. + */ + NO_RECEIPT, +} diff --git a/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/CashReceiptNotFoundError.kt b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/CashReceiptNotFoundError.kt new file mode 100644 index 0000000..1622c76 --- /dev/null +++ b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/CashReceiptNotFoundError.kt @@ -0,0 +1,15 @@ +package io.portone.sdk.server.schemas + +import kotlin.String +import kotlinx.serialization.SerialName +import kotlinx.serialization.Serializable + +/** + * 현금영수증이 존재하지 않는 경우 + */ +@Serializable +@SerialName("CASH_RECEIPT_NOT_FOUND") +internal data class CashReceiptNotFoundError( + override val message: String? = null, +) : GetCashReceiptError, + CancelCashReceiptError diff --git a/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/CashReceiptNotFoundException.kt b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/CashReceiptNotFoundException.kt new file mode 100644 index 0000000..bd6ca2b --- /dev/null +++ b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/CashReceiptNotFoundException.kt @@ -0,0 +1,11 @@ +package io.portone.sdk.server.schemas + +import java.lang.Exception +import kotlin.String + +/** + * 현금영수증이 존재하지 않는 경우 + */ +public class CashReceiptNotFoundException( + message: String? = null, +) : Exception(message) diff --git a/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/CashReceiptNotIssuedError.kt b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/CashReceiptNotIssuedError.kt new file mode 100644 index 0000000..218671b --- /dev/null +++ b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/CashReceiptNotIssuedError.kt @@ -0,0 +1,14 @@ +package io.portone.sdk.server.schemas + +import kotlin.String +import kotlinx.serialization.SerialName +import kotlinx.serialization.Serializable + +/** + * 현금영수증이 발급되지 않은 경우 + */ +@Serializable +@SerialName("CASH_RECEIPT_NOT_ISSUED") +internal data class CashReceiptNotIssuedError( + override val message: String? = null, +) : CancelCashReceiptError diff --git a/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/CashReceiptNotIssuedException.kt b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/CashReceiptNotIssuedException.kt new file mode 100644 index 0000000..af4b042 --- /dev/null +++ b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/CashReceiptNotIssuedException.kt @@ -0,0 +1,11 @@ +package io.portone.sdk.server.schemas + +import java.lang.Exception +import kotlin.String + +/** + * 현금영수증이 발급되지 않은 경우 + */ +public class CashReceiptNotIssuedException( + message: String? = null, +) : Exception(message) diff --git a/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/CashReceiptSummary.kt b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/CashReceiptSummary.kt new file mode 100644 index 0000000..45fad0f --- /dev/null +++ b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/CashReceiptSummary.kt @@ -0,0 +1,23 @@ +package io.portone.sdk.server.schemas + +import kotlin.String +import kotlinx.serialization.Serializable + +/** + * 현금영수증 내역 + */ +@Serializable +public data class CashReceiptSummary( + /** + * 발행 번호 + */ + public val issueNumber: String, + /** + * 현금 영수증 URL + */ + public val url: String, + /** + * PG사 현금영수증 아이디 + */ + public val pgReceiptId: String, +) diff --git a/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/CashReceiptType.kt b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/CashReceiptType.kt new file mode 100644 index 0000000..bfdb6c6 --- /dev/null +++ b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/CashReceiptType.kt @@ -0,0 +1,18 @@ +package io.portone.sdk.server.schemas + +import kotlinx.serialization.Serializable + +/** + * 발급 유형 + */ +@Serializable +public enum class CashReceiptType { + /** + * 소득공제용 + */ + PERSONAL, + /** + * 지출증빙용 + */ + CORPORATE, +} diff --git a/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/ChannelGroupSummary.kt b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/ChannelGroupSummary.kt new file mode 100644 index 0000000..a510f53 --- /dev/null +++ b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/ChannelGroupSummary.kt @@ -0,0 +1,24 @@ +package io.portone.sdk.server.schemas + +import kotlin.Boolean +import kotlin.String +import kotlinx.serialization.Serializable + +/** + * 채널 그룹 정보 + */ +@Serializable +public data class ChannelGroupSummary( + /** + * 채널 그룹 아이디 + */ + public val id: String, + /** + * 채널 그룹 이름 + */ + public val name: String, + /** + * 테스트 채널 그룹 여부 + */ + public val isForTest: Boolean, +) diff --git a/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/ChannelNotFoundError.kt b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/ChannelNotFoundError.kt new file mode 100644 index 0000000..3edaa66 --- /dev/null +++ b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/ChannelNotFoundError.kt @@ -0,0 +1,18 @@ +package io.portone.sdk.server.schemas + +import kotlin.String +import kotlinx.serialization.SerialName +import kotlinx.serialization.Serializable + +/** + * 요청된 채널이 존재하지 않는 경우 + */ +@Serializable +@SerialName("CHANNEL_NOT_FOUND") +internal data class ChannelNotFoundError( + override val message: String? = null, +) : SendIdentityVerificationError, + IssueBillingKeyError, + PayWithBillingKeyError, + PayInstantlyError, + IssueCashReceiptError diff --git a/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/ChannelNotFoundException.kt b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/ChannelNotFoundException.kt new file mode 100644 index 0000000..12b9d10 --- /dev/null +++ b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/ChannelNotFoundException.kt @@ -0,0 +1,11 @@ +package io.portone.sdk.server.schemas + +import java.lang.Exception +import kotlin.String + +/** + * 요청된 채널이 존재하지 않는 경우 + */ +public class ChannelNotFoundException( + message: String? = null, +) : Exception(message) diff --git a/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/ChannelSpecificError.kt b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/ChannelSpecificError.kt new file mode 100644 index 0000000..513d589 --- /dev/null +++ b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/ChannelSpecificError.kt @@ -0,0 +1,21 @@ +package io.portone.sdk.server.schemas + +import kotlin.String +import kotlin.collections.List +import kotlinx.serialization.SerialName +import kotlinx.serialization.Serializable + +/** + * 여러 채널을 지정한 요청에서, 채널 각각에서 오류가 발생한 경우 + */ +@Serializable +@SerialName("CHANNEL_SPECIFIC") +internal data class ChannelSpecificError( + override val message: String? = null, + public val failures: List, + /** + * (결제, 본인인증 등에) 선택된 채널 정보 + */ + public val succeededChannels: List, +) : DeleteBillingKeyError, + IssueBillingKeyError diff --git a/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/ChannelSpecificException.kt b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/ChannelSpecificException.kt new file mode 100644 index 0000000..cd76a63 --- /dev/null +++ b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/ChannelSpecificException.kt @@ -0,0 +1,17 @@ +package io.portone.sdk.server.schemas + +import java.lang.Exception +import kotlin.String +import kotlin.collections.List + +/** + * 여러 채널을 지정한 요청에서, 채널 각각에서 오류가 발생한 경우 + */ +public class ChannelSpecificException( + message: String? = null, + public val failures: List, + /** + * (결제, 본인인증 등에) 선택된 채널 정보 + */ + public val succeededChannels: List, +) : Exception(message) diff --git a/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/ChannelSpecificFailure.kt b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/ChannelSpecificFailure.kt new file mode 100644 index 0000000..14d03b7 --- /dev/null +++ b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/ChannelSpecificFailure.kt @@ -0,0 +1,16 @@ +package io.portone.sdk.server.schemas + +import kotlin.String +import kotlinx.serialization.Serializable +import kotlinx.serialization.json.JsonClassDiscriminator + +/** + * ChannelSpecificFailure + */ +@Serializable +@JsonClassDiscriminator("type") +public sealed interface ChannelSpecificFailure { + public val channel: SelectedChannel + + public val message: String? +} diff --git a/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/ChannelSpecificFailureInvalidRequest.kt b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/ChannelSpecificFailureInvalidRequest.kt new file mode 100644 index 0000000..efedfa8 --- /dev/null +++ b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/ChannelSpecificFailureInvalidRequest.kt @@ -0,0 +1,17 @@ +package io.portone.sdk.server.schemas + +import kotlin.String +import kotlinx.serialization.SerialName +import kotlinx.serialization.Serializable + +/** + * 요청된 입력 정보가 유효하지 않은 경우 + * + * 허가되지 않은 값, 올바르지 않은 형식의 요청 등이 모두 해당됩니다. + */ +@Serializable +@SerialName("INVALID_REQUEST") +public data class ChannelSpecificFailureInvalidRequest( + override val channel: SelectedChannel, + override val message: String? = null, +) : ChannelSpecificFailure diff --git a/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/ChannelSpecificFailurePgProvider.kt b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/ChannelSpecificFailurePgProvider.kt new file mode 100644 index 0000000..c4da49f --- /dev/null +++ b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/ChannelSpecificFailurePgProvider.kt @@ -0,0 +1,17 @@ +package io.portone.sdk.server.schemas + +import kotlin.String +import kotlinx.serialization.SerialName +import kotlinx.serialization.Serializable + +/** + * PG사에서 오류를 전달한 경우 + */ +@Serializable +@SerialName("PG_PROVIDER") +public data class ChannelSpecificFailurePgProvider( + override val channel: SelectedChannel, + override val message: String? = null, + public val pgCode: String, + public val pgMessage: String, +) : ChannelSpecificFailure diff --git a/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/CloseVirtualAccountError.kt b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/CloseVirtualAccountError.kt new file mode 100644 index 0000000..fb67d42 --- /dev/null +++ b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/CloseVirtualAccountError.kt @@ -0,0 +1,14 @@ +package io.portone.sdk.server.schemas + +import kotlin.String +import kotlinx.serialization.Serializable +import kotlinx.serialization.json.JsonClassDiscriminator + +/** + * CloseVirtualAccountError + */ +@Serializable +@JsonClassDiscriminator("type") +internal sealed interface CloseVirtualAccountError { + public val message: String? +} diff --git a/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/CloseVirtualAccountResponse.kt b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/CloseVirtualAccountResponse.kt new file mode 100644 index 0000000..a266064 --- /dev/null +++ b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/CloseVirtualAccountResponse.kt @@ -0,0 +1,16 @@ +package io.portone.sdk.server.schemas + +import io.portone.sdk.server.serializers.InstantSerializer +import java.time.Instant +import kotlinx.serialization.Serializable + +/** + * 가상계좌 말소 성공 응답 + */ +@Serializable +public data class CloseVirtualAccountResponse( + /** + * 가상계좌 말소 시점 + */ + public val closedAt: @Serializable(InstantSerializer::class) Instant, +) diff --git a/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/ConfirmEscrowBody.kt b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/ConfirmEscrowBody.kt new file mode 100644 index 0000000..7374056 --- /dev/null +++ b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/ConfirmEscrowBody.kt @@ -0,0 +1,25 @@ +package io.portone.sdk.server.schemas + +import kotlin.Boolean +import kotlin.String +import kotlinx.serialization.Serializable + +/** + * 에스크로 구매 확정 입력 정보 + */ +@Serializable +internal data class ConfirmEscrowBody( + /** + * 상점 아이디 + * + * 접근 권한이 있는 상점 아이디만 입력 가능하며, 미입력시 토큰에 담긴 상점 아이디를 사용합니다. + */ + public val storeId: String? = null, + /** + * 확인 주체가 상점인지 여부 + * + * 구매확정요청 주체가 고객사 관리자인지 구매자인지 구분하기 위한 필드입니다. + * 네이버페이 전용 파라미터이며, 구분이 모호한 경우 고객사 관리자(true)로 입력합니다. + */ + public val fromStore: Boolean? = null, +) diff --git a/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/ConfirmEscrowError.kt b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/ConfirmEscrowError.kt new file mode 100644 index 0000000..669bee3 --- /dev/null +++ b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/ConfirmEscrowError.kt @@ -0,0 +1,14 @@ +package io.portone.sdk.server.schemas + +import kotlin.String +import kotlinx.serialization.Serializable +import kotlinx.serialization.json.JsonClassDiscriminator + +/** + * ConfirmEscrowError + */ +@Serializable +@JsonClassDiscriminator("type") +internal sealed interface ConfirmEscrowError { + public val message: String? +} diff --git a/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/ConfirmEscrowResponse.kt b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/ConfirmEscrowResponse.kt new file mode 100644 index 0000000..26f163a --- /dev/null +++ b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/ConfirmEscrowResponse.kt @@ -0,0 +1,16 @@ +package io.portone.sdk.server.schemas + +import io.portone.sdk.server.serializers.InstantSerializer +import java.time.Instant +import kotlinx.serialization.Serializable + +/** + * 에스크로 구매 확정 성공 응답 + */ +@Serializable +public data class ConfirmEscrowResponse( + /** + * 에스크로 구매 확정 시점 + */ + public val completedAt: @Serializable(InstantSerializer::class) Instant, +) diff --git a/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/ConfirmIdentityVerificationBody.kt b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/ConfirmIdentityVerificationBody.kt new file mode 100644 index 0000000..112d467 --- /dev/null +++ b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/ConfirmIdentityVerificationBody.kt @@ -0,0 +1,23 @@ +package io.portone.sdk.server.schemas + +import kotlin.String +import kotlinx.serialization.Serializable + +/** + * 본인인증 확인을 위한 입력 정보 + */ +@Serializable +internal data class ConfirmIdentityVerificationBody( + /** + * 상점 아이디 + * + * 접근 권한이 있는 상점 아이디만 입력 가능하며, 미입력시 토큰에 담긴 상점 아이디를 사용합니다. + */ + public val storeId: String? = null, + /** + * OTP (One-Time Password) + * + * SMS 방식에서만 사용됩니다. + */ + public val otp: String? = null, +) diff --git a/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/ConfirmIdentityVerificationError.kt b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/ConfirmIdentityVerificationError.kt new file mode 100644 index 0000000..1ff6698 --- /dev/null +++ b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/ConfirmIdentityVerificationError.kt @@ -0,0 +1,14 @@ +package io.portone.sdk.server.schemas + +import kotlin.String +import kotlinx.serialization.Serializable +import kotlinx.serialization.json.JsonClassDiscriminator + +/** + * ConfirmIdentityVerificationError + */ +@Serializable +@JsonClassDiscriminator("type") +internal sealed interface ConfirmIdentityVerificationError { + public val message: String? +} diff --git a/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/ConfirmIdentityVerificationResponse.kt b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/ConfirmIdentityVerificationResponse.kt new file mode 100644 index 0000000..e4ecdf2 --- /dev/null +++ b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/ConfirmIdentityVerificationResponse.kt @@ -0,0 +1,14 @@ +package io.portone.sdk.server.schemas + +import kotlinx.serialization.Serializable + +/** + * 본인인증 확인 성공 응답 + */ +@Serializable +public data class ConfirmIdentityVerificationResponse( + /** + * 완료된 본인인증 내역 + */ + public val identityVerification: VerifiedIdentityVerification, +) diff --git a/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/ConfirmedPaymentEscrow.kt b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/ConfirmedPaymentEscrow.kt new file mode 100644 index 0000000..4153798 --- /dev/null +++ b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/ConfirmedPaymentEscrow.kt @@ -0,0 +1,36 @@ +package io.portone.sdk.server.schemas + +import io.portone.sdk.server.serializers.InstantSerializer +import java.time.Instant +import kotlin.Boolean +import kotlin.String +import kotlinx.serialization.SerialName +import kotlinx.serialization.Serializable + +/** + * 구매 확정 + */ +@Serializable +@SerialName("CONFIRMED") +public data class ConfirmedPaymentEscrow( + /** + * 택배사 + */ + public val company: String, + /** + * 송장번호 + */ + public val invoiceNumber: String, + /** + * 발송 일시 + */ + public val sentAt: @Serializable(InstantSerializer::class) Instant? = null, + /** + * 배송등록 처리 일자 + */ + public val appliedAt: @Serializable(InstantSerializer::class) Instant? = null, + /** + * 자동 구매 확정 처리 여부 + */ + public val isAutomaticallyConfirmed: Boolean, +) : PaymentEscrow diff --git a/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/Country.kt b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/Country.kt new file mode 100644 index 0000000..35c2511 --- /dev/null +++ b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/Country.kt @@ -0,0 +1,1006 @@ +package io.portone.sdk.server.schemas + +import kotlinx.serialization.Serializable + +/** + * 국가 + */ +@Serializable +public enum class Country { + /** + * Andorra + */ + AD, + /** + * United Arab Emirates (the) + */ + AE, + /** + * Afghanistan + */ + AF, + /** + * Antigua and Barbuda + */ + AG, + /** + * Anguilla + */ + AI, + /** + * Albania + */ + AL, + /** + * Armenia + */ + AM, + /** + * Angola + */ + AO, + /** + * Antarctica + */ + AQ, + /** + * Argentina + */ + AR, + /** + * American Samoa + */ + AS, + /** + * Austria + */ + AT, + /** + * Australia + */ + AU, + /** + * Aruba + */ + AW, + /** + * Åland Islands + */ + AX, + /** + * Azerbaijan + */ + AZ, + /** + * Bosnia and Herzegovina + */ + BA, + /** + * Barbados + */ + BB, + /** + * Bangladesh + */ + BD, + /** + * Belgium + */ + BE, + /** + * Burkina Faso + */ + BF, + /** + * Bulgaria + */ + BG, + /** + * Bahrain + */ + BH, + /** + * Burundi + */ + BI, + /** + * Benin + */ + BJ, + /** + * Saint Barthélemy + */ + BL, + /** + * Bermuda + */ + BM, + /** + * Brunei Darussalam + */ + BN, + /** + * Bolivia (Plurinational State of) + */ + BO, + /** + * Bonaire, Sint Eustatius and Saba + */ + BQ, + /** + * Brazil + */ + BR, + /** + * Bahamas (the) + */ + BS, + /** + * Bhutan + */ + BT, + /** + * Bouvet Island + */ + BV, + /** + * Botswana + */ + BW, + /** + * Belarus + */ + BY, + /** + * Belize + */ + BZ, + /** + * Canada + */ + CA, + /** + * Cocos (Keeling) Islands (the) + */ + CC, + /** + * Congo (the Democratic Republic of the) + */ + CD, + /** + * Central African Republic (the) + */ + CF, + /** + * Congo (the) + */ + CG, + /** + * Switzerland + */ + CH, + /** + * Côte d'Ivoire + */ + CI, + /** + * Cook Islands (the) + */ + CK, + /** + * Chile + */ + CL, + /** + * Cameroon + */ + CM, + /** + * China + */ + CN, + /** + * Colombia + */ + CO, + /** + * Costa Rica + */ + CR, + /** + * Cuba + */ + CU, + /** + * Cabo Verde + */ + CV, + /** + * Curaçao + */ + CW, + /** + * Christmas Island + */ + CX, + /** + * Cyprus + */ + CY, + /** + * Czechia + */ + CZ, + /** + * Germany + */ + DE, + /** + * Djibouti + */ + DJ, + /** + * Denmark + */ + DK, + /** + * Dominica + */ + DM, + /** + * Dominican Republic (the) + */ + DO, + /** + * Algeria + */ + DZ, + /** + * Ecuador + */ + EC, + /** + * Estonia + */ + EE, + /** + * Egypt + */ + EG, + /** + * Western Sahara + */ + EH, + /** + * Eritrea + */ + ER, + /** + * Spain + */ + ES, + /** + * Ethiopia + */ + ET, + /** + * Finland + */ + FI, + /** + * Fiji + */ + FJ, + /** + * Falkland Islands (the) [Malvinas] + */ + FK, + /** + * Micronesia (Federated States of) + */ + FM, + /** + * Faroe Islands (the) + */ + FO, + /** + * France + */ + FR, + /** + * Gabon + */ + GA, + /** + * United Kingdom of Great Britain and Northern Ireland (the) + */ + GB, + /** + * Grenada + */ + GD, + /** + * Georgia + */ + GE, + /** + * French Guiana + */ + GF, + /** + * Guernsey + */ + GG, + /** + * Ghana + */ + GH, + /** + * Gibraltar + */ + GI, + /** + * Greenland + */ + GL, + /** + * Gambia (the) + */ + GM, + /** + * Guinea + */ + GN, + /** + * Guadeloupe + */ + GP, + /** + * Equatorial Guinea + */ + GQ, + /** + * Greece + */ + GR, + /** + * South Georgia and the South Sandwich Islands + */ + GS, + /** + * Guatemala + */ + GT, + /** + * Guam + */ + GU, + /** + * Guinea-Bissau + */ + GW, + /** + * Guyana + */ + GY, + /** + * Hong Kong + */ + HK, + /** + * Heard Island and McDonald Islands + */ + HM, + /** + * Honduras + */ + HN, + /** + * Croatia + */ + HR, + /** + * Haiti + */ + HT, + /** + * Hungary + */ + HU, + /** + * Indonesia + */ + ID, + /** + * Ireland + */ + IE, + /** + * Israel + */ + IL, + /** + * Isle of Man + */ + IM, + /** + * India + */ + IN, + /** + * British Indian Ocean Territory (the) + */ + IO, + /** + * Iraq + */ + IQ, + /** + * Iran (Islamic Republic of) + */ + IR, + /** + * Iceland + */ + IS, + /** + * Italy + */ + IT, + /** + * Jersey + */ + JE, + /** + * Jamaica + */ + JM, + /** + * Jordan + */ + JO, + /** + * Japan + */ + JP, + /** + * Kenya + */ + KE, + /** + * Kyrgyzstan + */ + KG, + /** + * Cambodia + */ + KH, + /** + * Kiribati + */ + KI, + /** + * Comoros (the) + */ + KM, + /** + * Saint Kitts and Nevis + */ + KN, + /** + * Korea (the Democratic People's Republic of) + */ + KP, + /** + * Korea (the Republic of) + */ + KR, + /** + * Kuwait + */ + KW, + /** + * Cayman Islands (the) + */ + KY, + /** + * Kazakhstan + */ + KZ, + /** + * Lao People's Democratic Republic (the) + */ + LA, + /** + * Lebanon + */ + LB, + /** + * Saint Lucia + */ + LC, + /** + * Liechtenstein + */ + LI, + /** + * Sri Lanka + */ + LK, + /** + * Liberia + */ + LR, + /** + * Lesotho + */ + LS, + /** + * Lithuania + */ + LT, + /** + * Luxembourg + */ + LU, + /** + * Latvia + */ + LV, + /** + * Libya + */ + LY, + /** + * Morocco + */ + MA, + /** + * Monaco + */ + MC, + /** + * Moldova (the Republic of) + */ + MD, + /** + * Montenegro + */ + ME, + /** + * Saint Martin (French part) + */ + MF, + /** + * Madagascar + */ + MG, + /** + * Marshall Islands (the) + */ + MH, + /** + * North Macedonia + */ + MK, + /** + * Mali + */ + ML, + /** + * Myanmar + */ + MM, + /** + * Mongolia + */ + MN, + /** + * Macao + */ + MO, + /** + * Northern Mariana Islands (the) + */ + MP, + /** + * Martinique + */ + MQ, + /** + * Mauritania + */ + MR, + /** + * Montserrat + */ + MS, + /** + * Malta + */ + MT, + /** + * Mauritius + */ + MU, + /** + * Maldives + */ + MV, + /** + * Malawi + */ + MW, + /** + * Mexico + */ + MX, + /** + * Malaysia + */ + MY, + /** + * Mozambique + */ + MZ, + /** + * Namibia + */ + NA, + /** + * New Caledonia + */ + NC, + /** + * Niger (the) + */ + NE, + /** + * Norfolk Island + */ + NF, + /** + * Nigeria + */ + NG, + /** + * Nicaragua + */ + NI, + /** + * Netherlands (Kingdom of the) + */ + NL, + /** + * Norway + */ + NO, + /** + * Nepal + */ + NP, + /** + * Nauru + */ + NR, + /** + * Niue + */ + NU, + /** + * New Zealand + */ + NZ, + /** + * Oman + */ + OM, + /** + * Panama + */ + PA, + /** + * Peru + */ + PE, + /** + * French Polynesia + */ + PF, + /** + * Papua New Guinea + */ + PG, + /** + * Philippines (the) + */ + PH, + /** + * Pakistan + */ + PK, + /** + * Poland + */ + PL, + /** + * Saint Pierre and Miquelon + */ + PM, + /** + * Pitcairn + */ + PN, + /** + * Puerto Rico + */ + PR, + /** + * Palestine, State of + */ + PS, + /** + * Portugal + */ + PT, + /** + * Palau + */ + PW, + /** + * Paraguay + */ + PY, + /** + * Qatar + */ + QA, + /** + * Réunion + */ + RE, + /** + * Romania + */ + RO, + /** + * Serbia + */ + RS, + /** + * Russian Federation (the) + */ + RU, + /** + * Rwanda + */ + RW, + /** + * Saudi Arabia + */ + SA, + /** + * Solomon Islands + */ + SB, + /** + * Seychelles + */ + SC, + /** + * Sudan (the) + */ + SD, + /** + * Sweden + */ + SE, + /** + * Singapore + */ + SG, + /** + * Saint Helena, Ascension and Tristan da Cunha + */ + SH, + /** + * Slovenia + */ + SI, + /** + * Svalbard and Jan Mayen + */ + SJ, + /** + * Slovakia + */ + SK, + /** + * Sierra Leone + */ + SL, + /** + * San Marino + */ + SM, + /** + * Senegal + */ + SN, + /** + * Somalia + */ + SO, + /** + * Suriname + */ + SR, + /** + * South Sudan + */ + SS, + /** + * Sao Tome and Principe + */ + ST, + /** + * El Salvador + */ + SV, + /** + * Sint Maarten (Dutch part) + */ + SX, + /** + * Syrian Arab Republic (the) + */ + SY, + /** + * Eswatini + */ + SZ, + /** + * Turks and Caicos Islands (the) + */ + TC, + /** + * Chad + */ + TD, + /** + * French Southern Territories (the) + */ + TF, + /** + * Togo + */ + TG, + /** + * Thailand + */ + TH, + /** + * Tajikistan + */ + TJ, + /** + * Tokelau + */ + TK, + /** + * Timor-Leste + */ + TL, + /** + * Turkmenistan + */ + TM, + /** + * Tunisia + */ + TN, + /** + * Tonga + */ + TO, + /** + * Türkiye + */ + TR, + /** + * Trinidad and Tobago + */ + TT, + /** + * Tuvalu + */ + TV, + /** + * Taiwan (Province of China) + */ + TW, + /** + * Tanzania, the United Republic of + */ + TZ, + /** + * Ukraine + */ + UA, + /** + * Uganda + */ + UG, + /** + * United States Minor Outlying Islands (the) + */ + UM, + /** + * United States of America (the) + */ + US, + /** + * Uruguay + */ + UY, + /** + * Uzbekistan + */ + UZ, + /** + * Holy See (the) + */ + VA, + /** + * Saint Vincent and the Grenadines + */ + VC, + /** + * Venezuela (Bolivarian Republic of) + */ + VE, + /** + * Virgin Islands (British) + */ + VG, + /** + * Virgin Islands (U.S.) + */ + VI, + /** + * Viet Nam + */ + VN, + /** + * Vanuatu + */ + VU, + /** + * Wallis and Futuna + */ + WF, + /** + * Samoa + */ + WS, + /** + * Yemen + */ + YE, + /** + * Mayotte + */ + YT, + /** + * South Africa + */ + ZA, + /** + * Zambia + */ + ZM, + /** + * Zimbabwe + */ + ZW, +} diff --git a/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/CreatePaymentScheduleBody.kt b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/CreatePaymentScheduleBody.kt new file mode 100644 index 0000000..c678925 --- /dev/null +++ b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/CreatePaymentScheduleBody.kt @@ -0,0 +1,20 @@ +package io.portone.sdk.server.schemas + +import io.portone.sdk.server.serializers.InstantSerializer +import java.time.Instant +import kotlinx.serialization.Serializable + +/** + * 결제 예약 요청 입력 정보 + */ +@Serializable +internal data class CreatePaymentScheduleBody( + /** + * 빌링키 결제 입력 정보 + */ + public val payment: BillingKeyPaymentInput, + /** + * 결제 예정 시점 + */ + public val timeToPay: @Serializable(InstantSerializer::class) Instant, +) diff --git a/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/CreatePaymentScheduleError.kt b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/CreatePaymentScheduleError.kt new file mode 100644 index 0000000..ec4bbca --- /dev/null +++ b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/CreatePaymentScheduleError.kt @@ -0,0 +1,14 @@ +package io.portone.sdk.server.schemas + +import kotlin.String +import kotlinx.serialization.Serializable +import kotlinx.serialization.json.JsonClassDiscriminator + +/** + * CreatePaymentScheduleError + */ +@Serializable +@JsonClassDiscriminator("type") +internal sealed interface CreatePaymentScheduleError { + public val message: String? +} diff --git a/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/CreatePaymentScheduleResponse.kt b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/CreatePaymentScheduleResponse.kt new file mode 100644 index 0000000..ac7d318 --- /dev/null +++ b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/CreatePaymentScheduleResponse.kt @@ -0,0 +1,14 @@ +package io.portone.sdk.server.schemas + +import kotlinx.serialization.Serializable + +/** + * 결제 예약 성공 응답 + */ +@Serializable +public data class CreatePaymentScheduleResponse( + /** + * 결제 예약 건 + */ + public val schedule: PaymentScheduleSummary, +) diff --git a/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/Currency.kt b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/Currency.kt new file mode 100644 index 0000000..5f317c9 --- /dev/null +++ b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/Currency.kt @@ -0,0 +1,734 @@ +package io.portone.sdk.server.schemas + +import kotlinx.serialization.Serializable + +/** + * 통화 단위 + */ +@Serializable +public enum class Currency { + /** + * 대한민국 원화 + */ + KRW, + /** + * 미국 달러 + */ + USD, + /** + * 일본 엔화 + */ + JPY, + /** + * UAE Dirham + */ + AED, + /** + * Afghani + */ + AFN, + /** + * Lek + */ + ALL, + /** + * Armenian Dram + */ + AMD, + /** + * Netherlands Antillean Guilder + */ + ANG, + /** + * Kwanza + */ + AOA, + /** + * Argentine Peso + */ + ARS, + /** + * Australian Dollar + */ + AUD, + /** + * Aruban Florin + */ + AWG, + /** + * Azerbaijan Manat + */ + AZN, + /** + * Convertible Mark + */ + BAM, + /** + * Barbados Dollar + */ + BBD, + /** + * Taka + */ + BDT, + /** + * Bulgarian Lev + */ + BGN, + /** + * Bahraini Dinar + */ + BHD, + /** + * Burundi Franc + */ + BIF, + /** + * Bermudian Dollar + */ + BMD, + /** + * Brunei Dollar + */ + BND, + /** + * Boliviano + */ + BOB, + /** + * Mvdol + */ + BOV, + /** + * Brazilian Real + */ + BRL, + /** + * Bahamian Dollar + */ + BSD, + /** + * Ngultrum + */ + BTN, + /** + * Pula + */ + BWP, + /** + * Belarusian Ruble + */ + BYN, + /** + * Belize Dollar + */ + BZD, + /** + * Canadian Dollar + */ + CAD, + /** + * Congolese Franc + */ + CDF, + /** + * WIR Euro + */ + CHE, + /** + * Swiss Franc + */ + CHF, + /** + * WIR Franc + */ + CHW, + /** + * Unidad de Fomento + */ + CLF, + /** + * Chilean Peso + */ + CLP, + /** + * Yuan Renminbi + */ + CNY, + /** + * Colombian Peso + */ + COP, + /** + * Unidad de Valor Real + */ + COU, + /** + * Costa Rican Colon + */ + CRC, + /** + * Peso Convertible + */ + CUC, + /** + * Cuban Peso + */ + CUP, + /** + * Cabo Verde Escudo + */ + CVE, + /** + * Czech Koruna + */ + CZK, + /** + * Djibouti Franc + */ + DJF, + /** + * Danish Krone + */ + DKK, + /** + * Dominican Peso + */ + DOP, + /** + * Algerian Dinar + */ + DZD, + /** + * Egyptian Pound + */ + EGP, + /** + * Nakfa + */ + ERN, + /** + * Ethiopian Birr + */ + ETB, + /** + * Euro + */ + EUR, + /** + * Fiji Dollar + */ + FJD, + /** + * Falkland Islands Pound + */ + FKP, + /** + * Pound Sterling + */ + GBP, + /** + * Lari + */ + GEL, + /** + * Ghana Cedi + */ + GHS, + /** + * Gibraltar Pound + */ + GIP, + /** + * Dalasi + */ + GMD, + /** + * Guinean Franc + */ + GNF, + /** + * Quetzal + */ + GTQ, + /** + * Guyana Dollar + */ + GYD, + /** + * Hong Kong Dollar + */ + HKD, + /** + * Lempira + */ + HNL, + /** + * Kuna (Replaced by EUR) + */ + HRK, + /** + * Gourde + */ + HTG, + /** + * Forint + */ + HUF, + /** + * Rupiah + */ + IDR, + /** + * New Israeli Sheqel + */ + ILS, + /** + * Indian Rupee + */ + INR, + /** + * Iraqi Dinar + */ + IQD, + /** + * Iranian Rial + */ + IRR, + /** + * Iceland Krona + */ + ISK, + /** + * Jamaican Dollar + */ + JMD, + /** + * Jordanian Dinar + */ + JOD, + /** + * Kenyan Shilling + */ + KES, + /** + * Som + */ + KGS, + /** + * Riel + */ + KHR, + /** + * Comorian Franc + */ + KMF, + /** + * North Korean Won + */ + KPW, + /** + * Kuwaiti Dinar + */ + KWD, + /** + * Cayman Islands Dollar + */ + KYD, + /** + * Tenge + */ + KZT, + /** + * Lao Kip + */ + LAK, + /** + * Lebanese Pound + */ + LBP, + /** + * Sri Lanka Rupee + */ + LKR, + /** + * Liberian Dollar + */ + LRD, + /** + * Loti + */ + LSL, + /** + * Libyan Dinar + */ + LYD, + /** + * Moroccan Dirham + */ + MAD, + /** + * Moldovan Leu + */ + MDL, + /** + * Malagasy Ariary + */ + MGA, + /** + * Denar + */ + MKD, + /** + * Kyat + */ + MMK, + /** + * Tugrik + */ + MNT, + /** + * Pataca + */ + MOP, + /** + * Ouguiya + */ + MRU, + /** + * Mauritius Rupee + */ + MUR, + /** + * Rufiyaa + */ + MVR, + /** + * Malawi Kwacha + */ + MWK, + /** + * Mexican Peso + */ + MXN, + /** + * Mexican Unidad de Inversion (UDI) + */ + MXV, + /** + * Malaysian Ringgit + */ + MYR, + /** + * Mozambique Metical + */ + MZN, + /** + * Namibia Dollar + */ + NAD, + /** + * Naira + */ + NGN, + /** + * Cordoba Oro + */ + NIO, + /** + * Norwegian Krone + */ + NOK, + /** + * Nepalese Rupee + */ + NPR, + /** + * New Zealand Dollar + */ + NZD, + /** + * Rial Omani + */ + OMR, + /** + * Balboa + */ + PAB, + /** + * Sol + */ + PEN, + /** + * Kina + */ + PGK, + /** + * Philippine Peso + */ + PHP, + /** + * Pakistan Rupee + */ + PKR, + /** + * Zloty + */ + PLN, + /** + * Guarani + */ + PYG, + /** + * Qatari Rial + */ + QAR, + /** + * Romanian Leu + */ + RON, + /** + * Serbian Dinar + */ + RSD, + /** + * Russian Ruble + */ + RUB, + /** + * Rwanda Franc + */ + RWF, + /** + * Saudi Riyal + */ + SAR, + /** + * Solomon Islands Dollar + */ + SBD, + /** + * Seychelles Rupee + */ + SCR, + /** + * Sudanese Pound + */ + SDG, + /** + * Swedish Krona + */ + SEK, + /** + * Singapore Dollar + */ + SGD, + /** + * Saint Helena Pound + */ + SHP, + /** + * Leone + */ + SLE, + /** + * Leone + */ + SLL, + /** + * Somali Shilling + */ + SOS, + /** + * Surinam Dollar + */ + SRD, + /** + * South Sudanese Pound + */ + SSP, + /** + * Dobra + */ + STN, + /** + * El Salvador Colon + */ + SVC, + /** + * Syrian Pound + */ + SYP, + /** + * Lilangeni + */ + SZL, + /** + * Baht + */ + THB, + /** + * Somoni + */ + TJS, + /** + * Turkmenistan New Manat + */ + TMT, + /** + * Tunisian Dinar + */ + TND, + /** + * Pa’anga + */ + TOP, + /** + * Turkish Lira + */ + TRY, + /** + * Trinidad and Tobago Dollar + */ + TTD, + /** + * New Taiwan Dollar + */ + TWD, + /** + * Tanzanian Shilling + */ + TZS, + /** + * Hryvnia + */ + UAH, + /** + * Uganda Shilling + */ + UGX, + /** + * US Dollar (Next day) + */ + USN, + /** + * Uruguay Peso en Unidades Indexadas (UI) + */ + UYI, + /** + * Peso Uruguayo + */ + UYU, + /** + * Unidad Previsional + */ + UYW, + /** + * Uzbekistan Sum + */ + UZS, + /** + * Bolívar Soberano + */ + VED, + /** + * Bolívar Soberano + */ + VES, + /** + * Dong + */ + VND, + /** + * Vatu + */ + VUV, + /** + * Tala + */ + WST, + /** + * CFA Franc BEAC + */ + XAF, + /** + * Silver + */ + XAG, + /** + * Gold + */ + XAU, + /** + * Bond Markets Unit European Composite Unit (EURCO) + */ + XBA, + /** + * Bond Markets Unit European Monetary Unit (E.M.U.-6) + */ + XBB, + /** + * Bond Markets Unit European Unit of Account 9 (E.U.A.-9) + */ + XBC, + /** + * Bond Markets Unit European Unit of Account 17 (E.U.A.-17) + */ + XBD, + /** + * East Caribbean Dollar + */ + XCD, + /** + * SDR (Special Drawing Right) + */ + XDR, + /** + * CFA Franc BCEAO + */ + XOF, + /** + * Palladium + */ + XPD, + /** + * CFP Franc + */ + XPF, + /** + * Platinum + */ + XPT, + /** + * Sucre + */ + XSU, + /** + * Codes specifically reserved for testing purposes + */ + XTS, + /** + * ADB Unit of Account + */ + XUA, + /** + * The codes assigned for transactions where no currency is involved + */ + XXX, + /** + * Yemeni Rial + */ + YER, + /** + * Rand + */ + ZAR, + /** + * Zambian Kwacha + */ + ZMW, + /** + * Zimbabwe Dollar + */ + ZWL, +} diff --git a/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/Customer.kt b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/Customer.kt new file mode 100644 index 0000000..07a6287 --- /dev/null +++ b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/Customer.kt @@ -0,0 +1,45 @@ +package io.portone.sdk.server.schemas + +import kotlin.String +import kotlinx.serialization.Serializable + +/** + * 고객 정보 + */ +@Serializable +public data class Customer( + /** + * 고객 아이디 + * + * 고객사가 지정한 고객의 고유 식별자입니다. + */ + public val id: String? = null, + /** + * 이름 + */ + public val name: String? = null, + /** + * 출생 연도 + */ + public val birthYear: String? = null, + /** + * 성별 + */ + public val gender: Gender? = null, + /** + * 이메일 + */ + public val email: String? = null, + /** + * 전화번호 + */ + public val phoneNumber: String? = null, + /** + * 주소 + */ + public val address: Address? = null, + /** + * 우편번호 + */ + public val zipcode: String? = null, +) diff --git a/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/CustomerInput.kt b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/CustomerInput.kt new file mode 100644 index 0000000..fe88a5c --- /dev/null +++ b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/CustomerInput.kt @@ -0,0 +1,61 @@ +package io.portone.sdk.server.schemas + +import kotlin.String +import kotlinx.serialization.Serializable + +/** + * 고객 정보 입력 정보 + */ +@Serializable +public data class CustomerInput( + /** + * 고객 아이디 + * + * 고객사가 지정한 고객의 고유 식별자입니다. + */ + public val id: String? = null, + /** + * 이름 + */ + public val name: CustomerNameInput? = null, + /** + * 출생 연도 + */ + public val birthYear: String? = null, + /** + * 출생월 + */ + public val birthMonth: String? = null, + /** + * 출생일 + */ + public val birthDay: String? = null, + /** + * 국가 + */ + public val country: Country? = null, + /** + * 성별 + */ + public val gender: Gender? = null, + /** + * 이메일 + */ + public val email: String? = null, + /** + * 전화번호 + */ + public val phoneNumber: String? = null, + /** + * 주소 + */ + public val address: SeparatedAddressInput? = null, + /** + * 우편번호 + */ + public val zipcode: String? = null, + /** + * 사업자 등록 번호 + */ + public val businessRegistrationNumber: String? = null, +) diff --git a/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/CustomerNameInput.kt b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/CustomerNameInput.kt new file mode 100644 index 0000000..26dca5e --- /dev/null +++ b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/CustomerNameInput.kt @@ -0,0 +1,21 @@ +package io.portone.sdk.server.schemas + +import kotlin.String +import kotlinx.serialization.Serializable + +/** + * 고객 이름 입력 정보 + * + * 두 개의 이름 형식 중 한 가지만 선택하여 입력해주세요. + */ +@Serializable +public data class CustomerNameInput( + /** + * 한 줄 이름 형식 + */ + public val full: String? = null, + /** + * 분리형 이름 형식 + */ + public val separated: CustomerSeparatedName? = null, +) diff --git a/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/CustomerSeparatedName.kt b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/CustomerSeparatedName.kt new file mode 100644 index 0000000..121fa52 --- /dev/null +++ b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/CustomerSeparatedName.kt @@ -0,0 +1,19 @@ +package io.portone.sdk.server.schemas + +import kotlin.String +import kotlinx.serialization.Serializable + +/** + * 고객 분리형 이름 + */ +@Serializable +public data class CustomerSeparatedName( + /** + * 이름 + */ + public val first: String, + /** + * 성 + */ + public val last: String, +) diff --git a/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/DateTimeRange.kt b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/DateTimeRange.kt new file mode 100644 index 0000000..576b10a --- /dev/null +++ b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/DateTimeRange.kt @@ -0,0 +1,14 @@ +package io.portone.sdk.server.schemas + +import io.portone.sdk.server.serializers.InstantSerializer +import java.time.Instant +import kotlinx.serialization.Serializable + +/** + * 시간 범위 + */ +@Serializable +public data class DateTimeRange( + public val from: @Serializable(InstantSerializer::class) Instant, + public val until: @Serializable(InstantSerializer::class) Instant, +) diff --git a/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/DeleteBillingKeyError.kt b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/DeleteBillingKeyError.kt new file mode 100644 index 0000000..ec77f94 --- /dev/null +++ b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/DeleteBillingKeyError.kt @@ -0,0 +1,14 @@ +package io.portone.sdk.server.schemas + +import kotlin.String +import kotlinx.serialization.Serializable +import kotlinx.serialization.json.JsonClassDiscriminator + +/** + * DeleteBillingKeyError + */ +@Serializable +@JsonClassDiscriminator("type") +internal sealed interface DeleteBillingKeyError { + public val message: String? +} diff --git a/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/DeleteBillingKeyResponse.kt b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/DeleteBillingKeyResponse.kt new file mode 100644 index 0000000..063c7ed --- /dev/null +++ b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/DeleteBillingKeyResponse.kt @@ -0,0 +1,16 @@ +package io.portone.sdk.server.schemas + +import io.portone.sdk.server.serializers.InstantSerializer +import java.time.Instant +import kotlinx.serialization.Serializable + +/** + * 빌링키 삭제 성공 응답 + */ +@Serializable +public data class DeleteBillingKeyResponse( + /** + * 빌링키 삭제 완료 시점 + */ + public val deletedAt: @Serializable(InstantSerializer::class) Instant, +) diff --git a/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/DeletedBillingKeyInfo.kt b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/DeletedBillingKeyInfo.kt new file mode 100644 index 0000000..7084f55 --- /dev/null +++ b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/DeletedBillingKeyInfo.kt @@ -0,0 +1,78 @@ +package io.portone.sdk.server.schemas + +import io.portone.sdk.server.serializers.InstantSerializer +import java.time.Instant +import kotlin.String +import kotlin.collections.List +import kotlinx.serialization.SerialName +import kotlinx.serialization.Serializable + +/** + * 빌링키 삭제 완료 상태 건 + */ +@Serializable +@SerialName("DELETED") +public data class DeletedBillingKeyInfo( + /** + * 빌링키 + */ + override val billingKey: String, + /** + * 고객사 아이디 + */ + override val merchantId: String, + /** + * 상점 아이디 + */ + override val storeId: String, + /** + * 빌링키 결제수단 상세 정보 + * + * 추후 슈퍼빌링키 기능 제공 시 여러 결제수단 정보가 담길 수 있습니다. + */ + override val methods: List? = null, + /** + * 빌링키 발급 시 사용된 채널 + * + * 추후 슈퍼빌링키 기능 제공 시 여러 채널 정보가 담길 수 있습니다. + */ + override val channels: List, + /** + * 고객 정보 + */ + override val customer: Customer, + /** + * 사용자 지정 데이터 + */ + override val customData: String? = null, + /** + * 고객사가 채번하는 빌링키 발급 건 고유 아이디 + */ + override val issueId: String? = null, + /** + * 빌링키 발급 건 이름 + */ + override val issueName: String? = null, + /** + * 발급 요청 시점 + */ + override val requestedAt: @Serializable(InstantSerializer::class) Instant? = null, + /** + * 발급 시점 + */ + override val issuedAt: @Serializable(InstantSerializer::class) Instant, + /** + * 채널 그룹 + */ + override val channelGroup: ChannelGroupSummary? = null, + /** + * 채널 별 빌링키 발급 응답 + * + * 슈퍼빌링키의 경우, 빌링키 발급이 성공하더라도 일부 채널에 대한 발급은 실패할 수 있습니다. + */ + override val pgBillingKeyIssueResponses: List? = null, + /** + * 발급 삭제 시점 + */ + public val deletedAt: @Serializable(InstantSerializer::class) Instant, +) : BillingKeyInfo diff --git a/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/DeliveredPaymentEscrow.kt b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/DeliveredPaymentEscrow.kt new file mode 100644 index 0000000..97a2306 --- /dev/null +++ b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/DeliveredPaymentEscrow.kt @@ -0,0 +1,31 @@ +package io.portone.sdk.server.schemas + +import io.portone.sdk.server.serializers.InstantSerializer +import java.time.Instant +import kotlin.String +import kotlinx.serialization.SerialName +import kotlinx.serialization.Serializable + +/** + * 배송 완료 + */ +@Serializable +@SerialName("DELIVERED") +public data class DeliveredPaymentEscrow( + /** + * 택배사 + */ + public val company: String, + /** + * 송장번호 + */ + public val invoiceNumber: String, + /** + * 발송 일시 + */ + public val sentAt: @Serializable(InstantSerializer::class) Instant? = null, + /** + * 배송등록 처리 일자 + */ + public val appliedAt: @Serializable(InstantSerializer::class) Instant? = null, +) : PaymentEscrow diff --git a/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/DiscountAmountExceedsTotalAmountError.kt b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/DiscountAmountExceedsTotalAmountError.kt new file mode 100644 index 0000000..0f7ad0b --- /dev/null +++ b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/DiscountAmountExceedsTotalAmountError.kt @@ -0,0 +1,15 @@ +package io.portone.sdk.server.schemas + +import kotlin.String +import kotlinx.serialization.SerialName +import kotlinx.serialization.Serializable + +/** + * 프로모션 할인 금액이 결제 시도 금액 이상인 경우 + */ +@Serializable +@SerialName("DISCOUNT_AMOUNT_EXCEEDS_TOTAL_AMOUNT") +internal data class DiscountAmountExceedsTotalAmountError( + override val message: String? = null, +) : PayWithBillingKeyError, + PayInstantlyError diff --git a/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/DiscountAmountExceedsTotalAmountException.kt b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/DiscountAmountExceedsTotalAmountException.kt new file mode 100644 index 0000000..b5035a4 --- /dev/null +++ b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/DiscountAmountExceedsTotalAmountException.kt @@ -0,0 +1,11 @@ +package io.portone.sdk.server.schemas + +import java.lang.Exception +import kotlin.String + +/** + * 프로모션 할인 금액이 결제 시도 금액 이상인 경우 + */ +public class DiscountAmountExceedsTotalAmountException( + message: String? = null, +) : Exception(message) diff --git a/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/EasyPayProvider.kt b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/EasyPayProvider.kt new file mode 100644 index 0000000..8793a53 --- /dev/null +++ b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/EasyPayProvider.kt @@ -0,0 +1,27 @@ +package io.portone.sdk.server.schemas + +import kotlinx.serialization.Serializable + +/** + * 간편 결제사 + */ +@Serializable +public enum class EasyPayProvider { + SAMSUNGPAY, + KAKAOPAY, + NAVERPAY, + PAYCO, + SSGPAY, + CHAI, + LPAY, + KPAY, + TOSSPAY, + LGPAY, + PINPAY, + APPLEPAY, + SKPAY, + TOSS_BRANDPAY, + KB_APP, + ALIPAY, + HYPHEN, +} diff --git a/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/FailedIdentityVerification.kt b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/FailedIdentityVerification.kt new file mode 100644 index 0000000..d680788 --- /dev/null +++ b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/FailedIdentityVerification.kt @@ -0,0 +1,47 @@ +package io.portone.sdk.server.schemas + +import io.portone.sdk.server.serializers.InstantSerializer +import java.time.Instant +import kotlin.String +import kotlinx.serialization.SerialName +import kotlinx.serialization.Serializable + +/** + * 실패한 본인인증 내역 + */ +@Serializable +@SerialName("FAILED") +public data class FailedIdentityVerification( + /** + * 본인인증 내역 아이디 + */ + override val id: String, + /** + * 사용된 본인인증 채널 + */ + override val channel: SelectedChannel? = null, + /** + * 요청 시 고객 정보 + */ + public val requestedCustomer: IdentityVerificationRequestedCustomer, + /** + * 사용자 지정 데이터 + */ + override val customData: String? = null, + /** + * 본인인증 요청 시점 + */ + override val requestedAt: @Serializable(InstantSerializer::class) Instant, + /** + * 업데이트 시점 + */ + override val updatedAt: @Serializable(InstantSerializer::class) Instant, + /** + * 상태 업데이트 시점 + */ + override val statusChangedAt: @Serializable(InstantSerializer::class) Instant, + /** + * 본인인증 실패 정보 + */ + public val failure: IdentityVerificationFailure, +) : IdentityVerification diff --git a/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/FailedPayment.kt b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/FailedPayment.kt new file mode 100644 index 0000000..ad62bce --- /dev/null +++ b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/FailedPayment.kt @@ -0,0 +1,134 @@ +package io.portone.sdk.server.schemas + +import io.portone.sdk.server.serializers.InstantSerializer +import java.time.Instant +import kotlin.Boolean +import kotlin.Int +import kotlin.String +import kotlin.collections.List +import kotlinx.serialization.SerialName +import kotlinx.serialization.Serializable + +/** + * 결제 실패 상태 건 + */ +@Serializable +@SerialName("FAILED") +public data class FailedPayment( + /** + * 결제 건 아이디 + */ + override val id: String, + /** + * 결제 건 포트원 채번 아이디 + * + * V1 결제 건의 경우 imp_uid에 해당합니다. + */ + public val transactionId: String, + /** + * 고객사 아이디 + */ + override val merchantId: String, + /** + * 상점 아이디 + */ + override val storeId: String, + /** + * 결제수단 정보 + */ + override val method: PaymentMethod? = null, + /** + * 결제 채널 + */ + override val channel: SelectedChannel? = null, + /** + * 결제 채널 그룹 정보 + */ + override val channelGroup: ChannelGroupSummary? = null, + /** + * 포트원 버전 + */ + override val version: PortOneVersion, + /** + * 결제 예약 건 아이디 + * + * 결제 예약을 이용한 경우에만 존재 + */ + override val scheduleId: String? = null, + /** + * 결제 시 사용된 빌링키 + * + * 빌링키 결제인 경우에만 존재 + */ + override val billingKey: String? = null, + /** + * 웹훅 발송 내역 + */ + override val webhooks: List? = null, + /** + * 결제 요청 시점 + */ + override val requestedAt: @Serializable(InstantSerializer::class) Instant, + /** + * 업데이트 시점 + */ + override val updatedAt: @Serializable(InstantSerializer::class) Instant, + /** + * 상태 업데이트 시점 + */ + override val statusChangedAt: @Serializable(InstantSerializer::class) Instant, + /** + * 주문명 + */ + override val orderName: String, + /** + * 결제 금액 관련 세부 정보 + */ + override val amount: PaymentAmount, + /** + * 통화 + */ + override val currency: Currency, + /** + * 구매자 정보 + */ + override val customer: Customer, + /** + * 프로모션 아이디 + */ + override val promotionId: String? = null, + /** + * 문화비 지출 여부 + */ + override val isCulturalExpense: Boolean? = null, + /** + * 에스크로 결제 정보 + * + * 에스크로 결제인 경우 존재합니다. + */ + override val escrow: PaymentEscrow? = null, + /** + * 상품 정보 + */ + override val products: List? = null, + /** + * 상품 갯수 + */ + override val productCount: Int? = null, + /** + * 사용자 지정 데이터 + */ + override val customData: String? = null, + /** + * 국가 코드 + */ + override val country: Country? = null, + /** + * 결제 실패 시점 + */ + public val failedAt: @Serializable(InstantSerializer::class) Instant, + /** + * 결제 실패 정보 + */ + public val failure: PaymentFailure, +) : Payment diff --git a/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/FailedPaymentCancellation.kt b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/FailedPaymentCancellation.kt new file mode 100644 index 0000000..83d31fb --- /dev/null +++ b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/FailedPaymentCancellation.kt @@ -0,0 +1,52 @@ +package io.portone.sdk.server.schemas + +import io.portone.sdk.server.serializers.InstantSerializer +import java.time.Instant +import kotlin.Long +import kotlin.String +import kotlinx.serialization.SerialName +import kotlinx.serialization.Serializable + +/** + * 취소 실패 상태 + */ +@Serializable +@SerialName("FAILED") +public data class FailedPaymentCancellation( + /** + * 취소 내역 아이디 + */ + override val id: String, + /** + * PG사 결제 취소 내역 아이디 + */ + override val pgCancellationId: String? = null, + /** + * 취소 총 금액 + */ + override val totalAmount: Long, + /** + * 취소 금액 중 면세 금액 + */ + override val taxFreeAmount: Long, + /** + * 취소 금액 중 부가세액 + */ + override val vatAmount: Long, + /** + * 적립형 포인트의 환불 금액 + */ + override val easyPayDiscountAmount: Long? = null, + /** + * 취소 사유 + */ + override val reason: String, + /** + * 취소 시점 + */ + override val cancelledAt: @Serializable(InstantSerializer::class) Instant? = null, + /** + * 취소 요청 시점 + */ + override val requestedAt: @Serializable(InstantSerializer::class) Instant, +) : PaymentCancellation diff --git a/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/FailedPaymentSchedule.kt b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/FailedPaymentSchedule.kt new file mode 100644 index 0000000..a326826 --- /dev/null +++ b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/FailedPaymentSchedule.kt @@ -0,0 +1,103 @@ +package io.portone.sdk.server.schemas + +import io.portone.sdk.server.serializers.InstantSerializer +import java.time.Instant +import kotlin.Boolean +import kotlin.Int +import kotlin.Long +import kotlin.String +import kotlin.collections.List +import kotlinx.serialization.SerialName +import kotlinx.serialization.Serializable + +/** + * 결제 실패 상태 + */ +@Serializable +@SerialName("FAILED") +public data class FailedPaymentSchedule( + /** + * 결제 예약 건 아이디 + */ + override val id: String, + /** + * 고객사 아이디 + */ + override val merchantId: String, + /** + * 상점 아이디 + */ + override val storeId: String, + /** + * 결제 건 아이디 + */ + override val paymentId: String, + /** + * 빌링키 + */ + override val billingKey: String, + /** + * 주문명 + */ + override val orderName: String, + /** + * 문화비 지출 여부 + */ + override val isCulturalExpense: Boolean, + /** + * 에스크로 결제 여부 + */ + override val isEscrow: Boolean, + /** + * 고객 정보 + */ + override val customer: Customer, + /** + * 사용자 지정 데이터 + */ + override val customData: String, + /** + * 결제 총 금액 + */ + override val totalAmount: Long, + /** + * 면세액 + */ + override val taxFreeAmount: Long? = null, + /** + * 부가세 + */ + override val vatAmount: Long? = null, + /** + * 통화 + */ + override val currency: Currency, + /** + * 할부 개월 수 + */ + override val installmentMonth: Int? = null, + /** + * 웹훅 주소 + */ + override val noticeUrls: List? = null, + /** + * 상품 정보 + */ + override val products: List? = null, + /** + * 결제 예약 등록 시점 + */ + override val createdAt: @Serializable(InstantSerializer::class) Instant, + /** + * 결제 예정 시점 + */ + override val timeToPay: @Serializable(InstantSerializer::class) Instant, + /** + * 결제 시작 시점 + */ + public val startedAt: @Serializable(InstantSerializer::class) Instant, + /** + * 결제 완료 시점 + */ + public val completedAt: @Serializable(InstantSerializer::class) Instant, +) : PaymentSchedule diff --git a/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/FailedPgBillingKeyIssueResponse.kt b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/FailedPgBillingKeyIssueResponse.kt new file mode 100644 index 0000000..c03853b --- /dev/null +++ b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/FailedPgBillingKeyIssueResponse.kt @@ -0,0 +1,22 @@ +package io.portone.sdk.server.schemas + +import kotlinx.serialization.SerialName +import kotlinx.serialization.Serializable + +/** + * 빌링키 발급 실패 채널 응답 + */ +@Serializable +@SerialName("FAILED") +public data class FailedPgBillingKeyIssueResponse( + /** + * 채널 + * + * 빌링키 발급을 시도한 채널입니다. + */ + override val channel: SelectedChannel, + /** + * 발급 실패 상세 정보 + */ + public val failure: BillingKeyFailure, +) : PgBillingKeyIssueResponse diff --git a/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/ForbiddenError.kt b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/ForbiddenError.kt new file mode 100644 index 0000000..693f059 --- /dev/null +++ b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/ForbiddenError.kt @@ -0,0 +1,41 @@ +package io.portone.sdk.server.schemas + +import kotlin.String +import kotlinx.serialization.SerialName +import kotlinx.serialization.Serializable + +/** + * 요청이 거절된 경우 + */ +@Serializable +@SerialName("FORBIDDEN") +internal data class ForbiddenError( + override val message: String? = null, +) : GetIdentityVerificationError, + SendIdentityVerificationError, + ConfirmIdentityVerificationError, + ResendIdentityVerificationError, + PreRegisterPaymentError, + GetBillingKeyInfoError, + DeleteBillingKeyError, + GetBillingKeyInfosError, + IssueBillingKeyError, + GetCashReceiptError, + GetPaymentError, + GetPaymentsError, + GetAllPaymentsError, + GetPaymentScheduleError, + GetPaymentSchedulesError, + RevokePaymentSchedulesError, + CreatePaymentScheduleError, + CancelPaymentError, + PayWithBillingKeyError, + PayInstantlyError, + IssueCashReceiptError, + CancelCashReceiptError, + CloseVirtualAccountError, + ApplyEscrowLogisticsError, + ModifyEscrowLogisticsError, + ConfirmEscrowError, + ResendWebhookError, + RegisterStoreReceiptError diff --git a/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/ForbiddenException.kt b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/ForbiddenException.kt new file mode 100644 index 0000000..b04318e --- /dev/null +++ b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/ForbiddenException.kt @@ -0,0 +1,11 @@ +package io.portone.sdk.server.schemas + +import java.lang.Exception +import kotlin.String + +/** + * 요청이 거절된 경우 + */ +public class ForbiddenException( + message: String? = null, +) : Exception(message) diff --git a/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/Gender.kt b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/Gender.kt new file mode 100644 index 0000000..b766f09 --- /dev/null +++ b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/Gender.kt @@ -0,0 +1,22 @@ +package io.portone.sdk.server.schemas + +import kotlinx.serialization.Serializable + +/** + * 성별 + */ +@Serializable +public enum class Gender { + /** + * 남성 + */ + MALE, + /** + * 여성 + */ + FEMALE, + /** + * 그 외 성별 + */ + OTHER, +} diff --git a/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/GetAllPaymentsByCursorBody.kt b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/GetAllPaymentsByCursorBody.kt new file mode 100644 index 0000000..5cdeae9 --- /dev/null +++ b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/GetAllPaymentsByCursorBody.kt @@ -0,0 +1,47 @@ +package io.portone.sdk.server.schemas + +import io.portone.sdk.server.serializers.InstantSerializer +import java.time.Instant +import kotlin.Int +import kotlin.String +import kotlinx.serialization.Serializable + +/** + * GetAllPaymentsByCursorBody + * + * 결제 건 커서 기반 대용량 다건 조회를 위한 입력 정보 + */ +@Serializable +internal data class GetAllPaymentsByCursorBody( + /** + * 상점 아이디 + * + * 접근 권한이 있는 상점 아이디만 입력 가능하며, 미입력시 토큰에 담긴 상점 아이디를 사용합니다. + */ + public val storeId: String? = null, + /** + * 결제 건 생성시점 범위 조건의 시작 + * + * 값을 입력하지 않으면 end의 90일 전으로 설정됩니다. + */ + public val from: @Serializable(InstantSerializer::class) Instant? = null, + /** + * 결제 건 생성시점 범위 조건의 끝 + * + * 값을 입력하지 않으면 현재 시점으로 설정됩니다. + */ + public val until: @Serializable(InstantSerializer::class) Instant? = null, + /** + * 커서 + * + * 결제 건 리스트 중 어디서부터 읽어야 할지 가리키는 값입니다. 최초 요청일 경우 값을 입력하지 마시되, 두번째 요청 부터는 이전 요청 응답값의 cursor를 입력해주시면 + * 됩니다. + */ + public val cursor: String? = null, + /** + * 페이지 크기 + * + * 미입력 시 기본값은 10 이며 최대 1000까지 허용 + */ + public val size: Int? = null, +) diff --git a/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/GetAllPaymentsByCursorResponse.kt b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/GetAllPaymentsByCursorResponse.kt new file mode 100644 index 0000000..be5c42f --- /dev/null +++ b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/GetAllPaymentsByCursorResponse.kt @@ -0,0 +1,15 @@ +package io.portone.sdk.server.schemas + +import kotlin.collections.List +import kotlinx.serialization.Serializable + +/** + * 결제 건 커서 기반 대용량 다건 조회 성공 응답 정보 + */ +@Serializable +public data class GetAllPaymentsByCursorResponse( + /** + * 조회된 결제 건 및 커서 정보 리스트 + */ + public val items: List, +) diff --git a/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/GetAllPaymentsError.kt b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/GetAllPaymentsError.kt new file mode 100644 index 0000000..bc2bac8 --- /dev/null +++ b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/GetAllPaymentsError.kt @@ -0,0 +1,14 @@ +package io.portone.sdk.server.schemas + +import kotlin.String +import kotlinx.serialization.Serializable +import kotlinx.serialization.json.JsonClassDiscriminator + +/** + * GetAllPaymentsError + */ +@Serializable +@JsonClassDiscriminator("type") +internal sealed interface GetAllPaymentsError { + public val message: String? +} diff --git a/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/GetBillingKeyInfoError.kt b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/GetBillingKeyInfoError.kt new file mode 100644 index 0000000..5b0a036 --- /dev/null +++ b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/GetBillingKeyInfoError.kt @@ -0,0 +1,14 @@ +package io.portone.sdk.server.schemas + +import kotlin.String +import kotlinx.serialization.Serializable +import kotlinx.serialization.json.JsonClassDiscriminator + +/** + * GetBillingKeyInfoError + */ +@Serializable +@JsonClassDiscriminator("type") +internal sealed interface GetBillingKeyInfoError { + public val message: String? +} diff --git a/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/GetBillingKeyInfosBody.kt b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/GetBillingKeyInfosBody.kt new file mode 100644 index 0000000..33cefb1 --- /dev/null +++ b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/GetBillingKeyInfosBody.kt @@ -0,0 +1,30 @@ +package io.portone.sdk.server.schemas + +import kotlinx.serialization.Serializable + +/** + * GetBillingKeyInfosBody + * + * 빌링키 다건 조회를 위한 입력 정보 + */ +@Serializable +internal data class GetBillingKeyInfosBody( + /** + * 요청할 페이지 정보 + * + * 미 입력 시 number: 0, size: 10 으로 기본값이 적용됩니다. + */ + public val page: PageInput? = null, + /** + * 정렬 조건 + * + * 미 입력 시 sortBy: TIME_TO_PAY, sortOrder: DESC 으로 기본값이 적용됩니다. + */ + public val sort: BillingKeySortInput? = null, + /** + * 조회할 빌링키 조건 필터 + * + * V1 빌링키 건의 경우 일부 필드에 대해 필터가 적용되지 않을 수 있습니다. + */ + public val filter: BillingKeyFilterInput? = null, +) diff --git a/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/GetBillingKeyInfosError.kt b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/GetBillingKeyInfosError.kt new file mode 100644 index 0000000..0bcb952 --- /dev/null +++ b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/GetBillingKeyInfosError.kt @@ -0,0 +1,14 @@ +package io.portone.sdk.server.schemas + +import kotlin.String +import kotlinx.serialization.Serializable +import kotlinx.serialization.json.JsonClassDiscriminator + +/** + * GetBillingKeyInfosError + */ +@Serializable +@JsonClassDiscriminator("type") +internal sealed interface GetBillingKeyInfosError { + public val message: String? +} diff --git a/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/GetBillingKeyInfosResponse.kt b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/GetBillingKeyInfosResponse.kt new file mode 100644 index 0000000..dfa643e --- /dev/null +++ b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/GetBillingKeyInfosResponse.kt @@ -0,0 +1,19 @@ +package io.portone.sdk.server.schemas + +import kotlin.collections.List +import kotlinx.serialization.Serializable + +/** + * 빌링키 다건 조회 성공 응답 정보 + */ +@Serializable +public data class GetBillingKeyInfosResponse( + /** + * 조회된 빌링키 리스트 + */ + public val items: List, + /** + * 조회된 페이지 정보 + */ + public val page: PageInfo, +) diff --git a/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/GetCashReceiptError.kt b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/GetCashReceiptError.kt new file mode 100644 index 0000000..be4a24e --- /dev/null +++ b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/GetCashReceiptError.kt @@ -0,0 +1,14 @@ +package io.portone.sdk.server.schemas + +import kotlin.String +import kotlinx.serialization.Serializable +import kotlinx.serialization.json.JsonClassDiscriminator + +/** + * GetCashReceiptError + */ +@Serializable +@JsonClassDiscriminator("type") +internal sealed interface GetCashReceiptError { + public val message: String? +} diff --git a/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/GetIdentityVerificationError.kt b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/GetIdentityVerificationError.kt new file mode 100644 index 0000000..9edb0cf --- /dev/null +++ b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/GetIdentityVerificationError.kt @@ -0,0 +1,14 @@ +package io.portone.sdk.server.schemas + +import kotlin.String +import kotlinx.serialization.Serializable +import kotlinx.serialization.json.JsonClassDiscriminator + +/** + * GetIdentityVerificationError + */ +@Serializable +@JsonClassDiscriminator("type") +internal sealed interface GetIdentityVerificationError { + public val message: String? +} diff --git a/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/GetKakaopayPaymentOrderError.kt b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/GetKakaopayPaymentOrderError.kt new file mode 100644 index 0000000..0a494be --- /dev/null +++ b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/GetKakaopayPaymentOrderError.kt @@ -0,0 +1,14 @@ +package io.portone.sdk.server.schemas + +import kotlin.String +import kotlinx.serialization.Serializable +import kotlinx.serialization.json.JsonClassDiscriminator + +/** + * GetKakaopayPaymentOrderError + */ +@Serializable +@JsonClassDiscriminator("type") +internal sealed interface GetKakaopayPaymentOrderError { + public val message: String? +} diff --git a/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/GetKakaopayPaymentOrderResponse.kt b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/GetKakaopayPaymentOrderResponse.kt new file mode 100644 index 0000000..080637d --- /dev/null +++ b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/GetKakaopayPaymentOrderResponse.kt @@ -0,0 +1,20 @@ +package io.portone.sdk.server.schemas + +import kotlin.Int +import kotlin.String +import kotlinx.serialization.Serializable + +/** + * 카카오페이 주문 조회 응답 + */ +@Serializable +public data class GetKakaopayPaymentOrderResponse( + /** + * HTTP 상태 코드 + */ + public val statusCode: Int, + /** + * HTTP 응답 본문 (JSON) + */ + public val body: String, +) diff --git a/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/GetPaymentError.kt b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/GetPaymentError.kt new file mode 100644 index 0000000..8d4ad82 --- /dev/null +++ b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/GetPaymentError.kt @@ -0,0 +1,14 @@ +package io.portone.sdk.server.schemas + +import kotlin.String +import kotlinx.serialization.Serializable +import kotlinx.serialization.json.JsonClassDiscriminator + +/** + * GetPaymentError + */ +@Serializable +@JsonClassDiscriminator("type") +internal sealed interface GetPaymentError { + public val message: String? +} diff --git a/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/GetPaymentScheduleError.kt b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/GetPaymentScheduleError.kt new file mode 100644 index 0000000..cb85b4a --- /dev/null +++ b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/GetPaymentScheduleError.kt @@ -0,0 +1,14 @@ +package io.portone.sdk.server.schemas + +import kotlin.String +import kotlinx.serialization.Serializable +import kotlinx.serialization.json.JsonClassDiscriminator + +/** + * GetPaymentScheduleError + */ +@Serializable +@JsonClassDiscriminator("type") +internal sealed interface GetPaymentScheduleError { + public val message: String? +} diff --git a/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/GetPaymentSchedulesBody.kt b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/GetPaymentSchedulesBody.kt new file mode 100644 index 0000000..6134562 --- /dev/null +++ b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/GetPaymentSchedulesBody.kt @@ -0,0 +1,28 @@ +package io.portone.sdk.server.schemas + +import kotlinx.serialization.Serializable + +/** + * 결제 예약 다건 조회를 위한 입력 정보 + * + * 조회 결과는 결제 예정 시점(timeToPay) 기준 최신 순으로 정렬됩니다. + */ +@Serializable +internal data class GetPaymentSchedulesBody( + /** + * 요청할 페이지 정보 + * + * 미 입력 시 number: 0, size: 10 으로 기본값이 적용됩니다. + */ + public val page: PageInput? = null, + /** + * 정렬 조건 + * + * 미 입력 시 sortBy: TIME_TO_PAY, sortOrder: DESC 으로 기본값이 적용됩니다. + */ + public val sort: PaymentScheduleSortInput? = null, + /** + * 조회할 결제 예약 건의 조건 필터 + */ + public val filter: PaymentScheduleFilterInput? = null, +) diff --git a/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/GetPaymentSchedulesError.kt b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/GetPaymentSchedulesError.kt new file mode 100644 index 0000000..c5f8a4d --- /dev/null +++ b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/GetPaymentSchedulesError.kt @@ -0,0 +1,14 @@ +package io.portone.sdk.server.schemas + +import kotlin.String +import kotlinx.serialization.Serializable +import kotlinx.serialization.json.JsonClassDiscriminator + +/** + * GetPaymentSchedulesError + */ +@Serializable +@JsonClassDiscriminator("type") +internal sealed interface GetPaymentSchedulesError { + public val message: String? +} diff --git a/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/GetPaymentSchedulesResponse.kt b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/GetPaymentSchedulesResponse.kt new file mode 100644 index 0000000..cd9ddfe --- /dev/null +++ b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/GetPaymentSchedulesResponse.kt @@ -0,0 +1,19 @@ +package io.portone.sdk.server.schemas + +import kotlin.collections.List +import kotlinx.serialization.Serializable + +/** + * 결제 예약 다건 조회 성공 응답 정보 + */ +@Serializable +public data class GetPaymentSchedulesResponse( + /** + * 조회된 결제 예약 건 리스트 + */ + public val items: List, + /** + * 조회된 페이지 정보 + */ + public val page: PageInfo, +) diff --git a/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/GetPaymentsBody.kt b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/GetPaymentsBody.kt new file mode 100644 index 0000000..7726f72 --- /dev/null +++ b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/GetPaymentsBody.kt @@ -0,0 +1,24 @@ +package io.portone.sdk.server.schemas + +import kotlinx.serialization.Serializable + +/** + * GetPaymentsBody + * + * 결제 건 다건 조회를 위한 입력 정보 + */ +@Serializable +internal data class GetPaymentsBody( + /** + * 요청할 페이지 정보 + * + * 미 입력 시 number: 0, size: 10 으로 기본값이 적용됩니다. + */ + public val page: PageInput? = null, + /** + * 조회할 결제 건 조건 필터 + * + * V1 결제 건의 경우 일부 필드에 대해 필터가 적용되지 않을 수 있습니다. + */ + public val filter: PaymentFilterInput? = null, +) diff --git a/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/GetPaymentsError.kt b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/GetPaymentsError.kt new file mode 100644 index 0000000..56beb92 --- /dev/null +++ b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/GetPaymentsError.kt @@ -0,0 +1,14 @@ +package io.portone.sdk.server.schemas + +import kotlin.String +import kotlinx.serialization.Serializable +import kotlinx.serialization.json.JsonClassDiscriminator + +/** + * GetPaymentsError + */ +@Serializable +@JsonClassDiscriminator("type") +internal sealed interface GetPaymentsError { + public val message: String? +} diff --git a/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/GetPaymentsResponse.kt b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/GetPaymentsResponse.kt new file mode 100644 index 0000000..1db6131 --- /dev/null +++ b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/GetPaymentsResponse.kt @@ -0,0 +1,19 @@ +package io.portone.sdk.server.schemas + +import kotlin.collections.List +import kotlinx.serialization.Serializable + +/** + * 결제 건 다건 조회 성공 응답 정보 + */ +@Serializable +public data class GetPaymentsResponse( + /** + * 조회된 결제 건 리스트 + */ + public val items: List, + /** + * 조회된 페이지 정보 + */ + public val page: PageInfo, +) diff --git a/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/IdentityVerification.kt b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/IdentityVerification.kt new file mode 100644 index 0000000..bab2645 --- /dev/null +++ b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/IdentityVerification.kt @@ -0,0 +1,44 @@ +package io.portone.sdk.server.schemas + +import io.portone.sdk.server.serializers.InstantSerializer +import java.time.Instant +import kotlin.String +import kotlinx.serialization.Serializable +import kotlinx.serialization.json.JsonClassDiscriminator + +/** + * 본인인증 내역 + */ +@Serializable +@JsonClassDiscriminator("status") +public sealed interface IdentityVerification { + /** + * 본인인증 내역 아이디 + */ + public val id: String + + /** + * 사용된 본인인증 채널 + */ + public val channel: SelectedChannel? + + /** + * 사용자 지정 데이터 + */ + public val customData: String? + + /** + * 본인인증 요청 시점 + */ + public val requestedAt: @Serializable(InstantSerializer::class) Instant + + /** + * 업데이트 시점 + */ + public val updatedAt: @Serializable(InstantSerializer::class) Instant + + /** + * 상태 업데이트 시점 + */ + public val statusChangedAt: @Serializable(InstantSerializer::class) Instant +} diff --git a/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/IdentityVerificationAlreadySentError.kt b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/IdentityVerificationAlreadySentError.kt new file mode 100644 index 0000000..243302f --- /dev/null +++ b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/IdentityVerificationAlreadySentError.kt @@ -0,0 +1,14 @@ +package io.portone.sdk.server.schemas + +import kotlin.String +import kotlinx.serialization.SerialName +import kotlinx.serialization.Serializable + +/** + * 본인인증 건이 이미 API로 요청된 상태인 경우 + */ +@Serializable +@SerialName("IDENTITY_VERIFICATION_ALREADY_SENT") +internal data class IdentityVerificationAlreadySentError( + override val message: String? = null, +) : SendIdentityVerificationError diff --git a/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/IdentityVerificationAlreadySentException.kt b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/IdentityVerificationAlreadySentException.kt new file mode 100644 index 0000000..d185593 --- /dev/null +++ b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/IdentityVerificationAlreadySentException.kt @@ -0,0 +1,11 @@ +package io.portone.sdk.server.schemas + +import java.lang.Exception +import kotlin.String + +/** + * 본인인증 건이 이미 API로 요청된 상태인 경우 + */ +public class IdentityVerificationAlreadySentException( + message: String? = null, +) : Exception(message) diff --git a/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/IdentityVerificationAlreadyVerifiedError.kt b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/IdentityVerificationAlreadyVerifiedError.kt new file mode 100644 index 0000000..5d5d978 --- /dev/null +++ b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/IdentityVerificationAlreadyVerifiedError.kt @@ -0,0 +1,16 @@ +package io.portone.sdk.server.schemas + +import kotlin.String +import kotlinx.serialization.SerialName +import kotlinx.serialization.Serializable + +/** + * 본인인증 건이 이미 인증 완료된 상태인 경우 + */ +@Serializable +@SerialName("IDENTITY_VERIFICATION_ALREADY_VERIFIED") +internal data class IdentityVerificationAlreadyVerifiedError( + override val message: String? = null, +) : SendIdentityVerificationError, + ConfirmIdentityVerificationError, + ResendIdentityVerificationError diff --git a/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/IdentityVerificationAlreadyVerifiedException.kt b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/IdentityVerificationAlreadyVerifiedException.kt new file mode 100644 index 0000000..305082d --- /dev/null +++ b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/IdentityVerificationAlreadyVerifiedException.kt @@ -0,0 +1,11 @@ +package io.portone.sdk.server.schemas + +import java.lang.Exception +import kotlin.String + +/** + * 본인인증 건이 이미 인증 완료된 상태인 경우 + */ +public class IdentityVerificationAlreadyVerifiedException( + message: String? = null, +) : Exception(message) diff --git a/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/IdentityVerificationFailure.kt b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/IdentityVerificationFailure.kt new file mode 100644 index 0000000..b8220af --- /dev/null +++ b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/IdentityVerificationFailure.kt @@ -0,0 +1,23 @@ +package io.portone.sdk.server.schemas + +import kotlin.String +import kotlinx.serialization.Serializable + +/** + * 본인인증 실패 정보 + */ +@Serializable +public data class IdentityVerificationFailure( + /** + * 실패 사유 + */ + public val reason: String? = null, + /** + * PG사 실패 코드 + */ + public val pgCode: String? = null, + /** + * PG사 실패 메시지 + */ + public val pgMessage: String? = null, +) diff --git a/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/IdentityVerificationMethod.kt b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/IdentityVerificationMethod.kt new file mode 100644 index 0000000..eae7ee2 --- /dev/null +++ b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/IdentityVerificationMethod.kt @@ -0,0 +1,12 @@ +package io.portone.sdk.server.schemas + +import kotlinx.serialization.Serializable + +/** + * 본인인증 방식 + */ +@Serializable +public enum class IdentityVerificationMethod { + SMS, + APP, +} diff --git a/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/IdentityVerificationNotFoundError.kt b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/IdentityVerificationNotFoundError.kt new file mode 100644 index 0000000..0bf8733 --- /dev/null +++ b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/IdentityVerificationNotFoundError.kt @@ -0,0 +1,17 @@ +package io.portone.sdk.server.schemas + +import kotlin.String +import kotlinx.serialization.SerialName +import kotlinx.serialization.Serializable + +/** + * 요청된 본인인증 건이 존재하지 않는 경우 + */ +@Serializable +@SerialName("IDENTITY_VERIFICATION_NOT_FOUND") +internal data class IdentityVerificationNotFoundError( + override val message: String? = null, +) : GetIdentityVerificationError, + SendIdentityVerificationError, + ConfirmIdentityVerificationError, + ResendIdentityVerificationError diff --git a/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/IdentityVerificationNotFoundException.kt b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/IdentityVerificationNotFoundException.kt new file mode 100644 index 0000000..c408c19 --- /dev/null +++ b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/IdentityVerificationNotFoundException.kt @@ -0,0 +1,11 @@ +package io.portone.sdk.server.schemas + +import java.lang.Exception +import kotlin.String + +/** + * 요청된 본인인증 건이 존재하지 않는 경우 + */ +public class IdentityVerificationNotFoundException( + message: String? = null, +) : Exception(message) diff --git a/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/IdentityVerificationNotSentError.kt b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/IdentityVerificationNotSentError.kt new file mode 100644 index 0000000..df980ce --- /dev/null +++ b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/IdentityVerificationNotSentError.kt @@ -0,0 +1,15 @@ +package io.portone.sdk.server.schemas + +import kotlin.String +import kotlinx.serialization.SerialName +import kotlinx.serialization.Serializable + +/** + * 본인인증 건이 API로 요청된 상태가 아닌 경우 + */ +@Serializable +@SerialName("IDENTITY_VERIFICATION_NOT_SENT") +internal data class IdentityVerificationNotSentError( + override val message: String? = null, +) : ConfirmIdentityVerificationError, + ResendIdentityVerificationError diff --git a/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/IdentityVerificationNotSentException.kt b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/IdentityVerificationNotSentException.kt new file mode 100644 index 0000000..32fe42d --- /dev/null +++ b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/IdentityVerificationNotSentException.kt @@ -0,0 +1,11 @@ +package io.portone.sdk.server.schemas + +import java.lang.Exception +import kotlin.String + +/** + * 본인인증 건이 API로 요청된 상태가 아닌 경우 + */ +public class IdentityVerificationNotSentException( + message: String? = null, +) : Exception(message) diff --git a/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/IdentityVerificationOperator.kt b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/IdentityVerificationOperator.kt new file mode 100644 index 0000000..bff1053 --- /dev/null +++ b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/IdentityVerificationOperator.kt @@ -0,0 +1,34 @@ +package io.portone.sdk.server.schemas + +import kotlinx.serialization.Serializable + +/** + * 본인인증 통신사 + */ +@Serializable +public enum class IdentityVerificationOperator { + /** + * SKT + */ + SKT, + /** + * KT + */ + KT, + /** + * LGU + */ + LGU, + /** + * SKT 알뜰폰 + */ + SKT_MVNO, + /** + * KT 알뜰폰 + */ + KT_MVNO, + /** + * LGU 알뜰폰 + */ + LGU_MVNO, +} diff --git a/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/IdentityVerificationRequestedCustomer.kt b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/IdentityVerificationRequestedCustomer.kt new file mode 100644 index 0000000..27cf0d6 --- /dev/null +++ b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/IdentityVerificationRequestedCustomer.kt @@ -0,0 +1,25 @@ +package io.portone.sdk.server.schemas + +import kotlin.String +import kotlinx.serialization.Serializable + +/** + * 요청 시 고객 정보 + */ +@Serializable +public data class IdentityVerificationRequestedCustomer( + /** + * 식별 아이디 + */ + public val id: String? = null, + /** + * 이름 + */ + public val name: String? = null, + /** + * 전화번호 + * + * 특수 문자(-) 없이 숫자로만 이루어진 번호 형식입니다. + */ + public val phoneNumber: String? = null, +) diff --git a/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/IdentityVerificationVerifiedCustomer.kt b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/IdentityVerificationVerifiedCustomer.kt new file mode 100644 index 0000000..4de6c76 --- /dev/null +++ b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/IdentityVerificationVerifiedCustomer.kt @@ -0,0 +1,71 @@ +package io.portone.sdk.server.schemas + +import kotlin.Boolean +import kotlin.String +import kotlinx.serialization.Serializable + +/** + * 인증된 고객 정보 + */ +@Serializable +public data class IdentityVerificationVerifiedCustomer( + /** + * 식별 아이디 + */ + public val id: String? = null, + /** + * 이름 + */ + public val name: String, + /** + * 통신사 + * + * 다날: 별도 계약이 필요합니다. + * KG이니시스: 제공하지 않습니다. + */ + public val `operator`: IdentityVerificationOperator? = null, + /** + * 전화번호 + * + * 특수 문자(-) 없이 숫자로만 이루어진 번호 형식입니다. + * 다날: 별도 계약이 필요합니다. + * KG이니시스: 항상 제공합니다. + */ + public val phoneNumber: String? = null, + /** + * 생년월일 (yyyy-MM-dd) + * + * 날짜를 나타내는 문자열로, `yyyy-MM-dd` 형식을 따릅니다. + */ + public val birthDate: String, + /** + * 성별 + * + * 다날: 항상 제공합니다. + * KG이니시스: 항상 제공합니다. + */ + public val gender: Gender? = null, + /** + * 외국인 여부 + * + * 다날: 별도 계약이 필요합니다. + * KG이니시스: 항상 제공합니다. + */ + public val isForeigner: Boolean? = null, + /** + * CI (개인 고유 식별키) + * + * 개인을 식별하기 위한 고유 정보입니다. + * 다날: 항상 제공합니다. + * KG이니시스: 카카오를 제외한 인증사에서 제공합니다. + */ + public val ci: String? = null, + /** + * DI (사이트별 개인 고유 식별키) + * + * 중복 가입을 방지하기 위해 개인을 식별하는 사이트별 고유 정보입니다. + * 다날: 항상 제공합니다. + * KG이니시스: 제공하지 않습니다. + */ + public val di: String? = null, +) diff --git a/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/InstantBillingKeyPaymentMethodInput.kt b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/InstantBillingKeyPaymentMethodInput.kt new file mode 100644 index 0000000..bd75571 --- /dev/null +++ b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/InstantBillingKeyPaymentMethodInput.kt @@ -0,0 +1,11 @@ +package io.portone.sdk.server.schemas + +import kotlinx.serialization.Serializable + +/** + * 빌링키 발급 시 결제 수단 입력 양식 + */ +@Serializable +public data class InstantBillingKeyPaymentMethodInput( + public val card: InstantBillingKeyPaymentMethodInputCard? = null, +) diff --git a/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/InstantBillingKeyPaymentMethodInputCard.kt b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/InstantBillingKeyPaymentMethodInputCard.kt new file mode 100644 index 0000000..302ae71 --- /dev/null +++ b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/InstantBillingKeyPaymentMethodInputCard.kt @@ -0,0 +1,11 @@ +package io.portone.sdk.server.schemas + +import kotlinx.serialization.Serializable + +/** + * 카드 수단 정보 입력 양식 + */ +@Serializable +public data class InstantBillingKeyPaymentMethodInputCard( + public val credential: CardCredential, +) diff --git a/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/InstantPaymentInput.kt b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/InstantPaymentInput.kt new file mode 100644 index 0000000..aa03364 --- /dev/null +++ b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/InstantPaymentInput.kt @@ -0,0 +1,102 @@ +package io.portone.sdk.server.schemas + +import kotlin.Boolean +import kotlin.Int +import kotlin.String +import kotlin.collections.List +import kotlinx.serialization.Serializable + +/** + * 수기 결제 요청 정보 + */ +@Serializable +internal data class InstantPaymentInput( + /** + * 상점 아이디 + * + * 접근 권한이 있는 상점 아이디만 입력 가능하며, 미입력시 토큰에 담긴 상점 아이디를 사용합니다. + */ + public val storeId: String? = null, + /** + * 채널 키 + * + * 채널 키 또는 채널 그룹 ID 필수 + */ + public val channelKey: String? = null, + /** + * 채널 그룹 ID + * + * 채널 키 또는 채널 그룹 ID 필수 + */ + public val channelGroupId: String? = null, + /** + * 결제수단 정보 + */ + public val method: InstantPaymentMethodInput, + /** + * 주문명 + */ + public val orderName: String, + /** + * 문화비 지출 여부 + * + * 기본값은 false 입니다. + */ + public val isCulturalExpense: Boolean? = null, + /** + * 에스크로 결제 여부 + * + * 기본값은 false 입니다. + */ + public val isEscrow: Boolean? = null, + /** + * 고객 정보 + */ + public val customer: CustomerInput? = null, + /** + * 사용자 지정 데이터 + */ + public val customData: String? = null, + /** + * 결제 금액 세부 입력 정보 + */ + public val amount: PaymentAmountInput, + /** + * 통화 + */ + public val currency: Currency, + /** + * 결제 국가 + */ + public val country: Country? = null, + /** + * 웹훅 주소 + * + * 결제 승인/실패 시 요청을 받을 웹훅 주소입니다. + * 상점에 설정되어 있는 값보다 우선적으로 적용됩니다. + * 입력된 값이 없을 경우에는 빈 배열로 해석됩니다. + */ + public val noticeUrls: List? = null, + /** + * 상품 정보 + * + * 입력된 값이 없을 경우에는 빈 배열로 해석됩니다. + */ + public val products: List? = null, + /** + * 상품 개수 + */ + public val productCount: Int? = null, + /** + * 상품 유형 + */ + public val productType: PaymentProductType? = null, + /** + * 배송지 주소 + */ + public val shippingAddress: SeparatedAddressInput? = null, + /** + * 해당 결제에 적용할 프로모션 아이디 + */ + public val promotionId: String? = null, +) diff --git a/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/InstantPaymentMethodInput.kt b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/InstantPaymentMethodInput.kt new file mode 100644 index 0000000..a537d6e --- /dev/null +++ b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/InstantPaymentMethodInput.kt @@ -0,0 +1,20 @@ +package io.portone.sdk.server.schemas + +import kotlinx.serialization.Serializable + +/** + * 수기 결제 수단 입력 정보 + * + * 하나의 필드만 입력합니다. + */ +@Serializable +public data class InstantPaymentMethodInput( + /** + * 카드 + */ + public val card: InstantPaymentMethodInputCard? = null, + /** + * 가상계좌 + */ + public val virtualAccount: InstantPaymentMethodInputVirtualAccount? = null, +) diff --git a/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/InstantPaymentMethodInputCard.kt b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/InstantPaymentMethodInputCard.kt new file mode 100644 index 0000000..3762c23 --- /dev/null +++ b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/InstantPaymentMethodInputCard.kt @@ -0,0 +1,32 @@ +package io.portone.sdk.server.schemas + +import kotlin.Boolean +import kotlin.Int +import kotlinx.serialization.Serializable + +/** + * 카드 수단 정보 입력 정보 + */ +@Serializable +public data class InstantPaymentMethodInputCard( + /** + * 카드 인증 관련 정보 + */ + public val credential: CardCredential, + /** + * 카드 할부 개월 수 + */ + public val installmentMonth: Int? = null, + /** + * 무이자 할부 적용 여부 + */ + public val useFreeInstallmentPlan: Boolean? = null, + /** + * 무이자 할부 이자를 고객사가 부담할지 여부 + */ + public val useFreeInterestFromMerchant: Boolean? = null, + /** + * 카드 포인트 사용 여부 + */ + public val useCardPoint: Boolean? = null, +) diff --git a/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/InstantPaymentMethodInputVirtualAccount.kt b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/InstantPaymentMethodInputVirtualAccount.kt new file mode 100644 index 0000000..4d5160e --- /dev/null +++ b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/InstantPaymentMethodInputVirtualAccount.kt @@ -0,0 +1,31 @@ +package io.portone.sdk.server.schemas + +import kotlin.String +import kotlinx.serialization.Serializable + +/** + * 가상계좌 수단 정보 입력 정보 + */ +@Serializable +public data class InstantPaymentMethodInputVirtualAccount( + /** + * 은행 + */ + public val bank: Bank, + /** + * 입금 만료 기한 + */ + public val expiry: InstantPaymentMethodInputVirtualAccountExpiry, + /** + * 가상계좌 유형 + */ + public val option: InstantPaymentMethodInputVirtualAccountOption, + /** + * 현금영수증 정보 + */ + public val cashReceipt: InstantPaymentMethodInputVirtualAccountCashReceiptInfo, + /** + * 예금주명 + */ + public val remitteeName: String? = null, +) diff --git a/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/InstantPaymentMethodInputVirtualAccountCashReceiptInfo.kt b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/InstantPaymentMethodInputVirtualAccountCashReceiptInfo.kt new file mode 100644 index 0000000..e974771 --- /dev/null +++ b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/InstantPaymentMethodInputVirtualAccountCashReceiptInfo.kt @@ -0,0 +1,19 @@ +package io.portone.sdk.server.schemas + +import kotlin.String +import kotlinx.serialization.Serializable + +/** + * 가상계좌 결제 시 현금영수증 정보 + */ +@Serializable +public data class InstantPaymentMethodInputVirtualAccountCashReceiptInfo( + /** + * 현금영수증 유형 + */ + public val type: CashReceiptInputType, + /** + * 사용자 식별 번호 + */ + public val customerIdentityNumber: String, +) diff --git a/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/InstantPaymentMethodInputVirtualAccountExpiry.kt b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/InstantPaymentMethodInputVirtualAccountExpiry.kt new file mode 100644 index 0000000..6b6c15a --- /dev/null +++ b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/InstantPaymentMethodInputVirtualAccountExpiry.kt @@ -0,0 +1,25 @@ +package io.portone.sdk.server.schemas + +import io.portone.sdk.server.serializers.InstantSerializer +import java.time.Instant +import kotlin.Int +import kotlinx.serialization.Serializable + +/** + * 입금 만료 기한 + * + * validHours와 dueDate 둘 중 하나의 필드만 입력합니다. + */ +@Serializable +public data class InstantPaymentMethodInputVirtualAccountExpiry( + /** + * 유효 시간 + * + * 시간 단위로 입력합니다. + */ + public val validHours: Int? = null, + /** + * 만료 시점 + */ + public val dueDate: @Serializable(InstantSerializer::class) Instant? = null, +) diff --git a/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/InstantPaymentMethodInputVirtualAccountOption.kt b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/InstantPaymentMethodInputVirtualAccountOption.kt new file mode 100644 index 0000000..20049bc --- /dev/null +++ b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/InstantPaymentMethodInputVirtualAccountOption.kt @@ -0,0 +1,20 @@ +package io.portone.sdk.server.schemas + +import kotlinx.serialization.Serializable + +/** + * 가상계좌 발급 방식 + */ +@Serializable +public data class InstantPaymentMethodInputVirtualAccountOption( + /** + * 발급 유형 + */ + public val type: InstantPaymentMethodInputVirtualAccountOptionType, + /** + * 고정식 가상계좌 발급 방식 + * + * 발급 유형을 FIXED 로 선택했을 시에만 입력합니다. + */ + public val fixed: InstantPaymentMethodInputVirtualAccountOptionFixed? = null, +) diff --git a/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/InstantPaymentMethodInputVirtualAccountOptionFixed.kt b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/InstantPaymentMethodInputVirtualAccountOptionFixed.kt new file mode 100644 index 0000000..62714ca --- /dev/null +++ b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/InstantPaymentMethodInputVirtualAccountOptionFixed.kt @@ -0,0 +1,26 @@ +package io.portone.sdk.server.schemas + +import kotlin.String +import kotlinx.serialization.Serializable + +/** + * 고정식 가상계좌 발급 유형 + * + * pgAccountId, accountNumber 유형 중 한 개의 필드만 입력합니다. + */ +@Serializable +public data class InstantPaymentMethodInputVirtualAccountOptionFixed( + /** + * Account ID 고정식 가상계좌 + * + * 고객사가 가상계좌번호를 직접 관리하지 않고 PG사가 pgAccountId에 매핑되는 가상계좌번호를 내려주는 방식입니다. + * 동일한 pgAccountId로 가상계좌 발급 요청시에는 항상 같은 가상계좌번호가 내려옵니다. + */ + public val pgAccountId: String? = null, + /** + * Account Number 고정식 가상계좌 + * + * PG사가 일정 개수만큼의 가상계좌번호를 발급하여 고객사에게 미리 전달하고 고객사가 그 중 하나를 선택하여 사용하는 방식입니다. + */ + public val accountNumber: String? = null, +) diff --git a/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/InstantPaymentMethodInputVirtualAccountOptionType.kt b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/InstantPaymentMethodInputVirtualAccountOptionType.kt new file mode 100644 index 0000000..3d32f68 --- /dev/null +++ b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/InstantPaymentMethodInputVirtualAccountOptionType.kt @@ -0,0 +1,20 @@ +package io.portone.sdk.server.schemas + +import kotlinx.serialization.Serializable + +/** + * 가상계좌 발급 유형 + */ +@Serializable +public enum class InstantPaymentMethodInputVirtualAccountOptionType { + /** + * 회전식 가상계좌 + * + * 일반적으로 사용되는 방식이며 PG사에서 직접 채번한 가상계좌번호를 사용합니다. + */ + NORMAL, + /** + * 고정식 가상계좌 + */ + FIXED, +} diff --git a/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/InstantPaymentSummary.kt b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/InstantPaymentSummary.kt new file mode 100644 index 0000000..79c006f --- /dev/null +++ b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/InstantPaymentSummary.kt @@ -0,0 +1,21 @@ +package io.portone.sdk.server.schemas + +import io.portone.sdk.server.serializers.InstantSerializer +import java.time.Instant +import kotlin.String +import kotlinx.serialization.Serializable + +/** + * 수기 결제가 완료된 결제 건 요약 정보 + */ +@Serializable +public data class InstantPaymentSummary( + /** + * PG사 결제 아이디 + */ + public val pgTxId: String, + /** + * 결제 완료 시점 + */ + public val paidAt: @Serializable(InstantSerializer::class) Instant, +) diff --git a/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/InvalidRequestError.kt b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/InvalidRequestError.kt new file mode 100644 index 0000000..0997e1c --- /dev/null +++ b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/InvalidRequestError.kt @@ -0,0 +1,44 @@ +package io.portone.sdk.server.schemas + +import kotlin.String +import kotlinx.serialization.SerialName +import kotlinx.serialization.Serializable + +/** + * 요청된 입력 정보가 유효하지 않은 경우 + * + * 허가되지 않은 값, 올바르지 않은 형식의 요청 등이 모두 해당됩니다. + */ +@Serializable +@SerialName("INVALID_REQUEST") +internal data class InvalidRequestError( + override val message: String? = null, +) : GetIdentityVerificationError, + SendIdentityVerificationError, + ConfirmIdentityVerificationError, + ResendIdentityVerificationError, + PreRegisterPaymentError, + GetBillingKeyInfoError, + DeleteBillingKeyError, + GetBillingKeyInfosError, + IssueBillingKeyError, + GetCashReceiptError, + GetPaymentError, + GetPaymentsError, + GetAllPaymentsError, + GetPaymentScheduleError, + GetPaymentSchedulesError, + RevokePaymentSchedulesError, + CreatePaymentScheduleError, + CancelPaymentError, + PayWithBillingKeyError, + PayInstantlyError, + IssueCashReceiptError, + CancelCashReceiptError, + CloseVirtualAccountError, + ApplyEscrowLogisticsError, + ModifyEscrowLogisticsError, + ConfirmEscrowError, + ResendWebhookError, + GetKakaopayPaymentOrderError, + RegisterStoreReceiptError diff --git a/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/InvalidRequestException.kt b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/InvalidRequestException.kt new file mode 100644 index 0000000..31fd522 --- /dev/null +++ b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/InvalidRequestException.kt @@ -0,0 +1,13 @@ +package io.portone.sdk.server.schemas + +import java.lang.Exception +import kotlin.String + +/** + * 요청된 입력 정보가 유효하지 않은 경우 + * + * 허가되지 않은 값, 올바르지 않은 형식의 요청 등이 모두 해당됩니다. + */ +public class InvalidRequestException( + message: String? = null, +) : Exception(message) diff --git a/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/IssueBillingKeyBody.kt b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/IssueBillingKeyBody.kt new file mode 100644 index 0000000..37ca9b3 --- /dev/null +++ b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/IssueBillingKeyBody.kt @@ -0,0 +1,55 @@ +package io.portone.sdk.server.schemas + +import kotlin.String +import kotlin.collections.List +import kotlinx.serialization.Serializable +import kotlinx.serialization.json.JsonObject + +/** + * 빌링키 발급 요청 양식 + */ +@Serializable +internal data class IssueBillingKeyBody( + /** + * 상점 아이디 + * + * 접근 권한이 있는 상점 아이디만 입력 가능하며, 미입력시 토큰에 담긴 상점 아이디를 사용합니다. + */ + public val storeId: String? = null, + /** + * 빌링키 결제 수단 정보 + */ + public val method: InstantBillingKeyPaymentMethodInput, + /** + * 채널 키 + * + * 채널 키 또는 채널 그룹 ID 필수 + */ + public val channelKey: String? = null, + /** + * 채널 그룹 ID + * + * 채널 키 또는 채널 그룹 ID 필수 + */ + public val channelGroupId: String? = null, + /** + * 고객 정보 + */ + public val customer: CustomerInput? = null, + /** + * 사용자 지정 데이터 + */ + public val customData: String? = null, + /** + * PG사별 추가 파라미터 ("PG사별 연동 가이드" 참고) + */ + public val bypass: JsonObject? = null, + /** + * 웹훅 주소 + * + * 빌링키 발급 시 요청을 받을 웹훅 주소입니다. + * 상점에 설정되어 있는 값보다 우선적으로 적용됩니다. + * 입력된 값이 없을 경우에는 빈 배열로 해석됩니다. + */ + public val noticeUrls: List? = null, +) diff --git a/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/IssueBillingKeyError.kt b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/IssueBillingKeyError.kt new file mode 100644 index 0000000..27d4a1b --- /dev/null +++ b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/IssueBillingKeyError.kt @@ -0,0 +1,14 @@ +package io.portone.sdk.server.schemas + +import kotlin.String +import kotlinx.serialization.Serializable +import kotlinx.serialization.json.JsonClassDiscriminator + +/** + * IssueBillingKeyError + */ +@Serializable +@JsonClassDiscriminator("type") +internal sealed interface IssueBillingKeyError { + public val message: String? +} diff --git a/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/IssueBillingKeyResponse.kt b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/IssueBillingKeyResponse.kt new file mode 100644 index 0000000..84d9335 --- /dev/null +++ b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/IssueBillingKeyResponse.kt @@ -0,0 +1,19 @@ +package io.portone.sdk.server.schemas + +import kotlin.collections.List +import kotlinx.serialization.Serializable + +/** + * 빌링키 발급 성공 응답 + */ +@Serializable +public data class IssueBillingKeyResponse( + /** + * 빌링키 정보 + */ + public val billingKeyInfo: BillingKeyInfoSummary, + /** + * 발급에 실패한 채널이 있을시 실패 정보 + */ + public val channelSpecificFailures: List? = null, +) diff --git a/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/IssueCashReceiptBody.kt b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/IssueCashReceiptBody.kt new file mode 100644 index 0000000..4628070 --- /dev/null +++ b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/IssueCashReceiptBody.kt @@ -0,0 +1,57 @@ +package io.portone.sdk.server.schemas + +import io.portone.sdk.server.serializers.InstantSerializer +import java.time.Instant +import kotlin.String +import kotlinx.serialization.Serializable + +/** + * 현금영수증 발급 요청 양식 + */ +@Serializable +internal data class IssueCashReceiptBody( + /** + * 상점 아이디 + * + * 접근 권한이 있는 상점 아이디만 입력 가능하며, 미입력시 토큰에 담긴 상점 아이디를 사용합니다. + */ + public val storeId: String? = null, + /** + * 결제 건 아이디 + * + * 외부 결제 건에 대한 수동 발급의 경우, 아이디를 직접 채번하여 입력합니다. + */ + public val paymentId: String, + /** + * 채널 키 + */ + public val channelKey: String, + /** + * 현금 영수증 유형 + */ + public val type: CashReceiptType, + /** + * 주문명 + */ + public val orderName: String, + /** + * 화폐 + */ + public val currency: Currency, + /** + * 금액 세부 입력 정보 + */ + public val amount: PaymentAmountInput, + /** + * 상품 유형 + */ + public val productType: PaymentProductType? = null, + /** + * 고객 정보 + */ + public val customer: IssueCashReceiptCustomerInput, + /** + * 결제 일자 + */ + public val paidAt: @Serializable(InstantSerializer::class) Instant? = null, +) diff --git a/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/IssueCashReceiptCustomerInput.kt b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/IssueCashReceiptCustomerInput.kt new file mode 100644 index 0000000..ba6c5cc --- /dev/null +++ b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/IssueCashReceiptCustomerInput.kt @@ -0,0 +1,27 @@ +package io.portone.sdk.server.schemas + +import kotlin.String +import kotlinx.serialization.Serializable + +/** + * 현금영수증 발급 시 고객 관련 입력 정보 + */ +@Serializable +public data class IssueCashReceiptCustomerInput( + /** + * 고객 식별값 + */ + public val identityNumber: String, + /** + * 이름 + */ + public val name: String? = null, + /** + * 이메일 + */ + public val email: String? = null, + /** + * 전화번호 + */ + public val phoneNumber: String? = null, +) diff --git a/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/IssueCashReceiptError.kt b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/IssueCashReceiptError.kt new file mode 100644 index 0000000..6a7dcdf --- /dev/null +++ b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/IssueCashReceiptError.kt @@ -0,0 +1,14 @@ +package io.portone.sdk.server.schemas + +import kotlin.String +import kotlinx.serialization.Serializable +import kotlinx.serialization.json.JsonClassDiscriminator + +/** + * IssueCashReceiptError + */ +@Serializable +@JsonClassDiscriminator("type") +internal sealed interface IssueCashReceiptError { + public val message: String? +} diff --git a/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/IssueCashReceiptResponse.kt b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/IssueCashReceiptResponse.kt new file mode 100644 index 0000000..664767c --- /dev/null +++ b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/IssueCashReceiptResponse.kt @@ -0,0 +1,11 @@ +package io.portone.sdk.server.schemas + +import kotlinx.serialization.Serializable + +/** + * 현금 영수증 발급 성공 응답 + */ +@Serializable +public data class IssueCashReceiptResponse( + public val cashReceipt: CashReceiptSummary, +) diff --git a/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/IssueFailedCashReceipt.kt b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/IssueFailedCashReceipt.kt new file mode 100644 index 0000000..a3abb7d --- /dev/null +++ b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/IssueFailedCashReceipt.kt @@ -0,0 +1,38 @@ +package io.portone.sdk.server.schemas + +import kotlin.Boolean +import kotlin.String +import kotlinx.serialization.SerialName +import kotlinx.serialization.Serializable + +/** + * 발급 실패 + */ +@Serializable +@SerialName("ISSUE_FAILED") +public data class IssueFailedCashReceipt( + /** + * 고객사 아이디 + */ + override val merchantId: String, + /** + * 상점 아이디 + */ + override val storeId: String, + /** + * 결제 건 아이디 + */ + override val paymentId: String, + /** + * 현금영수증 발급에 사용된 채널 + */ + override val channel: SelectedChannel? = null, + /** + * 주문명 + */ + override val orderName: String, + /** + * 수동 발급 여부 + */ + override val isManual: Boolean, +) : CashReceipt diff --git a/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/IssuedBillingKeyInfo.kt b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/IssuedBillingKeyInfo.kt new file mode 100644 index 0000000..a9f963d --- /dev/null +++ b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/IssuedBillingKeyInfo.kt @@ -0,0 +1,74 @@ +package io.portone.sdk.server.schemas + +import io.portone.sdk.server.serializers.InstantSerializer +import java.time.Instant +import kotlin.String +import kotlin.collections.List +import kotlinx.serialization.SerialName +import kotlinx.serialization.Serializable + +/** + * 빌링키 발급 완료 상태 건 + */ +@Serializable +@SerialName("ISSUED") +public data class IssuedBillingKeyInfo( + /** + * 빌링키 + */ + override val billingKey: String, + /** + * 고객사 아이디 + */ + override val merchantId: String, + /** + * 상점 아이디 + */ + override val storeId: String, + /** + * 빌링키 결제수단 상세 정보 + * + * 추후 슈퍼빌링키 기능 제공 시 여러 결제수단 정보가 담길 수 있습니다. + */ + override val methods: List? = null, + /** + * 빌링키 발급 시 사용된 채널 + * + * 추후 슈퍼빌링키 기능 제공 시 여러 채널 정보가 담길 수 있습니다. + */ + override val channels: List, + /** + * 고객 정보 + */ + override val customer: Customer, + /** + * 사용자 지정 데이터 + */ + override val customData: String? = null, + /** + * 고객사가 채번하는 빌링키 발급 건 고유 아이디 + */ + override val issueId: String? = null, + /** + * 빌링키 발급 건 이름 + */ + override val issueName: String? = null, + /** + * 발급 요청 시점 + */ + override val requestedAt: @Serializable(InstantSerializer::class) Instant? = null, + /** + * 발급 시점 + */ + override val issuedAt: @Serializable(InstantSerializer::class) Instant, + /** + * 채널 그룹 + */ + override val channelGroup: ChannelGroupSummary? = null, + /** + * 채널 별 빌링키 발급 응답 + * + * 슈퍼빌링키의 경우, 빌링키 발급이 성공하더라도 일부 채널에 대한 빌링키 발급은 실패할 수 있습니다. + */ + override val pgBillingKeyIssueResponses: List? = null, +) : BillingKeyInfo diff --git a/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/IssuedCashReceipt.kt b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/IssuedCashReceipt.kt new file mode 100644 index 0000000..6311c25 --- /dev/null +++ b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/IssuedCashReceipt.kt @@ -0,0 +1,77 @@ +package io.portone.sdk.server.schemas + +import io.portone.sdk.server.serializers.InstantSerializer +import java.time.Instant +import kotlin.Boolean +import kotlin.Long +import kotlin.String +import kotlinx.serialization.SerialName +import kotlinx.serialization.Serializable + +/** + * 발급 완료 + */ +@Serializable +@SerialName("ISSUED") +public data class IssuedCashReceipt( + /** + * 고객사 아이디 + */ + override val merchantId: String, + /** + * 상점 아이디 + */ + override val storeId: String, + /** + * 결제 건 아이디 + */ + override val paymentId: String, + /** + * 현금영수증 발급에 사용된 채널 + */ + override val channel: SelectedChannel, + /** + * 결제 금액 + */ + public val amount: Long, + /** + * 면세액 + */ + public val taxFreeAmount: Long? = null, + /** + * 부가세액 + */ + public val vatAmount: Long? = null, + /** + * 통화 + */ + public val currency: Currency, + /** + * 주문명 + */ + override val orderName: String, + /** + * 수동 발급 여부 + */ + override val isManual: Boolean, + /** + * 현금영수증 유형 + */ + public val type: CashReceiptType? = null, + /** + * PG사 현금영수증 아이디 + */ + public val pgReceiptId: String? = null, + /** + * 승인 번호 + */ + public val issueNumber: String, + /** + * 현금영수증 URL + */ + public val url: String? = null, + /** + * 발급 시점 + */ + public val issuedAt: @Serializable(InstantSerializer::class) Instant, +) : CashReceipt diff --git a/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/IssuedPaymentCashReceipt.kt b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/IssuedPaymentCashReceipt.kt new file mode 100644 index 0000000..52fdad5 --- /dev/null +++ b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/IssuedPaymentCashReceipt.kt @@ -0,0 +1,48 @@ +package io.portone.sdk.server.schemas + +import io.portone.sdk.server.serializers.InstantSerializer +import java.time.Instant +import kotlin.Long +import kotlin.String +import kotlinx.serialization.SerialName +import kotlinx.serialization.Serializable + +/** + * 발급 완료된 현금영수증 + */ +@Serializable +@SerialName("ISSUED") +public data class IssuedPaymentCashReceipt( + /** + * 현금영수증 유형 + */ + override val type: CashReceiptType? = null, + /** + * PG사 영수증 발급 아이디 + */ + override val pgReceiptId: String? = null, + /** + * 승인 번호 + */ + override val issueNumber: String, + /** + * 총 금액 + */ + override val totalAmount: Long, + /** + * 면세액 + */ + override val taxFreeAmount: Long? = null, + /** + * 통화 + */ + override val currency: Currency, + /** + * 현금영수증 URL + */ + override val url: String? = null, + /** + * 발급 시점 + */ + override val issuedAt: @Serializable(InstantSerializer::class) Instant, +) : PaymentCashReceipt diff --git a/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/IssuedPgBillingKeyIssueResponse.kt b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/IssuedPgBillingKeyIssueResponse.kt new file mode 100644 index 0000000..10497be --- /dev/null +++ b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/IssuedPgBillingKeyIssueResponse.kt @@ -0,0 +1,29 @@ +package io.portone.sdk.server.schemas + +import kotlin.String +import kotlinx.serialization.SerialName +import kotlinx.serialization.Serializable + +/** + * 빌링키 발급 성공 채널 응답 + */ +@Serializable +@SerialName("ISSUED") +public data class IssuedPgBillingKeyIssueResponse( + /** + * 채널 + * + * 빌링키 발급을 시도한 채널입니다. + */ + override val channel: SelectedChannel, + /** + * PG사 거래 아이디 + */ + public val pgTxId: String? = null, + /** + * 빌링키 결제수단 상세 정보 + * + * 채널에 대응되는 PG사에서 응답한 빌링키 발급 수단 정보입니다. + */ + public val method: BillingKeyPaymentMethod? = null, +) : PgBillingKeyIssueResponse diff --git a/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/ModifyEscrowLogisticsBody.kt b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/ModifyEscrowLogisticsBody.kt new file mode 100644 index 0000000..4110dd4 --- /dev/null +++ b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/ModifyEscrowLogisticsBody.kt @@ -0,0 +1,41 @@ +package io.portone.sdk.server.schemas + +import kotlin.Boolean +import kotlin.String +import kotlin.collections.List +import kotlinx.serialization.Serializable + +/** + * 에스크로 배송 정보 수정 입력 정보 + */ +@Serializable +internal data class ModifyEscrowLogisticsBody( + /** + * 상점 아이디 + * + * 접근 권한이 있는 상점 아이디만 입력 가능하며, 미입력시 토큰에 담긴 상점 아이디를 사용합니다. + */ + public val storeId: String? = null, + /** + * 에스크로 발송자 정보 + */ + public val sender: PaymentEscrowSenderInput? = null, + /** + * 에스크로 수취인 정보 + */ + public val `receiver`: PaymentEscrowReceiverInput? = null, + /** + * 에스크로 물류 정보 + */ + public val logistics: PaymentLogistics, + /** + * 이메일 알림 전송 여부 + * + * 에스크로 구매 확정 시 이메일로 알림을 보낼지 여부입니다. + */ + public val sendEmail: Boolean? = null, + /** + * 상품 정보 + */ + public val products: List? = null, +) diff --git a/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/ModifyEscrowLogisticsError.kt b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/ModifyEscrowLogisticsError.kt new file mode 100644 index 0000000..e27ece7 --- /dev/null +++ b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/ModifyEscrowLogisticsError.kt @@ -0,0 +1,14 @@ +package io.portone.sdk.server.schemas + +import kotlin.String +import kotlinx.serialization.Serializable +import kotlinx.serialization.json.JsonClassDiscriminator + +/** + * ModifyEscrowLogisticsError + */ +@Serializable +@JsonClassDiscriminator("type") +internal sealed interface ModifyEscrowLogisticsError { + public val message: String? +} diff --git a/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/ModifyEscrowLogisticsResponse.kt b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/ModifyEscrowLogisticsResponse.kt new file mode 100644 index 0000000..e8315b0 --- /dev/null +++ b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/ModifyEscrowLogisticsResponse.kt @@ -0,0 +1,25 @@ +package io.portone.sdk.server.schemas + +import io.portone.sdk.server.serializers.InstantSerializer +import java.time.Instant +import kotlin.String +import kotlinx.serialization.Serializable + +/** + * 에스크로 배송 정보 수정 성공 응답 + */ +@Serializable +public data class ModifyEscrowLogisticsResponse( + /** + * 송장 번호 + */ + public val invoiceNumber: String, + /** + * 발송 시점 + */ + public val sentAt: @Serializable(InstantSerializer::class) Instant, + /** + * 에스크로 정보 수정 시점 + */ + public val modifiedAt: @Serializable(InstantSerializer::class) Instant, +) diff --git a/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/OneLineAddress.kt b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/OneLineAddress.kt new file mode 100644 index 0000000..f26fa95 --- /dev/null +++ b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/OneLineAddress.kt @@ -0,0 +1,19 @@ +package io.portone.sdk.server.schemas + +import kotlin.String +import kotlinx.serialization.SerialName +import kotlinx.serialization.Serializable + +/** + * 한 줄 형식 주소 + * + * 한 줄 형식 주소만 존재합니다. + */ +@Serializable +@SerialName("ONE_LINE") +public data class OneLineAddress( + /** + * 주소 (한 줄) + */ + override val oneLine: String, +) : Address diff --git a/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/PageInfo.kt b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/PageInfo.kt new file mode 100644 index 0000000..b020b53 --- /dev/null +++ b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/PageInfo.kt @@ -0,0 +1,23 @@ +package io.portone.sdk.server.schemas + +import kotlin.Int +import kotlinx.serialization.Serializable + +/** + * 반환된 페이지 결과 정보 + */ +@Serializable +public data class PageInfo( + /** + * 요청된 페이지 번호 + */ + public val number: Int, + /** + * 요청된 페이지 당 객체 수 + */ + public val size: Int, + /** + * 실제 반환된 객체 수 + */ + public val totalCount: Int, +) diff --git a/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/PageInput.kt b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/PageInput.kt new file mode 100644 index 0000000..3a16bc1 --- /dev/null +++ b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/PageInput.kt @@ -0,0 +1,19 @@ +package io.portone.sdk.server.schemas + +import kotlin.Int +import kotlinx.serialization.Serializable + +/** + * 다건 조회 API 에 사용되는 페이지 입력 정보 + */ +@Serializable +public data class PageInput( + /** + * 0부터 시작하는 페이지 번호 + */ + public val number: Int? = null, + /** + * 각 페이지 당 포함할 객체 수 + */ + public val size: Int? = null, +) diff --git a/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/PaidPayment.kt b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/PaidPayment.kt new file mode 100644 index 0000000..8abdb9d --- /dev/null +++ b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/PaidPayment.kt @@ -0,0 +1,146 @@ +package io.portone.sdk.server.schemas + +import io.portone.sdk.server.serializers.InstantSerializer +import java.time.Instant +import kotlin.Boolean +import kotlin.Int +import kotlin.String +import kotlin.collections.List +import kotlinx.serialization.SerialName +import kotlinx.serialization.Serializable + +/** + * 결제 완료 상태 건 + */ +@Serializable +@SerialName("PAID") +public data class PaidPayment( + /** + * 결제 건 아이디 + */ + override val id: String, + /** + * 결제 건 포트원 채번 아이디 + * + * V1 결제 건의 경우 imp_uid에 해당합니다. + */ + public val transactionId: String, + /** + * 고객사 아이디 + */ + override val merchantId: String, + /** + * 상점 아이디 + */ + override val storeId: String, + /** + * 결제수단 정보 + */ + override val method: PaymentMethod? = null, + /** + * 결제 채널 + */ + override val channel: SelectedChannel, + /** + * 결제 채널 그룹 정보 + */ + override val channelGroup: ChannelGroupSummary? = null, + /** + * 포트원 버전 + */ + override val version: PortOneVersion, + /** + * 결제 예약 건 아이디 + * + * 결제 예약을 이용한 경우에만 존재 + */ + override val scheduleId: String? = null, + /** + * 결제 시 사용된 빌링키 + * + * 빌링키 결제인 경우에만 존재 + */ + override val billingKey: String? = null, + /** + * 웹훅 발송 내역 + */ + override val webhooks: List? = null, + /** + * 결제 요청 시점 + */ + override val requestedAt: @Serializable(InstantSerializer::class) Instant, + /** + * 업데이트 시점 + */ + override val updatedAt: @Serializable(InstantSerializer::class) Instant, + /** + * 상태 업데이트 시점 + */ + override val statusChangedAt: @Serializable(InstantSerializer::class) Instant, + /** + * 주문명 + */ + override val orderName: String, + /** + * 결제 금액 관련 세부 정보 + */ + override val amount: PaymentAmount, + /** + * 통화 + */ + override val currency: Currency, + /** + * 구매자 정보 + */ + override val customer: Customer, + /** + * 프로모션 아이디 + */ + override val promotionId: String? = null, + /** + * 문화비 지출 여부 + */ + override val isCulturalExpense: Boolean? = null, + /** + * 에스크로 결제 정보 + * + * 에스크로 결제인 경우 존재합니다. + */ + override val escrow: PaymentEscrow? = null, + /** + * 상품 정보 + */ + override val products: List? = null, + /** + * 상품 갯수 + */ + override val productCount: Int? = null, + /** + * 사용자 지정 데이터 + */ + override val customData: String? = null, + /** + * 국가 코드 + */ + override val country: Country? = null, + /** + * 결제 완료 시점 + */ + public val paidAt: @Serializable(InstantSerializer::class) Instant, + /** + * PG사 거래 아이디 + */ + public val pgTxId: String? = null, + /** + * PG사 거래 응답 본문 + */ + public val pgResponse: String? = null, + /** + * 현금영수증 + */ + public val cashReceipt: PaymentCashReceipt? = null, + /** + * 거래 영수증 URL + */ + public val receiptUrl: String? = null, +) : Payment diff --git a/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/PartialCancelledPayment.kt b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/PartialCancelledPayment.kt new file mode 100644 index 0000000..9cb5c68 --- /dev/null +++ b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/PartialCancelledPayment.kt @@ -0,0 +1,150 @@ +package io.portone.sdk.server.schemas + +import io.portone.sdk.server.serializers.InstantSerializer +import java.time.Instant +import kotlin.Boolean +import kotlin.Int +import kotlin.String +import kotlin.collections.List +import kotlinx.serialization.SerialName +import kotlinx.serialization.Serializable + +/** + * 결제 부분 취소 상태 건 + */ +@Serializable +@SerialName("PARTIAL_CANCELLED") +public data class PartialCancelledPayment( + /** + * 결제 건 아이디 + */ + override val id: String, + /** + * 결제 건 포트원 채번 아이디 + * + * V1 결제 건의 경우 imp_uid에 해당합니다. + */ + public val transactionId: String, + /** + * 고객사 아이디 + */ + override val merchantId: String, + /** + * 상점 아이디 + */ + override val storeId: String, + /** + * 결제수단 정보 + */ + override val method: PaymentMethod? = null, + /** + * 결제 채널 + */ + override val channel: SelectedChannel, + /** + * 결제 채널 그룹 정보 + */ + override val channelGroup: ChannelGroupSummary? = null, + /** + * 포트원 버전 + */ + override val version: PortOneVersion, + /** + * 결제 예약 건 아이디 + * + * 결제 예약을 이용한 경우에만 존재 + */ + override val scheduleId: String? = null, + /** + * 결제 시 사용된 빌링키 + * + * 빌링키 결제인 경우에만 존재 + */ + override val billingKey: String? = null, + /** + * 웹훅 발송 내역 + */ + override val webhooks: List? = null, + /** + * 결제 요청 시점 + */ + override val requestedAt: @Serializable(InstantSerializer::class) Instant, + /** + * 업데이트 시점 + */ + override val updatedAt: @Serializable(InstantSerializer::class) Instant, + /** + * 상태 업데이트 시점 + */ + override val statusChangedAt: @Serializable(InstantSerializer::class) Instant, + /** + * 주문명 + */ + override val orderName: String, + /** + * 결제 금액 관련 세부 정보 + */ + override val amount: PaymentAmount, + /** + * 통화 + */ + override val currency: Currency, + /** + * 구매자 정보 + */ + override val customer: Customer, + /** + * 프로모션 아이디 + */ + override val promotionId: String? = null, + /** + * 문화비 지출 여부 + */ + override val isCulturalExpense: Boolean? = null, + /** + * 에스크로 결제 정보 + * + * 에스크로 결제인 경우 존재합니다. + */ + override val escrow: PaymentEscrow? = null, + /** + * 상품 정보 + */ + override val products: List? = null, + /** + * 상품 갯수 + */ + override val productCount: Int? = null, + /** + * 사용자 지정 데이터 + */ + override val customData: String? = null, + /** + * 국가 코드 + */ + override val country: Country? = null, + /** + * 결제 완료 시점 + */ + public val paidAt: @Serializable(InstantSerializer::class) Instant? = null, + /** + * PG사 거래 아이디 + */ + public val pgTxId: String? = null, + /** + * 현금영수증 + */ + public val cashReceipt: PaymentCashReceipt? = null, + /** + * 거래 영수증 URL + */ + public val receiptUrl: String? = null, + /** + * 결제 취소 내역 + */ + public val cancellations: List, + /** + * 결제 취소 시점 + */ + public val cancelledAt: @Serializable(InstantSerializer::class) Instant, +) : Payment diff --git a/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/PayInstantlyError.kt b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/PayInstantlyError.kt new file mode 100644 index 0000000..8d05854 --- /dev/null +++ b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/PayInstantlyError.kt @@ -0,0 +1,14 @@ +package io.portone.sdk.server.schemas + +import kotlin.String +import kotlinx.serialization.Serializable +import kotlinx.serialization.json.JsonClassDiscriminator + +/** + * PayInstantlyError + */ +@Serializable +@JsonClassDiscriminator("type") +internal sealed interface PayInstantlyError { + public val message: String? +} diff --git a/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/PayInstantlyResponse.kt b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/PayInstantlyResponse.kt new file mode 100644 index 0000000..d4a4959 --- /dev/null +++ b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/PayInstantlyResponse.kt @@ -0,0 +1,14 @@ +package io.portone.sdk.server.schemas + +import kotlinx.serialization.Serializable + +/** + * 수기 결제 성공 응답 + */ +@Serializable +public data class PayInstantlyResponse( + /** + * 결제 건 요약 정보 + */ + public val payment: InstantPaymentSummary, +) diff --git a/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/PayPendingPayment.kt b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/PayPendingPayment.kt new file mode 100644 index 0000000..79f1643 --- /dev/null +++ b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/PayPendingPayment.kt @@ -0,0 +1,124 @@ +package io.portone.sdk.server.schemas + +import io.portone.sdk.server.serializers.InstantSerializer +import java.time.Instant +import kotlin.Boolean +import kotlin.Int +import kotlin.String +import kotlin.collections.List +import kotlinx.serialization.SerialName +import kotlinx.serialization.Serializable + +/** + * 결제 완료 대기 상태 건 + */ +@Serializable +@SerialName("PAY_PENDING") +public data class PayPendingPayment( + /** + * 결제 건 아이디 + */ + override val id: String, + /** + * 고객사 아이디 + */ + override val merchantId: String, + /** + * 상점 아이디 + */ + override val storeId: String, + /** + * 결제수단 정보 + */ + override val method: PaymentMethod? = null, + /** + * 결제 채널 + */ + override val channel: SelectedChannel, + /** + * 결제 채널 그룹 정보 + */ + override val channelGroup: ChannelGroupSummary? = null, + /** + * 포트원 버전 + */ + override val version: PortOneVersion, + /** + * 결제 예약 건 아이디 + * + * 결제 예약을 이용한 경우에만 존재 + */ + override val scheduleId: String? = null, + /** + * 결제 시 사용된 빌링키 + * + * 빌링키 결제인 경우에만 존재 + */ + override val billingKey: String? = null, + /** + * 웹훅 발송 내역 + */ + override val webhooks: List? = null, + /** + * 결제 요청 시점 + */ + override val requestedAt: @Serializable(InstantSerializer::class) Instant, + /** + * 업데이트 시점 + */ + override val updatedAt: @Serializable(InstantSerializer::class) Instant, + /** + * 상태 업데이트 시점 + */ + override val statusChangedAt: @Serializable(InstantSerializer::class) Instant, + /** + * 주문명 + */ + override val orderName: String, + /** + * 결제 금액 관련 세부 정보 + */ + override val amount: PaymentAmount, + /** + * 통화 + */ + override val currency: Currency, + /** + * 구매자 정보 + */ + override val customer: Customer, + /** + * 프로모션 아이디 + */ + override val promotionId: String? = null, + /** + * 문화비 지출 여부 + */ + override val isCulturalExpense: Boolean? = null, + /** + * 에스크로 결제 정보 + * + * 에스크로 결제인 경우 존재합니다. + */ + override val escrow: PaymentEscrow? = null, + /** + * 상품 정보 + */ + override val products: List? = null, + /** + * 상품 갯수 + */ + override val productCount: Int? = null, + /** + * 사용자 지정 데이터 + */ + override val customData: String? = null, + /** + * 국가 코드 + */ + override val country: Country? = null, + /** + * PG사 거래 아이디 + */ + public val pgTxId: String? = null, +) : Payment diff --git a/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/PayWithBillingKeyError.kt b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/PayWithBillingKeyError.kt new file mode 100644 index 0000000..aaa2bea --- /dev/null +++ b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/PayWithBillingKeyError.kt @@ -0,0 +1,14 @@ +package io.portone.sdk.server.schemas + +import kotlin.String +import kotlinx.serialization.Serializable +import kotlinx.serialization.json.JsonClassDiscriminator + +/** + * PayWithBillingKeyError + */ +@Serializable +@JsonClassDiscriminator("type") +internal sealed interface PayWithBillingKeyError { + public val message: String? +} diff --git a/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/PayWithBillingKeyResponse.kt b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/PayWithBillingKeyResponse.kt new file mode 100644 index 0000000..de50e62 --- /dev/null +++ b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/PayWithBillingKeyResponse.kt @@ -0,0 +1,14 @@ +package io.portone.sdk.server.schemas + +import kotlinx.serialization.Serializable + +/** + * 빌링키 결제 성공 응답 + */ +@Serializable +public data class PayWithBillingKeyResponse( + /** + * 결제 건 요약 정보 + */ + public val payment: BillingKeyPaymentSummary, +) diff --git a/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/Payment.kt b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/Payment.kt new file mode 100644 index 0000000..a839a29 --- /dev/null +++ b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/Payment.kt @@ -0,0 +1,143 @@ +package io.portone.sdk.server.schemas + +import io.portone.sdk.server.serializers.InstantSerializer +import java.time.Instant +import kotlin.Boolean +import kotlin.Int +import kotlin.String +import kotlin.collections.List +import kotlinx.serialization.Serializable +import kotlinx.serialization.json.JsonClassDiscriminator + +/** + * 결제 건 + */ +@Serializable +@JsonClassDiscriminator("status") +public sealed interface Payment { + /** + * 결제 건 아이디 + */ + public val id: String + + /** + * 고객사 아이디 + */ + public val merchantId: String + + /** + * 상점 아이디 + */ + public val storeId: String + + /** + * 결제수단 정보 + */ + public val method: PaymentMethod? + + /** + * 결제 채널 + */ + public val channel: SelectedChannel? + + /** + * 결제 채널 그룹 정보 + */ + public val channelGroup: ChannelGroupSummary? + + /** + * 포트원 버전 + */ + public val version: PortOneVersion + + /** + * 결제 예약 건 아이디 + * + * 결제 예약을 이용한 경우에만 존재 + */ + public val scheduleId: String? + + /** + * 결제 시 사용된 빌링키 + * + * 빌링키 결제인 경우에만 존재 + */ + public val billingKey: String? + + /** + * 웹훅 발송 내역 + */ + public val webhooks: List? + + /** + * 결제 요청 시점 + */ + public val requestedAt: @Serializable(InstantSerializer::class) Instant + + /** + * 업데이트 시점 + */ + public val updatedAt: @Serializable(InstantSerializer::class) Instant + + /** + * 상태 업데이트 시점 + */ + public val statusChangedAt: @Serializable(InstantSerializer::class) Instant + + /** + * 주문명 + */ + public val orderName: String + + /** + * 결제 금액 관련 세부 정보 + */ + public val amount: PaymentAmount + + /** + * 통화 + */ + public val currency: Currency + + /** + * 구매자 정보 + */ + public val customer: Customer + + /** + * 프로모션 아이디 + */ + public val promotionId: String? + + /** + * 문화비 지출 여부 + */ + public val isCulturalExpense: Boolean? + + /** + * 에스크로 결제 정보 + * + * 에스크로 결제인 경우 존재합니다. + */ + public val escrow: PaymentEscrow? + + /** + * 상품 정보 + */ + public val products: List? + + /** + * 상품 갯수 + */ + public val productCount: Int? + + /** + * 사용자 지정 데이터 + */ + public val customData: String? + + /** + * 국가 코드 + */ + public val country: Country? +} diff --git a/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/PaymentAlreadyCancelledError.kt b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/PaymentAlreadyCancelledError.kt new file mode 100644 index 0000000..52947bd --- /dev/null +++ b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/PaymentAlreadyCancelledError.kt @@ -0,0 +1,14 @@ +package io.portone.sdk.server.schemas + +import kotlin.String +import kotlinx.serialization.SerialName +import kotlinx.serialization.Serializable + +/** + * 결제가 이미 취소된 경우 + */ +@Serializable +@SerialName("PAYMENT_ALREADY_CANCELLED") +internal data class PaymentAlreadyCancelledError( + override val message: String? = null, +) : CancelPaymentError diff --git a/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/PaymentAlreadyCancelledException.kt b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/PaymentAlreadyCancelledException.kt new file mode 100644 index 0000000..03550d3 --- /dev/null +++ b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/PaymentAlreadyCancelledException.kt @@ -0,0 +1,11 @@ +package io.portone.sdk.server.schemas + +import java.lang.Exception +import kotlin.String + +/** + * 결제가 이미 취소된 경우 + */ +public class PaymentAlreadyCancelledException( + message: String? = null, +) : Exception(message) diff --git a/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/PaymentAmount.kt b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/PaymentAmount.kt new file mode 100644 index 0000000..0a7436b --- /dev/null +++ b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/PaymentAmount.kt @@ -0,0 +1,45 @@ +package io.portone.sdk.server.schemas + +import kotlin.Long +import kotlinx.serialization.Serializable + +/** + * 결제 금액 세부 정보 + */ +@Serializable +public data class PaymentAmount( + /** + * 총 결제금액 + */ + public val total: Long, + /** + * 면세액 + */ + public val taxFree: Long, + /** + * 부가세액 + */ + public val vat: Long? = null, + /** + * 공급가액 + */ + public val supply: Long? = null, + /** + * 할인금액 + * + * 카드사 프로모션, 포트원 프로모션, 적립형 포인트 결제, 쿠폰 할인 등을 포함합니다. + */ + public val discount: Long, + /** + * 실제 결제금액 + */ + public val paid: Long, + /** + * 취소금액 + */ + public val cancelled: Long, + /** + * 취소금액 중 면세액 + */ + public val cancelledTaxFree: Long, +) diff --git a/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/PaymentAmountInput.kt b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/PaymentAmountInput.kt new file mode 100644 index 0000000..d4b9dd3 --- /dev/null +++ b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/PaymentAmountInput.kt @@ -0,0 +1,26 @@ +package io.portone.sdk.server.schemas + +import kotlin.Long +import kotlinx.serialization.Serializable + +/** + * 금액 세부 입력 정보 + */ +@Serializable +public data class PaymentAmountInput( + /** + * 총 금액 + */ + public val total: Long, + /** + * 면세액 + */ + public val taxFree: Long? = null, + /** + * 부가세액 + * + * 고객사에서 직접 계산이 필요한 경우 입력합니다. + * 입력하지 않으면 면세 금액을 제외한 금액의 1/11 로 자동 계산됩니다. + */ + public val vat: Long? = null, +) diff --git a/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/PaymentCancellation.kt b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/PaymentCancellation.kt new file mode 100644 index 0000000..8ee637c --- /dev/null +++ b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/PaymentCancellation.kt @@ -0,0 +1,60 @@ +package io.portone.sdk.server.schemas + +import io.portone.sdk.server.serializers.InstantSerializer +import java.time.Instant +import kotlin.Long +import kotlin.String +import kotlinx.serialization.Serializable +import kotlinx.serialization.json.JsonClassDiscriminator + +/** + * 결제 취소 내역 + */ +@Serializable +@JsonClassDiscriminator("status") +public sealed interface PaymentCancellation { + /** + * 취소 내역 아이디 + */ + public val id: String + + /** + * PG사 결제 취소 내역 아이디 + */ + public val pgCancellationId: String? + + /** + * 취소 총 금액 + */ + public val totalAmount: Long + + /** + * 취소 금액 중 면세 금액 + */ + public val taxFreeAmount: Long + + /** + * 취소 금액 중 부가세액 + */ + public val vatAmount: Long + + /** + * 적립형 포인트의 환불 금액 + */ + public val easyPayDiscountAmount: Long? + + /** + * 취소 사유 + */ + public val reason: String + + /** + * 취소 시점 + */ + public val cancelledAt: @Serializable(InstantSerializer::class) Instant? + + /** + * 취소 요청 시점 + */ + public val requestedAt: @Serializable(InstantSerializer::class) Instant +} diff --git a/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/PaymentCashReceipt.kt b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/PaymentCashReceipt.kt new file mode 100644 index 0000000..079a108 --- /dev/null +++ b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/PaymentCashReceipt.kt @@ -0,0 +1,55 @@ +package io.portone.sdk.server.schemas + +import io.portone.sdk.server.serializers.InstantSerializer +import java.time.Instant +import kotlin.Long +import kotlin.String +import kotlinx.serialization.Serializable +import kotlinx.serialization.json.JsonClassDiscriminator + +/** + * 결제 건 내 현금영수증 정보 + */ +@Serializable +@JsonClassDiscriminator("status") +public sealed interface PaymentCashReceipt { + /** + * 현금영수증 유형 + */ + public val type: CashReceiptType? + + /** + * PG사 영수증 발급 아이디 + */ + public val pgReceiptId: String? + + /** + * 승인 번호 + */ + public val issueNumber: String + + /** + * 총 금액 + */ + public val totalAmount: Long + + /** + * 면세액 + */ + public val taxFreeAmount: Long? + + /** + * 통화 + */ + public val currency: Currency + + /** + * 현금영수증 URL + */ + public val url: String? + + /** + * 발급 시점 + */ + public val issuedAt: @Serializable(InstantSerializer::class) Instant +} diff --git a/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/PaymentCashReceiptStatus.kt b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/PaymentCashReceiptStatus.kt new file mode 100644 index 0000000..6abb92b --- /dev/null +++ b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/PaymentCashReceiptStatus.kt @@ -0,0 +1,12 @@ +package io.portone.sdk.server.schemas + +import kotlinx.serialization.Serializable + +/** + * 결제건 내 현금영수증 상태 + */ +@Serializable +public enum class PaymentCashReceiptStatus { + ISSUED, + CANCELLED, +} diff --git a/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/PaymentClientType.kt b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/PaymentClientType.kt new file mode 100644 index 0000000..1337dcd --- /dev/null +++ b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/PaymentClientType.kt @@ -0,0 +1,13 @@ +package io.portone.sdk.server.schemas + +import kotlinx.serialization.Serializable + +/** + * 결제가 발생한 클라이언트 환경 + */ +@Serializable +public enum class PaymentClientType { + SDK_MOBILE, + SDK_PC, + API, +} diff --git a/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/PaymentEscrow.kt b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/PaymentEscrow.kt new file mode 100644 index 0000000..f6f1aa9 --- /dev/null +++ b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/PaymentEscrow.kt @@ -0,0 +1,13 @@ +package io.portone.sdk.server.schemas + +import kotlinx.serialization.Serializable +import kotlinx.serialization.json.JsonClassDiscriminator + +/** + * 에스크로 정보 + * + * V1 결제 건의 경우 타입이 REGISTERED 로 고정됩니다. + */ +@Serializable +@JsonClassDiscriminator("status") +public sealed interface PaymentEscrow diff --git a/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/PaymentEscrowReceiverInput.kt b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/PaymentEscrowReceiverInput.kt new file mode 100644 index 0000000..789e82f --- /dev/null +++ b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/PaymentEscrowReceiverInput.kt @@ -0,0 +1,27 @@ +package io.portone.sdk.server.schemas + +import kotlin.String +import kotlinx.serialization.Serializable + +/** + * 에스크로 수취인 정보 + */ +@Serializable +public data class PaymentEscrowReceiverInput( + /** + * 이름 + */ + public val name: String? = null, + /** + * 전화번호 + */ + public val phoneNumber: String? = null, + /** + * 우편번호 + */ + public val zipcode: String? = null, + /** + * 주소 + */ + public val address: SeparatedAddressInput? = null, +) diff --git a/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/PaymentEscrowSenderInput.kt b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/PaymentEscrowSenderInput.kt new file mode 100644 index 0000000..5976c3f --- /dev/null +++ b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/PaymentEscrowSenderInput.kt @@ -0,0 +1,31 @@ +package io.portone.sdk.server.schemas + +import kotlin.String +import kotlinx.serialization.Serializable + +/** + * 에스크로 발송자 정보 + */ +@Serializable +public data class PaymentEscrowSenderInput( + /** + * 이름 + */ + public val name: String? = null, + /** + * 전화번호 + */ + public val phoneNumber: String? = null, + /** + * 우편번호 + */ + public val zipcode: String? = null, + /** + * 수취인과의 관계 + */ + public val relationship: String? = null, + /** + * 주소 + */ + public val address: SeparatedAddressInput? = null, +) diff --git a/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/PaymentFailure.kt b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/PaymentFailure.kt new file mode 100644 index 0000000..35cdbf0 --- /dev/null +++ b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/PaymentFailure.kt @@ -0,0 +1,23 @@ +package io.portone.sdk.server.schemas + +import kotlin.String +import kotlinx.serialization.Serializable + +/** + * 결제 실패 정보 + */ +@Serializable +public data class PaymentFailure( + /** + * 실패 사유 + */ + public val reason: String? = null, + /** + * PG사 실패 코드 + */ + public val pgCode: String? = null, + /** + * PG사 실패 메시지 + */ + public val pgMessage: String? = null, +) diff --git a/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/PaymentFilterInput.kt b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/PaymentFilterInput.kt new file mode 100644 index 0000000..0aff90d --- /dev/null +++ b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/PaymentFilterInput.kt @@ -0,0 +1,135 @@ +package io.portone.sdk.server.schemas + +import io.portone.sdk.server.serializers.InstantSerializer +import java.time.Instant +import kotlin.Boolean +import kotlin.String +import kotlin.collections.List +import kotlinx.serialization.Serializable + +/** + * 결제 건 다건 조회를 위한 입력 정보 + */ +@Serializable +public data class PaymentFilterInput( + /** + * 고객사 아이디 + */ + public val merchantId: String? = null, + /** + * 상점 아이디 + * + * Merchant 사용자만 사용가능하며, 지정되지 않은 경우 고객사 전체 결제 건을 조회합니다. + */ + public val storeId: String? = null, + /** + * 조회 기준 시점 유형 + */ + public val timestampType: PaymentTimestampType? = null, + /** + * 결제 요청/상태 승인 시점 범위의 시작 + * + * 값을 입력하지 않으면 end의 90일 전으로 설정됩니다. + */ + public val from: @Serializable(InstantSerializer::class) Instant? = null, + /** + * 결제 요청/상태 승인 시점 범위의 끝 + * + * 값을 입력하지 않으면 현재 시점으로 설정됩니다. + */ + public val until: @Serializable(InstantSerializer::class) Instant? = null, + /** + * 결제 상태 리스트 + * + * 값을 입력하지 않으면 결제상태 필터링이 적용되지 않습니다. + */ + public val status: List? = null, + /** + * 결제수단 리스트 + * + * 값을 입력하지 않으면 결제수단 필터링이 적용되지 않습니다. + */ + public val methods: List? = null, + /** + * PG사 리스트 + * + * 값을 입력하지 않으면 결제대행사 필터링이 적용되지 않습니다. + */ + public val pgProvider: List? = null, + /** + * 테스트 결제 필터링 + */ + public val isTest: Boolean? = null, + /** + * 결제 예약 건 필터링 + */ + public val isScheduled: Boolean? = null, + /** + * 결제 건 정렬 기준 + */ + public val sortBy: PaymentSortBy? = null, + /** + * 결제 건 정렬 방식 + */ + public val sortOrder: SortOrder? = null, + /** + * 포트원 버전 + */ + public val version: PortOneVersion? = null, + /** + * 웹훅 상태 + */ + public val webhookStatus: PaymentWebhookStatus? = null, + /** + * 플랫폼 유형 + */ + public val platformType: PaymentClientType? = null, + /** + * 통화 + */ + public val currency: Currency? = null, + /** + * 에스크로 결제 여부 + */ + public val isEscrow: Boolean? = null, + /** + * 에스크로 결제의 배송 정보 상태 + */ + public val escrowStatus: PaymentFilterInputEscrowStatus? = null, + /** + * 카드 브랜드 + */ + public val cardBrand: CardBrand? = null, + /** + * 카드 유형 + */ + public val cardType: CardType? = null, + /** + * 카드 소유주 유형 + */ + public val cardOwnerType: CardOwnerType? = null, + /** + * 상품권 종류 + */ + public val giftCertificateType: PaymentMethodGiftCertificateType? = null, + /** + * 현금영수증 유형 + */ + public val cashReceiptType: CashReceiptInputType? = null, + /** + * 현금영수증 상태 + */ + public val cashReceiptStatus: PaymentCashReceiptStatus? = null, + /** + * 현금영수증 발급 시간 범위 + */ + public val cashReceiptIssuedAtRange: DateTimeRange? = null, + /** + * 현금영수증 취소 시간 범위 + */ + public val cashReceiptCancelledAtRange: DateTimeRange? = null, + /** + * 통합 검색 리스트 필터 + */ + public val textSearch: List? = null, +) diff --git a/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/PaymentFilterInputEscrowStatus.kt b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/PaymentFilterInputEscrowStatus.kt new file mode 100644 index 0000000..c1b1659 --- /dev/null +++ b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/PaymentFilterInputEscrowStatus.kt @@ -0,0 +1,16 @@ +package io.portone.sdk.server.schemas + +import kotlinx.serialization.Serializable + +/** + * 에스크로 상태 + */ +@Serializable +public enum class PaymentFilterInputEscrowStatus { + REGISTERED, + DELIVERED, + CONFIRMED, + REJECTED, + CANCELLED, + REJECT_CONFIRMED, +} diff --git a/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/PaymentInstallment.kt b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/PaymentInstallment.kt new file mode 100644 index 0000000..9b66aa4 --- /dev/null +++ b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/PaymentInstallment.kt @@ -0,0 +1,20 @@ +package io.portone.sdk.server.schemas + +import kotlin.Boolean +import kotlin.Int +import kotlinx.serialization.Serializable + +/** + * 할부 정보 + */ +@Serializable +public data class PaymentInstallment( + /** + * 할부 개월 수 + */ + public val month: Int, + /** + * 무이자할부 여부 + */ + public val isInterestFree: Boolean, +) diff --git a/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/PaymentLogistics.kt b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/PaymentLogistics.kt new file mode 100644 index 0000000..7edfcdb --- /dev/null +++ b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/PaymentLogistics.kt @@ -0,0 +1,33 @@ +package io.portone.sdk.server.schemas + +import io.portone.sdk.server.serializers.InstantSerializer +import java.time.Instant +import kotlin.String +import kotlinx.serialization.Serializable + +/** + * 배송정보 + */ +@Serializable +public data class PaymentLogistics( + /** + * 물류회사 + */ + public val company: PaymentLogisticsCompany, + /** + * 송장번호 + */ + public val invoiceNumber: String, + /** + * 발송시점 + */ + public val sentAt: @Serializable(InstantSerializer::class) Instant, + /** + * 수령시점 + */ + public val receivedAt: @Serializable(InstantSerializer::class) Instant? = null, + /** + * 주소 + */ + public val address: SeparatedAddressInput? = null, +) diff --git a/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/PaymentLogisticsCompany.kt b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/PaymentLogisticsCompany.kt new file mode 100644 index 0000000..9c81cef --- /dev/null +++ b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/PaymentLogisticsCompany.kt @@ -0,0 +1,130 @@ +package io.portone.sdk.server.schemas + +import kotlinx.serialization.Serializable + +/** + * 물류 회사 + */ +@Serializable +public enum class PaymentLogisticsCompany { + /** + * 롯데글로벌로지스 + */ + LOTTE, + /** + * 로젠택배 + */ + LOGEN, + /** + * 동원로엑스 + */ + DONGWON, + /** + * 우체국택배 + */ + POST, + /** + * 대한통운 + */ + CJ, + /** + * 한진택배 + */ + HANJIN, + /** + * 대신택배 + */ + DAESIN, + /** + * 일양로지스 + */ + ILYANG, + /** + * 경동택배 + */ + KYUNGDONG, + /** + * 천일택배 + */ + CHUNIL, + /** + * 등기우편 + */ + POST_REGISTERED, + /** + * GS네트웍스 + */ + GS, + /** + * 우리택배 + */ + WOORI, + /** + * 합동택배 + */ + HAPDONG, + /** + * FedEx + */ + FEDEX, + /** + * UPS + */ + UPS, + /** + * GSM NtoN + */ + GSM_NTON, + /** + * 성원글로벌카고 + */ + SUNGWON, + /** + * LX판토스 + */ + LX_PANTOS, + /** + * ACI + */ + ACI, + /** + * CJ대한통운 국제특송 + */ + CJ_INTL, + /** + * USPS + */ + USPS, + /** + * EMS + */ + EMS, + /** + * DHL + */ + DHL, + /** + * KGL네트웍스 + */ + KGL, + /** + * 굿투럭 + */ + GOODSTOLUCK, + /** + * 건영택배 + */ + KUNYOUNG, + /** + * SLX + */ + SLX, + /** + * SF Express + */ + SF, + /** + * 기타 + */ + ETC, +} diff --git a/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/PaymentMethod.kt b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/PaymentMethod.kt new file mode 100644 index 0000000..316bb34 --- /dev/null +++ b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/PaymentMethod.kt @@ -0,0 +1,11 @@ +package io.portone.sdk.server.schemas + +import kotlinx.serialization.Serializable +import kotlinx.serialization.json.JsonClassDiscriminator + +/** + * 결제수단 정보 + */ +@Serializable +@JsonClassDiscriminator("type") +public sealed interface PaymentMethod diff --git a/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/PaymentMethodCard.kt b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/PaymentMethodCard.kt new file mode 100644 index 0000000..609927f --- /dev/null +++ b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/PaymentMethodCard.kt @@ -0,0 +1,31 @@ +package io.portone.sdk.server.schemas + +import kotlin.Boolean +import kotlin.String +import kotlinx.serialization.SerialName +import kotlinx.serialization.Serializable + +/** + * 결제수단 카드 정보 + */ +@Serializable +@SerialName("PaymentMethodCard") +public data class PaymentMethodCard( + /** + * 카드 상세 정보 + */ + public val card: Card? = null, + /** + * 승인 번호 + */ + public val approvalNumber: String? = null, + /** + * 할부 정보 + */ + public val installment: PaymentInstallment? = null, + /** + * 카드 포인트 사용여부 + */ + public val pointUsed: Boolean? = null, +) : PaymentMethod, + PaymentMethodEasyPayMethod diff --git a/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/PaymentMethodEasyPay.kt b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/PaymentMethodEasyPay.kt new file mode 100644 index 0000000..5605588 --- /dev/null +++ b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/PaymentMethodEasyPay.kt @@ -0,0 +1,20 @@ +package io.portone.sdk.server.schemas + +import kotlinx.serialization.SerialName +import kotlinx.serialization.Serializable + +/** + * 간편 결제 상세 정보 + */ +@Serializable +@SerialName("PaymentMethodEasyPay") +public data class PaymentMethodEasyPay( + /** + * 간편 결제 PG사 + */ + public val provider: EasyPayProvider? = null, + /** + * 간편 결제 수단 + */ + public val easyPayMethod: PaymentMethodEasyPayMethod? = null, +) : PaymentMethod diff --git a/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/PaymentMethodEasyPayMethod.kt b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/PaymentMethodEasyPayMethod.kt new file mode 100644 index 0000000..66cb5d1 --- /dev/null +++ b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/PaymentMethodEasyPayMethod.kt @@ -0,0 +1,11 @@ +package io.portone.sdk.server.schemas + +import kotlinx.serialization.Serializable +import kotlinx.serialization.json.JsonClassDiscriminator + +/** + * 간편 결제 수단 + */ +@Serializable +@JsonClassDiscriminator("type") +public sealed interface PaymentMethodEasyPayMethod diff --git a/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/PaymentMethodEasyPayMethodCharge.kt b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/PaymentMethodEasyPayMethodCharge.kt new file mode 100644 index 0000000..a13f072 --- /dev/null +++ b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/PaymentMethodEasyPayMethodCharge.kt @@ -0,0 +1,16 @@ +package io.portone.sdk.server.schemas + +import kotlinx.serialization.SerialName +import kotlinx.serialization.Serializable + +/** + * 충전식 포인트 결제 정보 + */ +@Serializable +@SerialName("PaymentMethodEasyPayMethodCharge") +public data class PaymentMethodEasyPayMethodCharge( + /** + * 표준 은행 코드 + */ + public val bank: Bank? = null, +) : PaymentMethodEasyPayMethod diff --git a/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/PaymentMethodGiftCertificate.kt b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/PaymentMethodGiftCertificate.kt new file mode 100644 index 0000000..116f304 --- /dev/null +++ b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/PaymentMethodGiftCertificate.kt @@ -0,0 +1,21 @@ +package io.portone.sdk.server.schemas + +import kotlin.String +import kotlinx.serialization.SerialName +import kotlinx.serialization.Serializable + +/** + * 상품권 상세 정보 + */ +@Serializable +@SerialName("PaymentMethodGiftCertificate") +public data class PaymentMethodGiftCertificate( + /** + * 상품권 종류 + */ + public val giftCertificateType: PaymentMethodGiftCertificateType? = null, + /** + * 상품권 승인 번호 + */ + public val approvalNumber: String, +) : PaymentMethod diff --git a/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/PaymentMethodGiftCertificateType.kt b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/PaymentMethodGiftCertificateType.kt new file mode 100644 index 0000000..54cc1ee --- /dev/null +++ b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/PaymentMethodGiftCertificateType.kt @@ -0,0 +1,15 @@ +package io.portone.sdk.server.schemas + +import kotlinx.serialization.Serializable + +/** + * 상품권 종류 + */ +@Serializable +public enum class PaymentMethodGiftCertificateType { + BOOKNLIFE, + SMART_MUNSANG, + CULTURELAND, + HAPPYMONEY, + CULTUREGIFT, +} diff --git a/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/PaymentMethodMobile.kt b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/PaymentMethodMobile.kt new file mode 100644 index 0000000..be44330 --- /dev/null +++ b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/PaymentMethodMobile.kt @@ -0,0 +1,17 @@ +package io.portone.sdk.server.schemas + +import kotlin.String +import kotlinx.serialization.SerialName +import kotlinx.serialization.Serializable + +/** + * 모바일 상세 정보 + */ +@Serializable +@SerialName("PaymentMethodMobile") +public data class PaymentMethodMobile( + /** + * 전화번호 + */ + public val phoneNumber: String? = null, +) : PaymentMethod diff --git a/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/PaymentMethodTransfer.kt b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/PaymentMethodTransfer.kt new file mode 100644 index 0000000..360a012 --- /dev/null +++ b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/PaymentMethodTransfer.kt @@ -0,0 +1,17 @@ +package io.portone.sdk.server.schemas + +import kotlinx.serialization.SerialName +import kotlinx.serialization.Serializable + +/** + * 계좌 이체 상세 정보 + */ +@Serializable +@SerialName("PaymentMethodTransfer") +public data class PaymentMethodTransfer( + /** + * 표준 은행 코드 + */ + public val bank: Bank? = null, +) : PaymentMethodEasyPayMethod, + PaymentMethod diff --git a/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/PaymentMethodType.kt b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/PaymentMethodType.kt new file mode 100644 index 0000000..3af74ea --- /dev/null +++ b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/PaymentMethodType.kt @@ -0,0 +1,16 @@ +package io.portone.sdk.server.schemas + +import kotlinx.serialization.Serializable + +/** + * PaymentMethodType + */ +@Serializable +public enum class PaymentMethodType { + CARD, + TRANSFER, + VIRTUAL_ACCOUNT, + GIFT_CERTIFICATE, + MOBILE, + EASY_PAY, +} diff --git a/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/PaymentMethodVirtualAccount.kt b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/PaymentMethodVirtualAccount.kt new file mode 100644 index 0000000..4bf1ce7 --- /dev/null +++ b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/PaymentMethodVirtualAccount.kt @@ -0,0 +1,47 @@ +package io.portone.sdk.server.schemas + +import io.portone.sdk.server.serializers.InstantSerializer +import java.time.Instant +import kotlin.String +import kotlinx.serialization.SerialName +import kotlinx.serialization.Serializable + +/** + * 가상계좌 상세 정보 + */ +@Serializable +@SerialName("PaymentMethodVirtualAccount") +public data class PaymentMethodVirtualAccount( + /** + * 표준 은행 코드 + */ + public val bank: Bank? = null, + /** + * 계좌번호 + */ + public val accountNumber: String, + /** + * 계좌 유형 + */ + public val accountType: PaymentMethodVirtualAccountType? = null, + /** + * 계좌주 + */ + public val remitteeName: String? = null, + /** + * 송금인(입금자) + */ + public val remitterName: String? = null, + /** + * 입금만료시점 + */ + public val expiredAt: @Serializable(InstantSerializer::class) Instant? = null, + /** + * 계좌발급시점 + */ + public val issuedAt: @Serializable(InstantSerializer::class) Instant? = null, + /** + * 가상계좌 결제가 환불 단계일 때의 환불 상태 + */ + public val refundStatus: PaymentMethodVirtualAccountRefundStatus? = null, +) : PaymentMethod diff --git a/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/PaymentMethodVirtualAccountRefundStatus.kt b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/PaymentMethodVirtualAccountRefundStatus.kt new file mode 100644 index 0000000..4fb6310 --- /dev/null +++ b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/PaymentMethodVirtualAccountRefundStatus.kt @@ -0,0 +1,26 @@ +package io.portone.sdk.server.schemas + +import kotlinx.serialization.Serializable + +/** + * 가상계좌 환불 상태 + */ +@Serializable +public enum class PaymentMethodVirtualAccountRefundStatus { + /** + * 처리중 + */ + PENDING, + /** + * 부분 환불 실패 + */ + PARTIAL_REFUND_FAILED, + /** + * 환불 실패 + */ + FAILED, + /** + * 환불 완료 + */ + COMPLETED, +} diff --git a/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/PaymentMethodVirtualAccountType.kt b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/PaymentMethodVirtualAccountType.kt new file mode 100644 index 0000000..2b61beb --- /dev/null +++ b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/PaymentMethodVirtualAccountType.kt @@ -0,0 +1,18 @@ +package io.portone.sdk.server.schemas + +import kotlinx.serialization.Serializable + +/** + * 가상계좌 유형 + */ +@Serializable +public enum class PaymentMethodVirtualAccountType { + /** + * 고정식 + */ + FIXED, + /** + * 회전식 + */ + NORMAL, +} diff --git a/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/PaymentNotFoundError.kt b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/PaymentNotFoundError.kt new file mode 100644 index 0000000..e92b39c --- /dev/null +++ b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/PaymentNotFoundError.kt @@ -0,0 +1,21 @@ +package io.portone.sdk.server.schemas + +import kotlin.String +import kotlinx.serialization.SerialName +import kotlinx.serialization.Serializable + +/** + * 결제 건이 존재하지 않는 경우 + */ +@Serializable +@SerialName("PAYMENT_NOT_FOUND") +internal data class PaymentNotFoundError( + override val message: String? = null, +) : GetPaymentError, + CancelPaymentError, + CloseVirtualAccountError, + ApplyEscrowLogisticsError, + ModifyEscrowLogisticsError, + ConfirmEscrowError, + ResendWebhookError, + RegisterStoreReceiptError diff --git a/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/PaymentNotFoundException.kt b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/PaymentNotFoundException.kt new file mode 100644 index 0000000..91d69b4 --- /dev/null +++ b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/PaymentNotFoundException.kt @@ -0,0 +1,11 @@ +package io.portone.sdk.server.schemas + +import java.lang.Exception +import kotlin.String + +/** + * 결제 건이 존재하지 않는 경우 + */ +public class PaymentNotFoundException( + message: String? = null, +) : Exception(message) diff --git a/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/PaymentNotPaidError.kt b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/PaymentNotPaidError.kt new file mode 100644 index 0000000..2be4bcd --- /dev/null +++ b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/PaymentNotPaidError.kt @@ -0,0 +1,18 @@ +package io.portone.sdk.server.schemas + +import kotlin.String +import kotlinx.serialization.SerialName +import kotlinx.serialization.Serializable + +/** + * 결제가 완료되지 않은 경우 + */ +@Serializable +@SerialName("PAYMENT_NOT_PAID") +internal data class PaymentNotPaidError( + override val message: String? = null, +) : CancelPaymentError, + ApplyEscrowLogisticsError, + ModifyEscrowLogisticsError, + ConfirmEscrowError, + RegisterStoreReceiptError diff --git a/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/PaymentNotPaidException.kt b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/PaymentNotPaidException.kt new file mode 100644 index 0000000..d604b03 --- /dev/null +++ b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/PaymentNotPaidException.kt @@ -0,0 +1,11 @@ +package io.portone.sdk.server.schemas + +import java.lang.Exception +import kotlin.String + +/** + * 결제가 완료되지 않은 경우 + */ +public class PaymentNotPaidException( + message: String? = null, +) : Exception(message) diff --git a/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/PaymentNotWaitingForDepositError.kt b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/PaymentNotWaitingForDepositError.kt new file mode 100644 index 0000000..fa837e1 --- /dev/null +++ b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/PaymentNotWaitingForDepositError.kt @@ -0,0 +1,14 @@ +package io.portone.sdk.server.schemas + +import kotlin.String +import kotlinx.serialization.SerialName +import kotlinx.serialization.Serializable + +/** + * 결제 건이 입금 대기 상태가 아닌 경우 + */ +@Serializable +@SerialName("PAYMENT_NOT_WAITING_FOR_DEPOSIT") +internal data class PaymentNotWaitingForDepositError( + override val message: String? = null, +) : CloseVirtualAccountError diff --git a/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/PaymentNotWaitingForDepositException.kt b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/PaymentNotWaitingForDepositException.kt new file mode 100644 index 0000000..665cb30 --- /dev/null +++ b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/PaymentNotWaitingForDepositException.kt @@ -0,0 +1,11 @@ +package io.portone.sdk.server.schemas + +import java.lang.Exception +import kotlin.String + +/** + * 결제 건이 입금 대기 상태가 아닌 경우 + */ +public class PaymentNotWaitingForDepositException( + message: String? = null, +) : Exception(message) diff --git a/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/PaymentProduct.kt b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/PaymentProduct.kt new file mode 100644 index 0000000..1b728d6 --- /dev/null +++ b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/PaymentProduct.kt @@ -0,0 +1,41 @@ +package io.portone.sdk.server.schemas + +import kotlin.Int +import kotlin.Long +import kotlin.String +import kotlinx.serialization.Serializable + +/** + * 상품 정보 + */ +@Serializable +public data class PaymentProduct( + /** + * 상품 고유 식별자 + * + * 고객사가 직접 부여한 식별자입니다. + */ + public val id: String, + /** + * 상품명 + */ + public val name: String, + /** + * 상품 태그 + * + * 카테고리 등으로 활용될 수 있습니다. + */ + public val tag: String? = null, + /** + * 상품 코드 + */ + public val code: String? = null, + /** + * 상품 단위가격 + */ + public val amount: Long, + /** + * 주문 수량 + */ + public val quantity: Int, +) diff --git a/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/PaymentProductType.kt b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/PaymentProductType.kt new file mode 100644 index 0000000..c59c798 --- /dev/null +++ b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/PaymentProductType.kt @@ -0,0 +1,20 @@ +package io.portone.sdk.server.schemas + +import kotlinx.serialization.Serializable + +/** + * 상품 유형 + */ +@Serializable +public enum class PaymentProductType { + /** + * 실물 상품 + */ + PHYSICAL, + /** + * 디지털 상품 + * + * 서비스, 온라인 상품 등 실물이 존재하지 않는 무형의 상품을 의미합니다. + */ + DIGITAL, +} diff --git a/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/PaymentSchedule.kt b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/PaymentSchedule.kt new file mode 100644 index 0000000..39e62db --- /dev/null +++ b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/PaymentSchedule.kt @@ -0,0 +1,113 @@ +package io.portone.sdk.server.schemas + +import io.portone.sdk.server.serializers.InstantSerializer +import java.time.Instant +import kotlin.Boolean +import kotlin.Int +import kotlin.Long +import kotlin.String +import kotlin.collections.List +import kotlinx.serialization.Serializable +import kotlinx.serialization.json.JsonClassDiscriminator + +/** + * 결제 예약 건 + */ +@Serializable +@JsonClassDiscriminator("status") +public sealed interface PaymentSchedule { + /** + * 결제 예약 건 아이디 + */ + public val id: String + + /** + * 고객사 아이디 + */ + public val merchantId: String + + /** + * 상점 아이디 + */ + public val storeId: String + + /** + * 결제 건 아이디 + */ + public val paymentId: String + + /** + * 빌링키 + */ + public val billingKey: String + + /** + * 주문명 + */ + public val orderName: String + + /** + * 문화비 지출 여부 + */ + public val isCulturalExpense: Boolean + + /** + * 에스크로 결제 여부 + */ + public val isEscrow: Boolean + + /** + * 고객 정보 + */ + public val customer: Customer + + /** + * 사용자 지정 데이터 + */ + public val customData: String + + /** + * 결제 총 금액 + */ + public val totalAmount: Long + + /** + * 면세액 + */ + public val taxFreeAmount: Long? + + /** + * 부가세 + */ + public val vatAmount: Long? + + /** + * 통화 + */ + public val currency: Currency + + /** + * 할부 개월 수 + */ + public val installmentMonth: Int? + + /** + * 웹훅 주소 + */ + public val noticeUrls: List? + + /** + * 상품 정보 + */ + public val products: List? + + /** + * 결제 예약 등록 시점 + */ + public val createdAt: @Serializable(InstantSerializer::class) Instant + + /** + * 결제 예정 시점 + */ + public val timeToPay: @Serializable(InstantSerializer::class) Instant +} diff --git a/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/PaymentScheduleAlreadyExistsError.kt b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/PaymentScheduleAlreadyExistsError.kt new file mode 100644 index 0000000..ddc1395 --- /dev/null +++ b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/PaymentScheduleAlreadyExistsError.kt @@ -0,0 +1,15 @@ +package io.portone.sdk.server.schemas + +import kotlin.String +import kotlinx.serialization.SerialName +import kotlinx.serialization.Serializable + +/** + * 결제 예약건이 이미 존재하는 경우 + */ +@Serializable +@SerialName("PAYMENT_SCHEDULE_ALREADY_EXISTS") +internal data class PaymentScheduleAlreadyExistsError( + override val message: String? = null, +) : DeleteBillingKeyError, + CreatePaymentScheduleError diff --git a/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/PaymentScheduleAlreadyExistsException.kt b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/PaymentScheduleAlreadyExistsException.kt new file mode 100644 index 0000000..5de93a9 --- /dev/null +++ b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/PaymentScheduleAlreadyExistsException.kt @@ -0,0 +1,11 @@ +package io.portone.sdk.server.schemas + +import java.lang.Exception +import kotlin.String + +/** + * 결제 예약건이 이미 존재하는 경우 + */ +public class PaymentScheduleAlreadyExistsException( + message: String? = null, +) : Exception(message) diff --git a/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/PaymentScheduleAlreadyProcessedError.kt b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/PaymentScheduleAlreadyProcessedError.kt new file mode 100644 index 0000000..63b0671 --- /dev/null +++ b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/PaymentScheduleAlreadyProcessedError.kt @@ -0,0 +1,14 @@ +package io.portone.sdk.server.schemas + +import kotlin.String +import kotlinx.serialization.SerialName +import kotlinx.serialization.Serializable + +/** + * 결제 예약건이 이미 처리된 경우 + */ +@Serializable +@SerialName("PAYMENT_SCHEDULE_ALREADY_PROCESSED") +internal data class PaymentScheduleAlreadyProcessedError( + override val message: String? = null, +) : RevokePaymentSchedulesError diff --git a/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/PaymentScheduleAlreadyProcessedException.kt b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/PaymentScheduleAlreadyProcessedException.kt new file mode 100644 index 0000000..edb2279 --- /dev/null +++ b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/PaymentScheduleAlreadyProcessedException.kt @@ -0,0 +1,11 @@ +package io.portone.sdk.server.schemas + +import java.lang.Exception +import kotlin.String + +/** + * 결제 예약건이 이미 처리된 경우 + */ +public class PaymentScheduleAlreadyProcessedException( + message: String? = null, +) : Exception(message) diff --git a/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/PaymentScheduleAlreadyRevokedError.kt b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/PaymentScheduleAlreadyRevokedError.kt new file mode 100644 index 0000000..ccc3119 --- /dev/null +++ b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/PaymentScheduleAlreadyRevokedError.kt @@ -0,0 +1,14 @@ +package io.portone.sdk.server.schemas + +import kotlin.String +import kotlinx.serialization.SerialName +import kotlinx.serialization.Serializable + +/** + * 결제 예약건이 이미 취소된 경우 + */ +@Serializable +@SerialName("PAYMENT_SCHEDULE_ALREADY_REVOKED") +internal data class PaymentScheduleAlreadyRevokedError( + override val message: String? = null, +) : RevokePaymentSchedulesError diff --git a/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/PaymentScheduleAlreadyRevokedException.kt b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/PaymentScheduleAlreadyRevokedException.kt new file mode 100644 index 0000000..9417f6c --- /dev/null +++ b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/PaymentScheduleAlreadyRevokedException.kt @@ -0,0 +1,11 @@ +package io.portone.sdk.server.schemas + +import java.lang.Exception +import kotlin.String + +/** + * 결제 예약건이 이미 취소된 경우 + */ +public class PaymentScheduleAlreadyRevokedException( + message: String? = null, +) : Exception(message) diff --git a/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/PaymentScheduleFilterInput.kt b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/PaymentScheduleFilterInput.kt new file mode 100644 index 0000000..b32b6d6 --- /dev/null +++ b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/PaymentScheduleFilterInput.kt @@ -0,0 +1,42 @@ +package io.portone.sdk.server.schemas + +import io.portone.sdk.server.serializers.InstantSerializer +import java.time.Instant +import kotlin.String +import kotlin.collections.List +import kotlinx.serialization.Serializable + +/** + * 결제 예약 건 다건 조회를 위한 입력 정보 + */ +@Serializable +public data class PaymentScheduleFilterInput( + /** + * 상점 아이디 + * + * 접근 권한이 있는 상점 아이디만 입력 가능하며, 미입력시 토큰에 담긴 상점 아이디를 사용합니다. + */ + public val storeId: String? = null, + /** + * 빌링키 + */ + public val billingKey: String? = null, + /** + * 결제 예정 시점 조건 범위의 시작 + * + * 값을 입력하지 않으면 파라미터 end의 90일 전으로 설정됩니다. + */ + public val from: @Serializable(InstantSerializer::class) Instant? = null, + /** + * 결제 예정 시점 조건 범위의 끝 + * + * 값을 입력하지 않으면 현재 시점으로 설정됩니다. + */ + public val until: @Serializable(InstantSerializer::class) Instant? = null, + /** + * 결제 예약 건 상태 리스트 + * + * 값을 입력하지 않으면 상태 필터링이 적용되지 않습니다. + */ + public val status: List? = null, +) diff --git a/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/PaymentScheduleNotFoundError.kt b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/PaymentScheduleNotFoundError.kt new file mode 100644 index 0000000..27470d5 --- /dev/null +++ b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/PaymentScheduleNotFoundError.kt @@ -0,0 +1,15 @@ +package io.portone.sdk.server.schemas + +import kotlin.String +import kotlinx.serialization.SerialName +import kotlinx.serialization.Serializable + +/** + * 결제 예약건이 존재하지 않는 경우 + */ +@Serializable +@SerialName("PAYMENT_SCHEDULE_NOT_FOUND") +internal data class PaymentScheduleNotFoundError( + override val message: String? = null, +) : GetPaymentScheduleError, + RevokePaymentSchedulesError diff --git a/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/PaymentScheduleNotFoundException.kt b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/PaymentScheduleNotFoundException.kt new file mode 100644 index 0000000..a30b572 --- /dev/null +++ b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/PaymentScheduleNotFoundException.kt @@ -0,0 +1,11 @@ +package io.portone.sdk.server.schemas + +import java.lang.Exception +import kotlin.String + +/** + * 결제 예약건이 존재하지 않는 경우 + */ +public class PaymentScheduleNotFoundException( + message: String? = null, +) : Exception(message) diff --git a/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/PaymentScheduleSortBy.kt b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/PaymentScheduleSortBy.kt new file mode 100644 index 0000000..139377d --- /dev/null +++ b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/PaymentScheduleSortBy.kt @@ -0,0 +1,22 @@ +package io.portone.sdk.server.schemas + +import kotlinx.serialization.Serializable + +/** + * 결제 예약 건 정렬 기준 + */ +@Serializable +public enum class PaymentScheduleSortBy { + /** + * 결제 예약 생성 시각 + */ + CREATED_AT, + /** + * 결제 예정 시각 + */ + TIME_TO_PAY, + /** + * 예약 결제 시도(성공 / 실패) 시각 + */ + COMPLETED_AT, +} diff --git a/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/PaymentScheduleSortInput.kt b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/PaymentScheduleSortInput.kt new file mode 100644 index 0000000..5702f4e --- /dev/null +++ b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/PaymentScheduleSortInput.kt @@ -0,0 +1,22 @@ +package io.portone.sdk.server.schemas + +import kotlinx.serialization.Serializable + +/** + * 결제 예약 건 다건 조회 시 정렬 조건 + */ +@Serializable +public data class PaymentScheduleSortInput( + /** + * 정렬 기준 필드 + * + * 어떤 필드를 기준으로 정렬할 지 결정합니다. 비워서 보낼 경우, TIME_TO_PAY가 기본값으로 설정됩니다. + */ + public val `by`: PaymentScheduleSortBy? = null, + /** + * 정렬 순서 + * + * 어떤 순서로 정렬할 지 결정합니다. 비워서 보낼 경우, DESC(내림차순)가 기본값으로 설정됩니다. + */ + public val order: SortOrder? = null, +) diff --git a/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/PaymentScheduleStatus.kt b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/PaymentScheduleStatus.kt new file mode 100644 index 0000000..a775b63 --- /dev/null +++ b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/PaymentScheduleStatus.kt @@ -0,0 +1,34 @@ +package io.portone.sdk.server.schemas + +import kotlinx.serialization.Serializable + +/** + * 결제 예약 건 상태 + */ +@Serializable +public enum class PaymentScheduleStatus { + /** + * 예약 완료 + */ + SCHEDULED, + /** + * 결제 시작 + */ + STARTED, + /** + * 결제 성공 + */ + SUCCEEDED, + /** + * 결제 실패 + */ + FAILED, + /** + * 취소된 결제 예약 + */ + REVOKED, + /** + * 결제 승인 대기 + */ + PENDING, +} diff --git a/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/PaymentScheduleSummary.kt b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/PaymentScheduleSummary.kt new file mode 100644 index 0000000..a575796 --- /dev/null +++ b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/PaymentScheduleSummary.kt @@ -0,0 +1,15 @@ +package io.portone.sdk.server.schemas + +import kotlin.String +import kotlinx.serialization.Serializable + +/** + * 결제 예약 건 + */ +@Serializable +public data class PaymentScheduleSummary( + /** + * 결제 예약 건 아이디 + */ + public val id: String, +) diff --git a/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/PaymentSortBy.kt b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/PaymentSortBy.kt new file mode 100644 index 0000000..7859f84 --- /dev/null +++ b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/PaymentSortBy.kt @@ -0,0 +1,18 @@ +package io.portone.sdk.server.schemas + +import kotlinx.serialization.Serializable + +/** + * 결제 건 정렬 기준 + */ +@Serializable +public enum class PaymentSortBy { + /** + * 결제 요청 시점 + */ + REQUESTED_AT, + /** + * 상태 변경 시점 + */ + STATUS_CHANGED_AT, +} diff --git a/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/PaymentStatus.kt b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/PaymentStatus.kt new file mode 100644 index 0000000..0b66087 --- /dev/null +++ b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/PaymentStatus.kt @@ -0,0 +1,17 @@ +package io.portone.sdk.server.schemas + +import kotlinx.serialization.Serializable + +/** + * 결제 건 상태 + */ +@Serializable +public enum class PaymentStatus { + READY, + PENDING, + VIRTUAL_ACCOUNT_ISSUED, + PAID, + FAILED, + PARTIAL_CANCELLED, + CANCELLED, +} diff --git a/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/PaymentTextSearch.kt b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/PaymentTextSearch.kt new file mode 100644 index 0000000..ca01dc9 --- /dev/null +++ b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/PaymentTextSearch.kt @@ -0,0 +1,13 @@ +package io.portone.sdk.server.schemas + +import kotlin.String +import kotlinx.serialization.Serializable + +/** + * 통합검색 입력 정보 + */ +@Serializable +public data class PaymentTextSearch( + public val `field`: PaymentTextSearchField, + public val `value`: String, +) diff --git a/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/PaymentTextSearchField.kt b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/PaymentTextSearchField.kt new file mode 100644 index 0000000..576d042 --- /dev/null +++ b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/PaymentTextSearchField.kt @@ -0,0 +1,42 @@ +package io.portone.sdk.server.schemas + +import kotlinx.serialization.Serializable + +/** + * 통합검색 항목 + */ +@Serializable +public enum class PaymentTextSearchField { + ALL, + PAYMENT_ID, + TX_ID, + SCHEDULE_ID, + FAIL_REASON, + CARD_ISSUER, + CARD_ACQUIRER, + CARD_BIN, + CARD_NUMBER, + CARD_APPROVAL_NUMBER, + CARD_RECEIPT_NAME, + CARD_INSTALLMENT, + TRANS_BANK, + VIRTUAL_ACCOUNT_HOLDER_NAME, + VIRTUAL_ACCOUNT_BANK, + VIRTUAL_ACCOUNT_NUMBER, + PG_MERCHANT_ID, + PG_TX_ID, + PG_RECEIPT_ID, + RECEIPT_APPROVAL_NUMBER, + PG_CANCELLATION_ID, + CANCEL_REASON, + ORDER_NAME, + CUSTOMER_NAME, + CUSTOMER_EMAIL, + CUSTOMER_PHONE_NUMBER, + CUSTOMER_ADDRESS, + CUSTOMER_ZIPCODE, + USER_AGENT, + BILLING_KEY, + PROMOTION_ID, + GIFT_CERTIFICATION_APPROVAL_NUMBER, +} diff --git a/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/PaymentTimestampType.kt b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/PaymentTimestampType.kt new file mode 100644 index 0000000..2727ff6 --- /dev/null +++ b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/PaymentTimestampType.kt @@ -0,0 +1,27 @@ +package io.portone.sdk.server.schemas + +import kotlinx.serialization.Serializable + +/** + * 조회 시점 기준 + * + * 어떤 시점을 기준으로 조회를 할 것인지 선택합니다. + * CREATED_AT: 결제 건 생성 시점을 기준으로 조회합니다. + * STATUS_CHANGED_AT: 상태 승인 시점을 기준으로 조회합니다. 결제 건의 최종 상태에 따라 검색 기준이 다르게 적용됩니다. + * ready -> 결제 요청 시점 기준 + * paid -> 결제 완료 시점 기준 + * cancelled -> 결제 취소 시점 기준 + * failed -> 결제 실패 시점 기준 + * 값을 입력하지 않으면 STATUS_CHANGED_AT 으로 자동 적용됩니다. + */ +@Serializable +public enum class PaymentTimestampType { + /** + * 결제 건 생성 시점 + */ + CREATED_AT, + /** + * 상태 변경 시점 + */ + STATUS_CHANGED_AT, +} diff --git a/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/PaymentWebhook.kt b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/PaymentWebhook.kt new file mode 100644 index 0000000..6e97fc0 --- /dev/null +++ b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/PaymentWebhook.kt @@ -0,0 +1,65 @@ +package io.portone.sdk.server.schemas + +import io.portone.sdk.server.serializers.InstantSerializer +import java.time.Instant +import kotlin.Boolean +import kotlin.Int +import kotlin.String +import kotlinx.serialization.Serializable + +/** + * 성공 웹훅 내역 + */ +@Serializable +public data class PaymentWebhook( + /** + * 웹훅 발송 시 결제 건 상태 + * + * V1 결제 건인 경우, 값이 존재하지 않습니다. + */ + public val paymentStatus: PaymentWebhookPaymentStatus? = null, + /** + * 웹훅 아이디 + */ + public val id: String, + /** + * 웹훅 상태 + */ + public val status: PaymentWebhookStatus? = null, + /** + * 웹훅이 발송된 url + * + * V1 결제 건인 경우, 값이 존재하지 않습니다. + */ + public val url: String, + /** + * 비동기 웹훅 여부 + * + * V1 결제 건인 경우, 값이 존재하지 않습니다. + */ + public val isAsync: Boolean? = null, + /** + * 현재 발송 횟수 + */ + public val currentExecutionCount: Int? = null, + /** + * 최대 발송 횟수 + */ + public val maxExecutionCount: Int? = null, + /** + * 웹훅 실행 맥락 + */ + public val trigger: PaymentWebhookTrigger? = null, + /** + * 웹훅 요청 정보 + */ + public val request: PaymentWebhookRequest? = null, + /** + * 웹훅 응답 정보 + */ + public val response: PaymentWebhookResponse? = null, + /** + * 웹훅 처리 시작 시점 + */ + public val triggeredAt: @Serializable(InstantSerializer::class) Instant? = null, +) diff --git a/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/PaymentWebhookPaymentStatus.kt b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/PaymentWebhookPaymentStatus.kt new file mode 100644 index 0000000..8a9991c --- /dev/null +++ b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/PaymentWebhookPaymentStatus.kt @@ -0,0 +1,17 @@ +package io.portone.sdk.server.schemas + +import kotlinx.serialization.Serializable + +/** + * 웹훅 발송 시 결제 건 상태 + */ +@Serializable +public enum class PaymentWebhookPaymentStatus { + READY, + VIRTUAL_ACCOUNT_ISSUED, + PAID, + FAILED, + PARTIAL_CANCELLED, + CANCELLED, + PAY_PENDING, +} diff --git a/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/PaymentWebhookRequest.kt b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/PaymentWebhookRequest.kt new file mode 100644 index 0000000..8e93791 --- /dev/null +++ b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/PaymentWebhookRequest.kt @@ -0,0 +1,25 @@ +package io.portone.sdk.server.schemas + +import io.portone.sdk.server.serializers.InstantSerializer +import java.time.Instant +import kotlin.String +import kotlinx.serialization.Serializable + +/** + * 웹훅 요청 정보 + */ +@Serializable +public data class PaymentWebhookRequest( + /** + * 요청 헤더 + */ + public val `header`: String? = null, + /** + * 요청 본문 + */ + public val body: String, + /** + * 요청 시점 + */ + public val requestedAt: @Serializable(InstantSerializer::class) Instant? = null, +) diff --git a/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/PaymentWebhookResponse.kt b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/PaymentWebhookResponse.kt new file mode 100644 index 0000000..35c7a1f --- /dev/null +++ b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/PaymentWebhookResponse.kt @@ -0,0 +1,29 @@ +package io.portone.sdk.server.schemas + +import io.portone.sdk.server.serializers.InstantSerializer +import java.time.Instant +import kotlin.String +import kotlinx.serialization.Serializable + +/** + * 웹훅 응답 정보 + */ +@Serializable +public data class PaymentWebhookResponse( + /** + * 응답 HTTP 코드 + */ + public val code: String, + /** + * 응답 헤더 + */ + public val `header`: String, + /** + * 응답 본문 + */ + public val body: String, + /** + * 응답 시점 + */ + public val respondedAt: @Serializable(InstantSerializer::class) Instant, +) diff --git a/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/PaymentWebhookStatus.kt b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/PaymentWebhookStatus.kt new file mode 100644 index 0000000..d78d47b --- /dev/null +++ b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/PaymentWebhookStatus.kt @@ -0,0 +1,13 @@ +package io.portone.sdk.server.schemas + +import kotlinx.serialization.Serializable + +/** + * 웹훅 전송 상태 + */ +@Serializable +public enum class PaymentWebhookStatus { + SUCCEEDED, + FAILED_NOT_OK_RESPONSE, + FAILED_UNEXPECTED_ERROR, +} diff --git a/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/PaymentWebhookTrigger.kt b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/PaymentWebhookTrigger.kt new file mode 100644 index 0000000..20c75b5 --- /dev/null +++ b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/PaymentWebhookTrigger.kt @@ -0,0 +1,18 @@ +package io.portone.sdk.server.schemas + +import kotlinx.serialization.Serializable + +/** + * 웹훅 실행 트리거 + * + * 수동 웹훅 재발송, 가상계좌 입금, 비동기 취소 승인 시 발생한 웹훅일 때 필드의 값이 존재합니다. + */ +@Serializable +public enum class PaymentWebhookTrigger { + MANUAL, + VIRTUAL_ACCOUNT_DEPOSIT, + ASYNC_CANCEL_APPROVED, + ASYNC_CANCEL_FAILED, + ASYNC_PAY_APPROVED, + ASYNC_PAY_FAILED, +} diff --git a/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/PaymentWithCursor.kt b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/PaymentWithCursor.kt new file mode 100644 index 0000000..7ffa6be --- /dev/null +++ b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/PaymentWithCursor.kt @@ -0,0 +1,19 @@ +package io.portone.sdk.server.schemas + +import kotlin.String +import kotlinx.serialization.Serializable + +/** + * 결제 건 및 커서 정보 + */ +@Serializable +public data class PaymentWithCursor( + /** + * 결제 건 정보 + */ + public val payment: Payment, + /** + * 해당 결제 건의 커서 정보 + */ + public val cursor: String, +) diff --git a/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/PendingPaymentSchedule.kt b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/PendingPaymentSchedule.kt new file mode 100644 index 0000000..2ee6e9f --- /dev/null +++ b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/PendingPaymentSchedule.kt @@ -0,0 +1,103 @@ +package io.portone.sdk.server.schemas + +import io.portone.sdk.server.serializers.InstantSerializer +import java.time.Instant +import kotlin.Boolean +import kotlin.Int +import kotlin.Long +import kotlin.String +import kotlin.collections.List +import kotlinx.serialization.SerialName +import kotlinx.serialization.Serializable + +/** + * 결제 대기 상태 + */ +@Serializable +@SerialName("PENDING") +public data class PendingPaymentSchedule( + /** + * 결제 예약 건 아이디 + */ + override val id: String, + /** + * 고객사 아이디 + */ + override val merchantId: String, + /** + * 상점 아이디 + */ + override val storeId: String, + /** + * 결제 건 아이디 + */ + override val paymentId: String, + /** + * 빌링키 + */ + override val billingKey: String, + /** + * 주문명 + */ + override val orderName: String, + /** + * 문화비 지출 여부 + */ + override val isCulturalExpense: Boolean, + /** + * 에스크로 결제 여부 + */ + override val isEscrow: Boolean, + /** + * 고객 정보 + */ + override val customer: Customer, + /** + * 사용자 지정 데이터 + */ + override val customData: String, + /** + * 결제 총 금액 + */ + override val totalAmount: Long, + /** + * 면세액 + */ + override val taxFreeAmount: Long? = null, + /** + * 부가세 + */ + override val vatAmount: Long? = null, + /** + * 통화 + */ + override val currency: Currency, + /** + * 할부 개월 수 + */ + override val installmentMonth: Int? = null, + /** + * 웹훅 주소 + */ + override val noticeUrls: List? = null, + /** + * 상품 정보 + */ + override val products: List? = null, + /** + * 결제 예약 등록 시점 + */ + override val createdAt: @Serializable(InstantSerializer::class) Instant, + /** + * 결제 예정 시점 + */ + override val timeToPay: @Serializable(InstantSerializer::class) Instant, + /** + * 결제 시작 시점 + */ + public val startedAt: @Serializable(InstantSerializer::class) Instant, + /** + * 결제 완료 시점 + */ + public val completedAt: @Serializable(InstantSerializer::class) Instant, +) : PaymentSchedule diff --git a/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/PgBillingKeyIssueResponse.kt b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/PgBillingKeyIssueResponse.kt new file mode 100644 index 0000000..1ebe43a --- /dev/null +++ b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/PgBillingKeyIssueResponse.kt @@ -0,0 +1,18 @@ +package io.portone.sdk.server.schemas + +import kotlinx.serialization.Serializable +import kotlinx.serialization.json.JsonClassDiscriminator + +/** + * 채널 별 빌링키 발급 응답 + */ +@Serializable +@JsonClassDiscriminator("type") +public sealed interface PgBillingKeyIssueResponse { + /** + * 채널 + * + * 빌링키 발급을 시도한 채널입니다. + */ + public val channel: SelectedChannel +} diff --git a/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/PgCompany.kt b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/PgCompany.kt new file mode 100644 index 0000000..420c56e --- /dev/null +++ b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/PgCompany.kt @@ -0,0 +1,40 @@ +package io.portone.sdk.server.schemas + +import kotlinx.serialization.Serializable + +/** + * PG사 + */ +@Serializable +public enum class PgCompany { + INICIS, + NICE, + KCP, + DANAL, + TOSSPAYMENTS, + MOBILIANS, + KICC, + SMARTRO, + DAOU, + BLUEWALNUT, + PAYPAL, + ALIPAY, + EXIMBAY, + PAYMENTWALL, + SETTLE, + GALAXIA, + NAVERPAY, + KAKAOPAY, + SMILEPAY, + KAKAO, + TOSSPAY, + CHAI, + PAYCO, + PAYPLE, + SYRUP, + KSNET, + WELCOME, + JTNET, + KPN, + HYPHEN, +} diff --git a/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/PgProvider.kt b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/PgProvider.kt new file mode 100644 index 0000000..38b64da --- /dev/null +++ b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/PgProvider.kt @@ -0,0 +1,58 @@ +package io.portone.sdk.server.schemas + +import kotlinx.serialization.Serializable + +/** + * PG사 결제 모듈 + */ +@Serializable +public enum class PgProvider { + HTML5_INICIS, + PAYPAL, + PAYPAL_V2, + INICIS, + DANAL, + NICE, + DANAL_TPAY, + JTNET, + UPLUS, + NAVERPAY, + KAKAO, + SETTLE, + KCP, + MOBILIANS, + KAKAOPAY, + NAVERCO, + SYRUP, + KICC, + EXIMBAY, + SMILEPAY, + PAYCO, + KCP_BILLING, + ALIPAY, + PAYPLE, + CHAI, + BLUEWALNUT, + SMARTRO, + SMARTRO_V2, + PAYMENTWALL, + TOSSPAYMENTS, + KCP_QUICK, + DAOU, + GALAXIA, + TOSSPAY, + KCP_DIRECT, + SETTLE_ACC, + SETTLE_FIRM, + INICIS_UNIFIED, + KSNET, + PINPAY, + NICE_V2, + TOSS_BRANDPAY, + WELCOME, + TOSSPAY_V2, + INICIS_V2, + KPN, + KCP_V2, + HYPHEN, +} diff --git a/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/PgProviderError.kt b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/PgProviderError.kt new file mode 100644 index 0000000..dc0042f --- /dev/null +++ b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/PgProviderError.kt @@ -0,0 +1,30 @@ +package io.portone.sdk.server.schemas + +import kotlin.String +import kotlinx.serialization.SerialName +import kotlinx.serialization.Serializable + +/** + * PG사에서 오류를 전달한 경우 + */ +@Serializable +@SerialName("PG_PROVIDER") +internal data class PgProviderError( + override val message: String? = null, + public val pgCode: String, + public val pgMessage: String, +) : SendIdentityVerificationError, + ConfirmIdentityVerificationError, + ResendIdentityVerificationError, + DeleteBillingKeyError, + IssueBillingKeyError, + CancelPaymentError, + PayWithBillingKeyError, + PayInstantlyError, + IssueCashReceiptError, + CancelCashReceiptError, + CloseVirtualAccountError, + ApplyEscrowLogisticsError, + ModifyEscrowLogisticsError, + ConfirmEscrowError, + RegisterStoreReceiptError diff --git a/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/PgProviderException.kt b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/PgProviderException.kt new file mode 100644 index 0000000..6cef8c7 --- /dev/null +++ b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/PgProviderException.kt @@ -0,0 +1,13 @@ +package io.portone.sdk.server.schemas + +import java.lang.Exception +import kotlin.String + +/** + * PG사에서 오류를 전달한 경우 + */ +public class PgProviderException( + message: String? = null, + public val pgCode: String, + public val pgMessage: String, +) : Exception(message) diff --git a/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/PortOneVersion.kt b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/PortOneVersion.kt new file mode 100644 index 0000000..a07ee39 --- /dev/null +++ b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/PortOneVersion.kt @@ -0,0 +1,12 @@ +package io.portone.sdk.server.schemas + +import kotlinx.serialization.Serializable + +/** + * 포트원 버전 + */ +@Serializable +public enum class PortOneVersion { + V1, + V2, +} diff --git a/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/PreRegisterPaymentBody.kt b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/PreRegisterPaymentBody.kt new file mode 100644 index 0000000..a5f1293 --- /dev/null +++ b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/PreRegisterPaymentBody.kt @@ -0,0 +1,30 @@ +package io.portone.sdk.server.schemas + +import kotlin.Long +import kotlin.String +import kotlinx.serialization.Serializable + +/** + * 결제 정보 사전 등록 입력 정보 + */ +@Serializable +internal data class PreRegisterPaymentBody( + /** + * 상점 아이디 + * + * 접근 권한이 있는 상점 아이디만 입력 가능하며, 미입력시 토큰에 담긴 상점 아이디를 사용합니다. + */ + public val storeId: String? = null, + /** + * 결제 총 금액 + */ + public val totalAmount: Long? = null, + /** + * 결제 면세 금액 + */ + public val taxFreeAmount: Long? = null, + /** + * 통화 단위 + */ + public val currency: Currency? = null, +) diff --git a/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/PreRegisterPaymentError.kt b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/PreRegisterPaymentError.kt new file mode 100644 index 0000000..2f220c7 --- /dev/null +++ b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/PreRegisterPaymentError.kt @@ -0,0 +1,14 @@ +package io.portone.sdk.server.schemas + +import kotlin.String +import kotlinx.serialization.Serializable +import kotlinx.serialization.json.JsonClassDiscriminator + +/** + * PreRegisterPaymentError + */ +@Serializable +@JsonClassDiscriminator("type") +internal sealed interface PreRegisterPaymentError { + public val message: String? +} diff --git a/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/PromotionPayMethodDoesNotMatchError.kt b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/PromotionPayMethodDoesNotMatchError.kt new file mode 100644 index 0000000..5828fed --- /dev/null +++ b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/PromotionPayMethodDoesNotMatchError.kt @@ -0,0 +1,15 @@ +package io.portone.sdk.server.schemas + +import kotlin.String +import kotlinx.serialization.SerialName +import kotlinx.serialization.Serializable + +/** + * 결제수단이 프로모션에 지정된 것과 일치하지 않는 경우 + */ +@Serializable +@SerialName("PROMOTION_PAY_METHOD_DOES_NOT_MATCH") +internal data class PromotionPayMethodDoesNotMatchError( + override val message: String? = null, +) : PayWithBillingKeyError, + PayInstantlyError diff --git a/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/PromotionPayMethodDoesNotMatchException.kt b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/PromotionPayMethodDoesNotMatchException.kt new file mode 100644 index 0000000..5b20c03 --- /dev/null +++ b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/PromotionPayMethodDoesNotMatchException.kt @@ -0,0 +1,11 @@ +package io.portone.sdk.server.schemas + +import java.lang.Exception +import kotlin.String + +/** + * 결제수단이 프로모션에 지정된 것과 일치하지 않는 경우 + */ +public class PromotionPayMethodDoesNotMatchException( + message: String? = null, +) : Exception(message) diff --git a/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/ReadyIdentityVerification.kt b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/ReadyIdentityVerification.kt new file mode 100644 index 0000000..18c4c09 --- /dev/null +++ b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/ReadyIdentityVerification.kt @@ -0,0 +1,43 @@ +package io.portone.sdk.server.schemas + +import io.portone.sdk.server.serializers.InstantSerializer +import java.time.Instant +import kotlin.String +import kotlinx.serialization.SerialName +import kotlinx.serialization.Serializable + +/** + * 준비 상태의 본인인증 내역 + */ +@Serializable +@SerialName("READY") +public data class ReadyIdentityVerification( + /** + * 본인인증 내역 아이디 + */ + override val id: String, + /** + * 사용된 본인인증 채널 + */ + override val channel: SelectedChannel? = null, + /** + * 요청 시 고객 정보 + */ + public val requestedCustomer: IdentityVerificationRequestedCustomer, + /** + * 사용자 지정 데이터 + */ + override val customData: String? = null, + /** + * 본인인증 요청 시점 + */ + override val requestedAt: @Serializable(InstantSerializer::class) Instant, + /** + * 업데이트 시점 + */ + override val updatedAt: @Serializable(InstantSerializer::class) Instant, + /** + * 상태 업데이트 시점 + */ + override val statusChangedAt: @Serializable(InstantSerializer::class) Instant, +) : IdentityVerification diff --git a/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/ReadyPayment.kt b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/ReadyPayment.kt new file mode 100644 index 0000000..b058390 --- /dev/null +++ b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/ReadyPayment.kt @@ -0,0 +1,126 @@ +package io.portone.sdk.server.schemas + +import io.portone.sdk.server.serializers.InstantSerializer +import java.time.Instant +import kotlin.Boolean +import kotlin.Int +import kotlin.String +import kotlin.collections.List +import kotlinx.serialization.SerialName +import kotlinx.serialization.Serializable + +/** + * 준비 상태의 결제 건 + */ +@Serializable +@SerialName("READY") +public data class ReadyPayment( + /** + * 결제 건 아이디 + */ + override val id: String, + /** + * 결제 건 포트원 채번 아이디 + * + * V1 결제 건의 경우 imp_uid에 해당합니다. + */ + public val transactionId: String, + /** + * 고객사 아이디 + */ + override val merchantId: String, + /** + * 상점 아이디 + */ + override val storeId: String, + /** + * 결제수단 정보 + */ + override val method: PaymentMethod? = null, + /** + * 결제 채널 + */ + override val channel: SelectedChannel? = null, + /** + * 결제 채널 그룹 정보 + */ + override val channelGroup: ChannelGroupSummary? = null, + /** + * 포트원 버전 + */ + override val version: PortOneVersion, + /** + * 결제 예약 건 아이디 + * + * 결제 예약을 이용한 경우에만 존재 + */ + override val scheduleId: String? = null, + /** + * 결제 시 사용된 빌링키 + * + * 빌링키 결제인 경우에만 존재 + */ + override val billingKey: String? = null, + /** + * 웹훅 발송 내역 + */ + override val webhooks: List? = null, + /** + * 결제 요청 시점 + */ + override val requestedAt: @Serializable(InstantSerializer::class) Instant, + /** + * 업데이트 시점 + */ + override val updatedAt: @Serializable(InstantSerializer::class) Instant, + /** + * 상태 업데이트 시점 + */ + override val statusChangedAt: @Serializable(InstantSerializer::class) Instant, + /** + * 주문명 + */ + override val orderName: String, + /** + * 결제 금액 관련 세부 정보 + */ + override val amount: PaymentAmount, + /** + * 통화 + */ + override val currency: Currency, + /** + * 구매자 정보 + */ + override val customer: Customer, + /** + * 프로모션 아이디 + */ + override val promotionId: String? = null, + /** + * 문화비 지출 여부 + */ + override val isCulturalExpense: Boolean? = null, + /** + * 에스크로 결제의 배송 정보 + * + * 에스크로 결제인 경우 존재합니다. + */ + override val escrow: PaymentEscrow? = null, + /** + * 상품 정보 + */ + override val products: List? = null, + /** + * 상품 갯수 + */ + override val productCount: Int? = null, + /** + * 사용자 지정 데이터 + */ + override val customData: String? = null, + /** + * 국가 코드 + */ + override val country: Country? = null, +) : Payment diff --git a/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/RegisterEscrowLogisticsBody.kt b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/RegisterEscrowLogisticsBody.kt new file mode 100644 index 0000000..8ccf791 --- /dev/null +++ b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/RegisterEscrowLogisticsBody.kt @@ -0,0 +1,41 @@ +package io.portone.sdk.server.schemas + +import kotlin.Boolean +import kotlin.String +import kotlin.collections.List +import kotlinx.serialization.Serializable + +/** + * 에스크로 배송 정보 등록 입력 정보 + */ +@Serializable +internal data class RegisterEscrowLogisticsBody( + /** + * 상점 아이디 + * + * 접근 권한이 있는 상점 아이디만 입력 가능하며, 미입력시 토큰에 담긴 상점 아이디를 사용합니다. + */ + public val storeId: String? = null, + /** + * 에스크로 발송자 정보 + */ + public val sender: PaymentEscrowSenderInput? = null, + /** + * 에스크로 수취인 정보 + */ + public val `receiver`: PaymentEscrowReceiverInput? = null, + /** + * 에스크로 물류 정보 + */ + public val logistics: PaymentLogistics, + /** + * 이메일 알림 전송 여부 + * + * 에스크로 구매 확정 시 이메일로 알림을 보낼지 여부입니다. + */ + public val sendEmail: Boolean? = null, + /** + * 상품 정보 + */ + public val products: List? = null, +) diff --git a/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/RegisterStoreReceiptBody.kt b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/RegisterStoreReceiptBody.kt new file mode 100644 index 0000000..5427fb3 --- /dev/null +++ b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/RegisterStoreReceiptBody.kt @@ -0,0 +1,20 @@ +package io.portone.sdk.server.schemas + +import kotlin.String +import kotlin.collections.List +import kotlinx.serialization.Serializable + +/** + * 영수증 내 하위 상점 거래 등록 정보 + */ +@Serializable +internal data class RegisterStoreReceiptBody( + /** + * 하위 상점 거래 목록 + */ + public val items: List, + /** + * 상점 아이디 + */ + public val storeId: String? = null, +) diff --git a/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/RegisterStoreReceiptBodyItem.kt b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/RegisterStoreReceiptBodyItem.kt new file mode 100644 index 0000000..c906ab0 --- /dev/null +++ b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/RegisterStoreReceiptBodyItem.kt @@ -0,0 +1,40 @@ +package io.portone.sdk.server.schemas + +import kotlin.Long +import kotlin.String +import kotlinx.serialization.Serializable + +/** + * 하위 상점 거래 정보 + */ +@Serializable +public data class RegisterStoreReceiptBodyItem( + /** + * 하위 상점 사업자등록번호 + */ + public val storeBusinessRegistrationNumber: String, + /** + * 하위 상점명 + */ + public val storeName: String, + /** + * 결제 총 금액 + */ + public val totalAmount: Long, + /** + * 면세액 + */ + public val taxFreeAmount: Long? = null, + /** + * 부가세액 + */ + public val vatAmount: Long? = null, + /** + * 공급가액 + */ + public val supplyAmount: Long? = null, + /** + * 통화 + */ + public val currency: Currency, +) diff --git a/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/RegisterStoreReceiptError.kt b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/RegisterStoreReceiptError.kt new file mode 100644 index 0000000..af4877c --- /dev/null +++ b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/RegisterStoreReceiptError.kt @@ -0,0 +1,14 @@ +package io.portone.sdk.server.schemas + +import kotlin.String +import kotlinx.serialization.Serializable +import kotlinx.serialization.json.JsonClassDiscriminator + +/** + * RegisterStoreReceiptError + */ +@Serializable +@JsonClassDiscriminator("type") +internal sealed interface RegisterStoreReceiptError { + public val message: String? +} diff --git a/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/RegisterStoreReceiptResponse.kt b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/RegisterStoreReceiptResponse.kt new file mode 100644 index 0000000..792032e --- /dev/null +++ b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/RegisterStoreReceiptResponse.kt @@ -0,0 +1,15 @@ +package io.portone.sdk.server.schemas + +import kotlin.String +import kotlinx.serialization.Serializable + +/** + * 영수증 내 하위 상점 거래 등록 응답 + */ +@Serializable +public data class RegisterStoreReceiptResponse( + /** + * 결제 영수증 URL + */ + public val receiptUrl: String? = null, +) diff --git a/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/RegisteredPaymentEscrow.kt b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/RegisteredPaymentEscrow.kt new file mode 100644 index 0000000..4e20cf9 --- /dev/null +++ b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/RegisteredPaymentEscrow.kt @@ -0,0 +1,31 @@ +package io.portone.sdk.server.schemas + +import io.portone.sdk.server.serializers.InstantSerializer +import java.time.Instant +import kotlin.String +import kotlinx.serialization.SerialName +import kotlinx.serialization.Serializable + +/** + * 배송 정보 등록 완료 + */ +@Serializable +@SerialName("REGISTERED") +public data class RegisteredPaymentEscrow( + /** + * 택배사 + */ + public val company: String, + /** + * 송장번호 + */ + public val invoiceNumber: String, + /** + * 발송 일시 + */ + public val sentAt: @Serializable(InstantSerializer::class) Instant? = null, + /** + * 배송등록 처리 일자 + */ + public val appliedAt: @Serializable(InstantSerializer::class) Instant? = null, +) : PaymentEscrow diff --git a/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/RejectConfirmedPaymentEscrow.kt b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/RejectConfirmedPaymentEscrow.kt new file mode 100644 index 0000000..ad909c0 --- /dev/null +++ b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/RejectConfirmedPaymentEscrow.kt @@ -0,0 +1,31 @@ +package io.portone.sdk.server.schemas + +import io.portone.sdk.server.serializers.InstantSerializer +import java.time.Instant +import kotlin.String +import kotlinx.serialization.SerialName +import kotlinx.serialization.Serializable + +/** + * 구매 거절 확정 + */ +@Serializable +@SerialName("REJECT_CONFIRMED") +public data class RejectConfirmedPaymentEscrow( + /** + * 택배사 + */ + public val company: String, + /** + * 송장번호 + */ + public val invoiceNumber: String, + /** + * 발송 일시 + */ + public val sentAt: @Serializable(InstantSerializer::class) Instant? = null, + /** + * 배송등록 처리 일자 + */ + public val appliedAt: @Serializable(InstantSerializer::class) Instant? = null, +) : PaymentEscrow diff --git a/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/RejectedPaymentEscrow.kt b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/RejectedPaymentEscrow.kt new file mode 100644 index 0000000..5403a55 --- /dev/null +++ b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/RejectedPaymentEscrow.kt @@ -0,0 +1,31 @@ +package io.portone.sdk.server.schemas + +import io.portone.sdk.server.serializers.InstantSerializer +import java.time.Instant +import kotlin.String +import kotlinx.serialization.SerialName +import kotlinx.serialization.Serializable + +/** + * 구매 거절 + */ +@Serializable +@SerialName("REJECTED") +public data class RejectedPaymentEscrow( + /** + * 택배사 + */ + public val company: String, + /** + * 송장번호 + */ + public val invoiceNumber: String, + /** + * 발송 일시 + */ + public val sentAt: @Serializable(InstantSerializer::class) Instant? = null, + /** + * 배송등록 처리 일자 + */ + public val appliedAt: @Serializable(InstantSerializer::class) Instant? = null, +) : PaymentEscrow diff --git a/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/RemainedAmountLessThanPromotionMinPaymentAmountError.kt b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/RemainedAmountLessThanPromotionMinPaymentAmountError.kt new file mode 100644 index 0000000..4e71971 --- /dev/null +++ b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/RemainedAmountLessThanPromotionMinPaymentAmountError.kt @@ -0,0 +1,14 @@ +package io.portone.sdk.server.schemas + +import kotlin.String +import kotlinx.serialization.SerialName +import kotlinx.serialization.Serializable + +/** + * 부분 취소 시, 취소하게 될 경우 남은 금액이 프로모션의 최소 결제 금액보다 작아지는 경우 + */ +@Serializable +@SerialName("REMAINED_AMOUNT_LESS_THAN_PROMOTION_MIN_PAYMENT_AMOUNT") +internal data class RemainedAmountLessThanPromotionMinPaymentAmountError( + override val message: String? = null, +) : CancelPaymentError diff --git a/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/RemainedAmountLessThanPromotionMinPaymentAmountException.kt b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/RemainedAmountLessThanPromotionMinPaymentAmountException.kt new file mode 100644 index 0000000..59d682e --- /dev/null +++ b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/RemainedAmountLessThanPromotionMinPaymentAmountException.kt @@ -0,0 +1,11 @@ +package io.portone.sdk.server.schemas + +import java.lang.Exception +import kotlin.String + +/** + * 부분 취소 시, 취소하게 될 경우 남은 금액이 프로모션의 최소 결제 금액보다 작아지는 경우 + */ +public class RemainedAmountLessThanPromotionMinPaymentAmountException( + message: String? = null, +) : Exception(message) diff --git a/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/RequestedPaymentCancellation.kt b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/RequestedPaymentCancellation.kt new file mode 100644 index 0000000..7a9b852 --- /dev/null +++ b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/RequestedPaymentCancellation.kt @@ -0,0 +1,52 @@ +package io.portone.sdk.server.schemas + +import io.portone.sdk.server.serializers.InstantSerializer +import java.time.Instant +import kotlin.Long +import kotlin.String +import kotlinx.serialization.SerialName +import kotlinx.serialization.Serializable + +/** + * 취소 요청 상태 + */ +@Serializable +@SerialName("REQUESTED") +public data class RequestedPaymentCancellation( + /** + * 취소 내역 아이디 + */ + override val id: String, + /** + * PG사 결제 취소 내역 아이디 + */ + override val pgCancellationId: String? = null, + /** + * 취소 총 금액 + */ + override val totalAmount: Long, + /** + * 취소 금액 중 면세 금액 + */ + override val taxFreeAmount: Long, + /** + * 취소 금액 중 부가세액 + */ + override val vatAmount: Long, + /** + * 적립형 포인트의 환불 금액 + */ + override val easyPayDiscountAmount: Long? = null, + /** + * 취소 사유 + */ + override val reason: String, + /** + * 취소 시점 + */ + override val cancelledAt: @Serializable(InstantSerializer::class) Instant? = null, + /** + * 취소 요청 시점 + */ + override val requestedAt: @Serializable(InstantSerializer::class) Instant, +) : PaymentCancellation diff --git a/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/ResendIdentityVerificationError.kt b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/ResendIdentityVerificationError.kt new file mode 100644 index 0000000..33a7da4 --- /dev/null +++ b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/ResendIdentityVerificationError.kt @@ -0,0 +1,14 @@ +package io.portone.sdk.server.schemas + +import kotlin.String +import kotlinx.serialization.Serializable +import kotlinx.serialization.json.JsonClassDiscriminator + +/** + * ResendIdentityVerificationError + */ +@Serializable +@JsonClassDiscriminator("type") +internal sealed interface ResendIdentityVerificationError { + public val message: String? +} diff --git a/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/ResendWebhookBody.kt b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/ResendWebhookBody.kt new file mode 100644 index 0000000..7e1e313 --- /dev/null +++ b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/ResendWebhookBody.kt @@ -0,0 +1,25 @@ +package io.portone.sdk.server.schemas + +import kotlin.String +import kotlinx.serialization.Serializable + +/** + * ResendWebhookBody + * + * 웹훅 재발송을 위한 입력 정보 + */ +@Serializable +internal data class ResendWebhookBody( + /** + * 상점 아이디 + * + * 접근 권한이 있는 상점 아이디만 입력 가능하며, 미입력시 토큰에 담긴 상점 아이디를 사용합니다. + */ + public val storeId: String? = null, + /** + * 웹훅 아이디 + * + * 입력하지 않으면 결제 건의 가장 최근 웹훅 아이디가 기본 적용됩니다 + */ + public val webhookId: String? = null, +) diff --git a/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/ResendWebhookError.kt b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/ResendWebhookError.kt new file mode 100644 index 0000000..a3adc28 --- /dev/null +++ b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/ResendWebhookError.kt @@ -0,0 +1,14 @@ +package io.portone.sdk.server.schemas + +import kotlin.String +import kotlinx.serialization.Serializable +import kotlinx.serialization.json.JsonClassDiscriminator + +/** + * ResendWebhookError + */ +@Serializable +@JsonClassDiscriminator("type") +internal sealed interface ResendWebhookError { + public val message: String? +} diff --git a/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/ResendWebhookResponse.kt b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/ResendWebhookResponse.kt new file mode 100644 index 0000000..fb21106 --- /dev/null +++ b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/ResendWebhookResponse.kt @@ -0,0 +1,14 @@ +package io.portone.sdk.server.schemas + +import kotlinx.serialization.Serializable + +/** + * 웹훅 재발송 응답 정보 + */ +@Serializable +public data class ResendWebhookResponse( + /** + * 재발송 웹훅 정보 + */ + public val webhook: PaymentWebhook, +) diff --git a/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/RevokePaymentSchedulesBody.kt b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/RevokePaymentSchedulesBody.kt new file mode 100644 index 0000000..4406a89 --- /dev/null +++ b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/RevokePaymentSchedulesBody.kt @@ -0,0 +1,33 @@ +package io.portone.sdk.server.schemas + +import kotlin.String +import kotlin.collections.List +import kotlinx.serialization.Serializable + +/** + * 결제 예약 건 취소 요청 입력 정보 + * + * billingKey, scheduleIds 중 하나 이상은 필수로 입력합니다. + * billingKey 만 입력된 경우 -> 해당 빌링키로 예약된 모든 결제 예약 건들이 취소됩니다. + * scheduleIds 만 입력된 경우 -> 입력된 결제 예약 건 아이디에 해당하는 예약 건들이 취소됩니다. + * billingKey, scheduleIds 모두 입력된 경우 -> 입력된 결제 예약 건 아이디에 해당하는 예약 건들이 취소됩니다. 그리고 예약한 빌링키가 입력된 빌링키와 + * 일치하는지 검증합니다. + * 위 정책에 따라 선택된 결제 예약 건들 중 하나라도 취소에 실패할 경우, 모든 취소 요청이 실패합니다. + */ +@Serializable +internal data class RevokePaymentSchedulesBody( + /** + * 상점 아이디 + * + * 접근 권한이 있는 상점 아이디만 입력 가능하며, 미입력시 토큰에 담긴 상점 아이디를 사용합니다. + */ + public val storeId: String? = null, + /** + * 빌링키 + */ + public val billingKey: String? = null, + /** + * 결제 예약 건 아이디 목록 + */ + public val scheduleIds: List? = null, +) diff --git a/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/RevokePaymentSchedulesError.kt b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/RevokePaymentSchedulesError.kt new file mode 100644 index 0000000..5df5259 --- /dev/null +++ b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/RevokePaymentSchedulesError.kt @@ -0,0 +1,14 @@ +package io.portone.sdk.server.schemas + +import kotlin.String +import kotlinx.serialization.Serializable +import kotlinx.serialization.json.JsonClassDiscriminator + +/** + * RevokePaymentSchedulesError + */ +@Serializable +@JsonClassDiscriminator("type") +internal sealed interface RevokePaymentSchedulesError { + public val message: String? +} diff --git a/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/RevokePaymentSchedulesResponse.kt b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/RevokePaymentSchedulesResponse.kt new file mode 100644 index 0000000..2e81d49 --- /dev/null +++ b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/RevokePaymentSchedulesResponse.kt @@ -0,0 +1,22 @@ +package io.portone.sdk.server.schemas + +import io.portone.sdk.server.serializers.InstantSerializer +import java.time.Instant +import kotlin.String +import kotlin.collections.List +import kotlinx.serialization.Serializable + +/** + * 결제 예약 건 취소 성공 응답 + */ +@Serializable +public data class RevokePaymentSchedulesResponse( + /** + * 취소 완료된 결제 예약 건 아이디 목록 + */ + public val revokedScheduleIds: List, + /** + * 결제 예약 건 취소 완료 시점 + */ + public val revokedAt: @Serializable(InstantSerializer::class) Instant? = null, +) diff --git a/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/RevokedPaymentSchedule.kt b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/RevokedPaymentSchedule.kt new file mode 100644 index 0000000..8041283 --- /dev/null +++ b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/RevokedPaymentSchedule.kt @@ -0,0 +1,99 @@ +package io.portone.sdk.server.schemas + +import io.portone.sdk.server.serializers.InstantSerializer +import java.time.Instant +import kotlin.Boolean +import kotlin.Int +import kotlin.Long +import kotlin.String +import kotlin.collections.List +import kotlinx.serialization.SerialName +import kotlinx.serialization.Serializable + +/** + * 결제 예약 취소 상태 + */ +@Serializable +@SerialName("REVOKED") +public data class RevokedPaymentSchedule( + /** + * 결제 예약 건 아이디 + */ + override val id: String, + /** + * 고객사 아이디 + */ + override val merchantId: String, + /** + * 상점 아이디 + */ + override val storeId: String, + /** + * 결제 건 아이디 + */ + override val paymentId: String, + /** + * 빌링키 + */ + override val billingKey: String, + /** + * 주문명 + */ + override val orderName: String, + /** + * 문화비 지출 여부 + */ + override val isCulturalExpense: Boolean, + /** + * 에스크로 결제 여부 + */ + override val isEscrow: Boolean, + /** + * 고객 정보 + */ + override val customer: Customer, + /** + * 사용자 지정 데이터 + */ + override val customData: String, + /** + * 결제 총 금액 + */ + override val totalAmount: Long, + /** + * 면세액 + */ + override val taxFreeAmount: Long? = null, + /** + * 부가세 + */ + override val vatAmount: Long? = null, + /** + * 통화 + */ + override val currency: Currency, + /** + * 할부 개월 수 + */ + override val installmentMonth: Int? = null, + /** + * 웹훅 주소 + */ + override val noticeUrls: List? = null, + /** + * 상품 정보 + */ + override val products: List? = null, + /** + * 결제 예약 등록 시점 + */ + override val createdAt: @Serializable(InstantSerializer::class) Instant, + /** + * 결제 예정 시점 + */ + override val timeToPay: @Serializable(InstantSerializer::class) Instant, + /** + * 결제 취소 시점 + */ + public val revokedAt: @Serializable(InstantSerializer::class) Instant, +) : PaymentSchedule diff --git a/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/ScheduledPaymentSchedule.kt b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/ScheduledPaymentSchedule.kt new file mode 100644 index 0000000..7dfe934 --- /dev/null +++ b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/ScheduledPaymentSchedule.kt @@ -0,0 +1,95 @@ +package io.portone.sdk.server.schemas + +import io.portone.sdk.server.serializers.InstantSerializer +import java.time.Instant +import kotlin.Boolean +import kotlin.Int +import kotlin.Long +import kotlin.String +import kotlin.collections.List +import kotlinx.serialization.SerialName +import kotlinx.serialization.Serializable + +/** + * 결제 예약 완료 상태 + */ +@Serializable +@SerialName("SCHEDULED") +public data class ScheduledPaymentSchedule( + /** + * 결제 예약 건 아이디 + */ + override val id: String, + /** + * 고객사 아이디 + */ + override val merchantId: String, + /** + * 상점 아이디 + */ + override val storeId: String, + /** + * 결제 건 아이디 + */ + override val paymentId: String, + /** + * 빌링키 + */ + override val billingKey: String, + /** + * 주문명 + */ + override val orderName: String, + /** + * 문화비 지출 여부 + */ + override val isCulturalExpense: Boolean, + /** + * 에스크로 결제 여부 + */ + override val isEscrow: Boolean, + /** + * 고객 정보 + */ + override val customer: Customer, + /** + * 사용자 지정 데이터 + */ + override val customData: String, + /** + * 결제 총 금액 + */ + override val totalAmount: Long, + /** + * 면세액 + */ + override val taxFreeAmount: Long? = null, + /** + * 부가세 + */ + override val vatAmount: Long? = null, + /** + * 통화 + */ + override val currency: Currency, + /** + * 할부 개월 수 + */ + override val installmentMonth: Int? = null, + /** + * 웹훅 주소 + */ + override val noticeUrls: List? = null, + /** + * 상품 정보 + */ + override val products: List? = null, + /** + * 결제 예약 등록 시점 + */ + override val createdAt: @Serializable(InstantSerializer::class) Instant, + /** + * 결제 예정 시점 + */ + override val timeToPay: @Serializable(InstantSerializer::class) Instant, +) : PaymentSchedule diff --git a/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/SelectedChannel.kt b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/SelectedChannel.kt new file mode 100644 index 0000000..843c410 --- /dev/null +++ b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/SelectedChannel.kt @@ -0,0 +1,35 @@ +package io.portone.sdk.server.schemas + +import kotlin.String +import kotlinx.serialization.Serializable + +/** + * (결제, 본인인증 등에) 선택된 채널 정보 + */ +@Serializable +public data class SelectedChannel( + /** + * 채널 타입 + */ + public val type: SelectedChannelType, + /** + * 채널 아이디 + */ + public val id: String? = null, + /** + * 채널 키 + */ + public val key: String? = null, + /** + * 채널 명 + */ + public val name: String? = null, + /** + * PG사 + */ + public val pgProvider: PgProvider, + /** + * PG사 고객사 식별 아이디 + */ + public val pgMerchantId: String, +) diff --git a/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/SelectedChannelType.kt b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/SelectedChannelType.kt new file mode 100644 index 0000000..f2900a5 --- /dev/null +++ b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/SelectedChannelType.kt @@ -0,0 +1,18 @@ +package io.portone.sdk.server.schemas + +import kotlinx.serialization.Serializable + +/** + * 채널 타입 + */ +@Serializable +public enum class SelectedChannelType { + /** + * 실 연동 채널 + */ + LIVE, + /** + * 테스트 연동 채널 + */ + TEST, +} diff --git a/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/SendIdentityVerificationBody.kt b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/SendIdentityVerificationBody.kt new file mode 100644 index 0000000..c0673f7 --- /dev/null +++ b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/SendIdentityVerificationBody.kt @@ -0,0 +1,42 @@ +package io.portone.sdk.server.schemas + +import kotlin.String +import kotlinx.serialization.Serializable +import kotlinx.serialization.json.JsonObject + +/** + * 본인인증 요청을 위한 입력 정보 + */ +@Serializable +internal data class SendIdentityVerificationBody( + /** + * 상점 아이디 + * + * 접근 권한이 있는 상점 아이디만 입력 가능하며, 미입력시 토큰에 담긴 상점 아이디를 사용합니다. + */ + public val storeId: String? = null, + /** + * 채널 키 + */ + public val channelKey: String, + /** + * 고객 정보 + */ + public val customer: SendIdentityVerificationBodyCustomer, + /** + * 사용자 지정 데이터 + */ + public val customData: String? = null, + /** + * PG사별 추가 파라미터 ("PG사별 연동 가이드" 참고) + */ + public val bypass: JsonObject? = null, + /** + * 통신사 + */ + public val `operator`: IdentityVerificationOperator, + /** + * 본인인증 방식 + */ + public val method: IdentityVerificationMethod, +) diff --git a/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/SendIdentityVerificationBodyCustomer.kt b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/SendIdentityVerificationBodyCustomer.kt new file mode 100644 index 0000000..d590c0f --- /dev/null +++ b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/SendIdentityVerificationBodyCustomer.kt @@ -0,0 +1,37 @@ +package io.portone.sdk.server.schemas + +import kotlin.String +import kotlinx.serialization.Serializable + +/** + * 본인인증 요청을 위한 고객 정보 + */ +@Serializable +public data class SendIdentityVerificationBodyCustomer( + /** + * 식별 아이디 + */ + public val id: String? = null, + /** + * 이름 + */ + public val name: String, + /** + * 전화번호 + * + * 특수 문자(-) 없이 숫자만 입력합니다. + */ + public val phoneNumber: String, + /** + * 주민등록번호 앞 7자리 + * + * SMS 방식의 경우 필수로 입력합니다. + */ + public val identityNumber: String? = null, + /** + * IP 주소 + * + * 고객의 요청 속도 제한에 사용됩니다. + */ + public val ipAddress: String, +) diff --git a/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/SendIdentityVerificationError.kt b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/SendIdentityVerificationError.kt new file mode 100644 index 0000000..0b74b16 --- /dev/null +++ b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/SendIdentityVerificationError.kt @@ -0,0 +1,14 @@ +package io.portone.sdk.server.schemas + +import kotlin.String +import kotlinx.serialization.Serializable +import kotlinx.serialization.json.JsonClassDiscriminator + +/** + * SendIdentityVerificationError + */ +@Serializable +@JsonClassDiscriminator("type") +internal sealed interface SendIdentityVerificationError { + public val message: String? +} diff --git a/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/SeparatedAddress.kt b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/SeparatedAddress.kt new file mode 100644 index 0000000..3c2291e --- /dev/null +++ b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/SeparatedAddress.kt @@ -0,0 +1,40 @@ +package io.portone.sdk.server.schemas + +import kotlin.String +import kotlinx.serialization.SerialName +import kotlinx.serialization.Serializable + +/** + * 분리 형식 주소 + * + * 한 줄 형식 주소와 분리 형식 주소 모두 존재합니다. + * 한 줄 형식 주소는 분리 형식 주소를 이어 붙인 형태로 생성됩니다. + */ +@Serializable +@SerialName("SEPARATED") +public data class SeparatedAddress( + /** + * 주소 (한 줄) + */ + override val oneLine: String, + /** + * 상세 주소 1 + */ + public val addressLine1: String, + /** + * 상세 주소 2 + */ + public val addressLine2: String, + /** + * 시/군/구 + */ + public val city: String? = null, + /** + * 주/도/시 + */ + public val province: String? = null, + /** + * 국가 + */ + public val country: Country? = null, +) : Address diff --git a/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/SeparatedAddressInput.kt b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/SeparatedAddressInput.kt new file mode 100644 index 0000000..e1b4368 --- /dev/null +++ b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/SeparatedAddressInput.kt @@ -0,0 +1,31 @@ +package io.portone.sdk.server.schemas + +import kotlin.String +import kotlinx.serialization.Serializable + +/** + * 분리 형식 주소 입력 정보 + */ +@Serializable +public data class SeparatedAddressInput( + /** + * 상세 주소 1 + */ + public val addressLine1: String, + /** + * 상세 주소 2 + */ + public val addressLine2: String, + /** + * 시/군/구 + */ + public val city: String? = null, + /** + * 주/도/시 + */ + public val province: String? = null, + /** + * 국가 + */ + public val country: Country? = null, +) diff --git a/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/SortOrder.kt b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/SortOrder.kt new file mode 100644 index 0000000..82930a5 --- /dev/null +++ b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/SortOrder.kt @@ -0,0 +1,18 @@ +package io.portone.sdk.server.schemas + +import kotlinx.serialization.Serializable + +/** + * 정렬 방식 + */ +@Serializable +public enum class SortOrder { + /** + * 내림차순 + */ + DESC, + /** + * 오름차순 + */ + ASC, +} diff --git a/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/StartedPaymentSchedule.kt b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/StartedPaymentSchedule.kt new file mode 100644 index 0000000..d603568 --- /dev/null +++ b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/StartedPaymentSchedule.kt @@ -0,0 +1,99 @@ +package io.portone.sdk.server.schemas + +import io.portone.sdk.server.serializers.InstantSerializer +import java.time.Instant +import kotlin.Boolean +import kotlin.Int +import kotlin.Long +import kotlin.String +import kotlin.collections.List +import kotlinx.serialization.SerialName +import kotlinx.serialization.Serializable + +/** + * 결제 시작 상태 + */ +@Serializable +@SerialName("STARTED") +public data class StartedPaymentSchedule( + /** + * 결제 예약 건 아이디 + */ + override val id: String, + /** + * 고객사 아이디 + */ + override val merchantId: String, + /** + * 상점 아이디 + */ + override val storeId: String, + /** + * 결제 건 아이디 + */ + override val paymentId: String, + /** + * 빌링키 + */ + override val billingKey: String, + /** + * 주문명 + */ + override val orderName: String, + /** + * 문화비 지출 여부 + */ + override val isCulturalExpense: Boolean, + /** + * 에스크로 결제 여부 + */ + override val isEscrow: Boolean, + /** + * 고객 정보 + */ + override val customer: Customer, + /** + * 사용자 지정 데이터 + */ + override val customData: String, + /** + * 결제 총 금액 + */ + override val totalAmount: Long, + /** + * 면세액 + */ + override val taxFreeAmount: Long? = null, + /** + * 부가세 + */ + override val vatAmount: Long? = null, + /** + * 통화 + */ + override val currency: Currency, + /** + * 할부 개월 수 + */ + override val installmentMonth: Int? = null, + /** + * 웹훅 주소 + */ + override val noticeUrls: List? = null, + /** + * 상품 정보 + */ + override val products: List? = null, + /** + * 결제 예약 등록 시점 + */ + override val createdAt: @Serializable(InstantSerializer::class) Instant, + /** + * 결제 예정 시점 + */ + override val timeToPay: @Serializable(InstantSerializer::class) Instant, + /** + * 결제 시작 시점 + */ + public val startedAt: @Serializable(InstantSerializer::class) Instant, +) : PaymentSchedule diff --git a/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/SucceededPaymentCancellation.kt b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/SucceededPaymentCancellation.kt new file mode 100644 index 0000000..4ff86d8 --- /dev/null +++ b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/SucceededPaymentCancellation.kt @@ -0,0 +1,56 @@ +package io.portone.sdk.server.schemas + +import io.portone.sdk.server.serializers.InstantSerializer +import java.time.Instant +import kotlin.Long +import kotlin.String +import kotlinx.serialization.SerialName +import kotlinx.serialization.Serializable + +/** + * 취소 완료 상태 + */ +@Serializable +@SerialName("SUCCEEDED") +public data class SucceededPaymentCancellation( + /** + * 취소 내역 아이디 + */ + override val id: String, + /** + * PG사 결제 취소 내역 아이디 + */ + override val pgCancellationId: String? = null, + /** + * 취소 총 금액 + */ + override val totalAmount: Long, + /** + * 취소 금액 중 면세 금액 + */ + override val taxFreeAmount: Long, + /** + * 취소 금액 중 부가세액 + */ + override val vatAmount: Long, + /** + * 적립형 포인트의 환불 금액 + */ + override val easyPayDiscountAmount: Long? = null, + /** + * 취소 사유 + */ + override val reason: String, + /** + * 취소 시점 + */ + override val cancelledAt: @Serializable(InstantSerializer::class) Instant? = null, + /** + * 취소 요청 시점 + */ + override val requestedAt: @Serializable(InstantSerializer::class) Instant, + /** + * 취소 영수증 URL + */ + public val receiptUrl: String? = null, +) : PaymentCancellation diff --git a/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/SucceededPaymentSchedule.kt b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/SucceededPaymentSchedule.kt new file mode 100644 index 0000000..3a3536b --- /dev/null +++ b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/SucceededPaymentSchedule.kt @@ -0,0 +1,103 @@ +package io.portone.sdk.server.schemas + +import io.portone.sdk.server.serializers.InstantSerializer +import java.time.Instant +import kotlin.Boolean +import kotlin.Int +import kotlin.Long +import kotlin.String +import kotlin.collections.List +import kotlinx.serialization.SerialName +import kotlinx.serialization.Serializable + +/** + * 결제 성공 상태 + */ +@Serializable +@SerialName("SUCCEEDED") +public data class SucceededPaymentSchedule( + /** + * 결제 예약 건 아이디 + */ + override val id: String, + /** + * 고객사 아이디 + */ + override val merchantId: String, + /** + * 상점 아이디 + */ + override val storeId: String, + /** + * 결제 건 아이디 + */ + override val paymentId: String, + /** + * 빌링키 + */ + override val billingKey: String, + /** + * 주문명 + */ + override val orderName: String, + /** + * 문화비 지출 여부 + */ + override val isCulturalExpense: Boolean, + /** + * 에스크로 결제 여부 + */ + override val isEscrow: Boolean, + /** + * 고객 정보 + */ + override val customer: Customer, + /** + * 사용자 지정 데이터 + */ + override val customData: String, + /** + * 결제 총 금액 + */ + override val totalAmount: Long, + /** + * 면세액 + */ + override val taxFreeAmount: Long? = null, + /** + * 부가세 + */ + override val vatAmount: Long? = null, + /** + * 통화 + */ + override val currency: Currency, + /** + * 할부 개월 수 + */ + override val installmentMonth: Int? = null, + /** + * 웹훅 주소 + */ + override val noticeUrls: List? = null, + /** + * 상품 정보 + */ + override val products: List? = null, + /** + * 결제 예약 등록 시점 + */ + override val createdAt: @Serializable(InstantSerializer::class) Instant, + /** + * 결제 예정 시점 + */ + override val timeToPay: @Serializable(InstantSerializer::class) Instant, + /** + * 결제 시작 시점 + */ + public val startedAt: @Serializable(InstantSerializer::class) Instant, + /** + * 결제 완료 시점 + */ + public val completedAt: @Serializable(InstantSerializer::class) Instant, +) : PaymentSchedule diff --git a/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/SumOfPartsExceedsCancelAmountError.kt b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/SumOfPartsExceedsCancelAmountError.kt new file mode 100644 index 0000000..c00a07a --- /dev/null +++ b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/SumOfPartsExceedsCancelAmountError.kt @@ -0,0 +1,14 @@ +package io.portone.sdk.server.schemas + +import kotlin.String +import kotlinx.serialization.SerialName +import kotlinx.serialization.Serializable + +/** + * 면세 금액 등 하위 항목들의 합이 전체 취소 금액을 초과한 경우 + */ +@Serializable +@SerialName("SUM_OF_PARTS_EXCEEDS_CANCEL_AMOUNT") +internal data class SumOfPartsExceedsCancelAmountError( + override val message: String? = null, +) : CancelPaymentError diff --git a/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/SumOfPartsExceedsCancelAmountException.kt b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/SumOfPartsExceedsCancelAmountException.kt new file mode 100644 index 0000000..852264a --- /dev/null +++ b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/SumOfPartsExceedsCancelAmountException.kt @@ -0,0 +1,11 @@ +package io.portone.sdk.server.schemas + +import java.lang.Exception +import kotlin.String + +/** + * 면세 금액 등 하위 항목들의 합이 전체 취소 금액을 초과한 경우 + */ +public class SumOfPartsExceedsCancelAmountException( + message: String? = null, +) : Exception(message) diff --git a/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/SumOfPartsExceedsTotalAmountError.kt b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/SumOfPartsExceedsTotalAmountError.kt new file mode 100644 index 0000000..2588f5a --- /dev/null +++ b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/SumOfPartsExceedsTotalAmountError.kt @@ -0,0 +1,16 @@ +package io.portone.sdk.server.schemas + +import kotlin.String +import kotlinx.serialization.SerialName +import kotlinx.serialization.Serializable + +/** + * 면세 금액 등 하위 항목들의 합이 전체 결제 금액을 초과한 경우 + */ +@Serializable +@SerialName("SUM_OF_PARTS_EXCEEDS_TOTAL_AMOUNT") +internal data class SumOfPartsExceedsTotalAmountError( + override val message: String? = null, +) : CreatePaymentScheduleError, + PayWithBillingKeyError, + PayInstantlyError diff --git a/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/SumOfPartsExceedsTotalAmountException.kt b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/SumOfPartsExceedsTotalAmountException.kt new file mode 100644 index 0000000..d74e511 --- /dev/null +++ b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/SumOfPartsExceedsTotalAmountException.kt @@ -0,0 +1,11 @@ +package io.portone.sdk.server.schemas + +import java.lang.Exception +import kotlin.String + +/** + * 면세 금액 등 하위 항목들의 합이 전체 결제 금액을 초과한 경우 + */ +public class SumOfPartsExceedsTotalAmountException( + message: String? = null, +) : Exception(message) diff --git a/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/UnauthorizedError.kt b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/UnauthorizedError.kt new file mode 100644 index 0000000..7885aeb --- /dev/null +++ b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/UnauthorizedError.kt @@ -0,0 +1,42 @@ +package io.portone.sdk.server.schemas + +import kotlin.String +import kotlinx.serialization.SerialName +import kotlinx.serialization.Serializable + +/** + * 인증 정보가 올바르지 않은 경우 + */ +@Serializable +@SerialName("UNAUTHORIZED") +internal data class UnauthorizedError( + override val message: String? = null, +) : GetIdentityVerificationError, + SendIdentityVerificationError, + ConfirmIdentityVerificationError, + ResendIdentityVerificationError, + PreRegisterPaymentError, + GetBillingKeyInfoError, + DeleteBillingKeyError, + GetBillingKeyInfosError, + IssueBillingKeyError, + GetCashReceiptError, + GetPaymentError, + GetPaymentsError, + GetAllPaymentsError, + GetPaymentScheduleError, + GetPaymentSchedulesError, + RevokePaymentSchedulesError, + CreatePaymentScheduleError, + CancelPaymentError, + PayWithBillingKeyError, + PayInstantlyError, + IssueCashReceiptError, + CancelCashReceiptError, + CloseVirtualAccountError, + ApplyEscrowLogisticsError, + ModifyEscrowLogisticsError, + ConfirmEscrowError, + ResendWebhookError, + GetKakaopayPaymentOrderError, + RegisterStoreReceiptError diff --git a/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/UnauthorizedException.kt b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/UnauthorizedException.kt new file mode 100644 index 0000000..0d40ee9 --- /dev/null +++ b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/UnauthorizedException.kt @@ -0,0 +1,11 @@ +package io.portone.sdk.server.schemas + +import java.lang.Exception +import kotlin.String + +/** + * 인증 정보가 올바르지 않은 경우 + */ +public class UnauthorizedException( + message: String? = null, +) : Exception(message) diff --git a/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/VerifiedIdentityVerification.kt b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/VerifiedIdentityVerification.kt new file mode 100644 index 0000000..6d79388 --- /dev/null +++ b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/VerifiedIdentityVerification.kt @@ -0,0 +1,55 @@ +package io.portone.sdk.server.schemas + +import io.portone.sdk.server.serializers.InstantSerializer +import java.time.Instant +import kotlin.String +import kotlinx.serialization.SerialName +import kotlinx.serialization.Serializable + +/** + * 완료된 본인인증 내역 + */ +@Serializable +@SerialName("VERIFIED") +public data class VerifiedIdentityVerification( + /** + * 본인인증 내역 아이디 + */ + override val id: String, + /** + * 사용된 본인인증 채널 + */ + override val channel: SelectedChannel? = null, + /** + * 인증된 고객 정보 + */ + public val verifiedCustomer: IdentityVerificationVerifiedCustomer, + /** + * 사용자 지정 데이터 + */ + override val customData: String? = null, + /** + * 본인인증 요청 시점 + */ + override val requestedAt: @Serializable(InstantSerializer::class) Instant, + /** + * 업데이트 시점 + */ + override val updatedAt: @Serializable(InstantSerializer::class) Instant, + /** + * 상태 업데이트 시점 + */ + override val statusChangedAt: @Serializable(InstantSerializer::class) Instant, + /** + * 본인인증 완료 시점 + */ + public val verifiedAt: @Serializable(InstantSerializer::class) Instant, + /** + * 본인인증 내역 PG사 아이디 + */ + public val pgTxId: String, + /** + * PG사 응답 데이터 + */ + public val pgRawResponse: String, +) : IdentityVerification diff --git a/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/VirtualAccountIssuedPayment.kt b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/VirtualAccountIssuedPayment.kt new file mode 100644 index 0000000..d9b8415 --- /dev/null +++ b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/VirtualAccountIssuedPayment.kt @@ -0,0 +1,130 @@ +package io.portone.sdk.server.schemas + +import io.portone.sdk.server.serializers.InstantSerializer +import java.time.Instant +import kotlin.Boolean +import kotlin.Int +import kotlin.String +import kotlin.collections.List +import kotlinx.serialization.SerialName +import kotlinx.serialization.Serializable + +/** + * 가상계좌 발급 완료 상태 건 + */ +@Serializable +@SerialName("VIRTUAL_ACCOUNT_ISSUED") +public data class VirtualAccountIssuedPayment( + /** + * 결제 건 아이디 + */ + override val id: String, + /** + * 결제 건 포트원 채번 아이디 + * + * V1 결제 건의 경우 imp_uid에 해당합니다. + */ + public val transactionId: String, + /** + * 고객사 아이디 + */ + override val merchantId: String, + /** + * 상점 아이디 + */ + override val storeId: String, + /** + * 결제수단 정보 + */ + override val method: PaymentMethod? = null, + /** + * 결제 채널 + */ + override val channel: SelectedChannel, + /** + * 결제 채널 그룹 정보 + */ + override val channelGroup: ChannelGroupSummary? = null, + /** + * 포트원 버전 + */ + override val version: PortOneVersion, + /** + * 결제 예약 건 아이디 + * + * 결제 예약을 이용한 경우에만 존재 + */ + override val scheduleId: String? = null, + /** + * 결제 시 사용된 빌링키 + * + * 빌링키 결제인 경우에만 존재 + */ + override val billingKey: String? = null, + /** + * 웹훅 발송 내역 + */ + override val webhooks: List? = null, + /** + * 결제 요청 시점 + */ + override val requestedAt: @Serializable(InstantSerializer::class) Instant, + /** + * 업데이트 시점 + */ + override val updatedAt: @Serializable(InstantSerializer::class) Instant, + /** + * 상태 업데이트 시점 + */ + override val statusChangedAt: @Serializable(InstantSerializer::class) Instant, + /** + * 주문명 + */ + override val orderName: String, + /** + * 결제 금액 관련 세부 정보 + */ + override val amount: PaymentAmount, + /** + * 통화 + */ + override val currency: Currency, + /** + * 구매자 정보 + */ + override val customer: Customer, + /** + * 프로모션 아이디 + */ + override val promotionId: String? = null, + /** + * 문화비 지출 여부 + */ + override val isCulturalExpense: Boolean? = null, + /** + * 에스크로 결제 정보 + * + * 에스크로 결제인 경우 존재합니다. + */ + override val escrow: PaymentEscrow? = null, + /** + * 상품 정보 + */ + override val products: List? = null, + /** + * 상품 갯수 + */ + override val productCount: Int? = null, + /** + * 사용자 지정 데이터 + */ + override val customData: String? = null, + /** + * 국가 코드 + */ + override val country: Country? = null, + /** + * PG사 거래 아이디 + */ + public val pgTxId: String? = null, +) : Payment diff --git a/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/WebhookNotFoundError.kt b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/WebhookNotFoundError.kt new file mode 100644 index 0000000..e1347e6 --- /dev/null +++ b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/WebhookNotFoundError.kt @@ -0,0 +1,14 @@ +package io.portone.sdk.server.schemas + +import kotlin.String +import kotlinx.serialization.SerialName +import kotlinx.serialization.Serializable + +/** + * 웹훅 내역이 존재하지 않는 경우 + */ +@Serializable +@SerialName("WEBHOOK_NOT_FOUND") +internal data class WebhookNotFoundError( + override val message: String? = null, +) : ResendWebhookError diff --git a/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/WebhookNotFoundException.kt b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/WebhookNotFoundException.kt new file mode 100644 index 0000000..2a6c221 --- /dev/null +++ b/common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/WebhookNotFoundException.kt @@ -0,0 +1,11 @@ +package io.portone.sdk.server.schemas + +import java.lang.Exception +import kotlin.String + +/** + * 웹훅 내역이 존재하지 않는 경우 + */ +public class WebhookNotFoundException( + message: String? = null, +) : Exception(message) diff --git a/common/src/main/java/module-info.java b/common/src/main/java/module-info.java index 8e5abd0..29e52a9 100644 --- a/common/src/main/java/module-info.java +++ b/common/src/main/java/module-info.java @@ -1,5 +1,5 @@ module io.portone.sdk.server { - requires kotlin.stdlib; + requires kotlinx.serialization.json; exports io.portone.sdk.server.webhook; } diff --git a/common/src/main/kotlin/io/portone/sdk/server/UnrecognizedException.kt b/common/src/main/kotlin/io/portone/sdk/server/UnrecognizedException.kt new file mode 100644 index 0000000..907b859 --- /dev/null +++ b/common/src/main/kotlin/io/portone/sdk/server/UnrecognizedException.kt @@ -0,0 +1,11 @@ +package io.portone.sdk.server + +/** + * API 응답이 알 수 없는 형식임을 나타냅니다. + */ +public class UnrecognizedException internal constructor(message: String, cause: Throwable? = null) : Exception(message, cause) { + public companion object { + @Suppress("ConstPropertyName") + private const val serialVersionUID: Long = 788381635814915564L + } +} diff --git a/common/src/main/kotlin/io/portone/sdk/server/serializers/InstantSerializer.kt b/common/src/main/kotlin/io/portone/sdk/server/serializers/InstantSerializer.kt new file mode 100644 index 0000000..792a340 --- /dev/null +++ b/common/src/main/kotlin/io/portone/sdk/server/serializers/InstantSerializer.kt @@ -0,0 +1,21 @@ +package io.portone.sdk.server.serializers + +import kotlinx.serialization.KSerializer +import kotlinx.serialization.descriptors.PrimitiveKind +import kotlinx.serialization.descriptors.PrimitiveSerialDescriptor +import kotlinx.serialization.descriptors.SerialDescriptor +import kotlinx.serialization.encoding.Decoder +import kotlinx.serialization.encoding.Encoder +import java.time.Instant + +public object InstantSerializer : KSerializer { + override val descriptor: SerialDescriptor = + PrimitiveSerialDescriptor("io.portone.sdk.server.serializers.InstantSerializer", PrimitiveKind.STRING) + + override fun serialize( + encoder: Encoder, + value: Instant, + ): Unit = encoder.encodeString(value.toString()) + + override fun deserialize(decoder: Decoder): Instant = Instant.parse(decoder.decodeString()) +} diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml index 739b1bf..066ca82 100644 --- a/gradle/libs.versions.toml +++ b/gradle/libs.versions.toml @@ -2,9 +2,13 @@ kotlin-test = "2.0.0" [libraries] +kotlinx-serialization-json = { module = "org.jetbrains.kotlinx:kotlinx-serialization-json", version = "1.7.2" } +ktor-client-core = { module = "io.ktor:ktor-client-core", version = "2.3.12"} +ktor-client-okhttp = { module = "io.ktor:ktor-client-okhttp", version = "2.3.12" } [plugins] kotlin-jvm = { id = "org.jetbrains.kotlin.jvm", version = "2.0.20" } +kotlin-plugin-serialization = { id = "org.jetbrains.kotlin.plugin.serialization", version = "2.0.20" } ktlint = { id = "org.jlleitschuh.gradle.ktlint", version = "12.1.1" } binary-compatibility-validator = { id = "org.jetbrains.kotlinx.binary-compatibility-validator", version = "0.16.3" } dokka = { id = "org.jetbrains.dokka", version = "1.9.20" } diff --git a/gradle/wrapper/gradle-wrapper.jar b/gradle/wrapper/gradle-wrapper.jar index e644113..a4b76b9 100644 Binary files a/gradle/wrapper/gradle-wrapper.jar and b/gradle/wrapper/gradle-wrapper.jar differ diff --git a/gradle/wrapper/gradle-wrapper.properties b/gradle/wrapper/gradle-wrapper.properties index a441313..9355b41 100644 --- a/gradle/wrapper/gradle-wrapper.properties +++ b/gradle/wrapper/gradle-wrapper.properties @@ -1,6 +1,6 @@ distributionBase=GRADLE_USER_HOME distributionPath=wrapper/dists -distributionUrl=https\://services.gradle.org/distributions/gradle-8.8-bin.zip +distributionUrl=https\://services.gradle.org/distributions/gradle-8.10-bin.zip networkTimeout=10000 validateDistributionUrl=true zipStoreBase=GRADLE_USER_HOME diff --git a/gradlew b/gradlew index b740cf1..f5feea6 100755 --- a/gradlew +++ b/gradlew @@ -15,6 +15,8 @@ # See the License for the specific language governing permissions and # limitations under the License. # +# SPDX-License-Identifier: Apache-2.0 +# ############################################################################## # @@ -84,7 +86,8 @@ done # shellcheck disable=SC2034 APP_BASE_NAME=${0##*/} # Discard cd standard output in case $CDPATH is set (https://github.com/gradle/gradle/issues/25036) -APP_HOME=$( cd "${APP_HOME:-./}" > /dev/null && pwd -P ) || exit +APP_HOME=$( cd -P "${APP_HOME:-./}" > /dev/null && printf '%s +' "$PWD" ) || exit # Use the maximum available, or set MAX_FD != -1 to use that value. MAX_FD=maximum diff --git a/gradlew.bat b/gradlew.bat index 25da30d..9d21a21 100644 --- a/gradlew.bat +++ b/gradlew.bat @@ -13,6 +13,8 @@ @rem See the License for the specific language governing permissions and @rem limitations under the License. @rem +@rem SPDX-License-Identifier: Apache-2.0 +@rem @if "%DEBUG%"=="" @echo off @rem ##########################################################################