Package-level declarations

Types

Link copied to clipboard
@Serializable
data class CancelCashReceiptResponse(val cancelledAmount: Long, val cancelledAt: @Serializable(with = InstantSerializer::class) Instant)

현금 영수증 취소 성공 응답

Link copied to clipboard
@Serializable
@SerialName(value = "CANCELLED")
data class CancelledCashReceipt(val merchantId: String, val storeId: String, val paymentId: String, val channel: SelectedChannel, val amount: Long, val currency: Currency, val orderName: String, val isManual: Boolean, val issueNumber: String, val issuedAt: @Serializable(with = InstantSerializer::class) Instant, val cancelledAt: @Serializable(with = InstantSerializer::class) Instant, val taxFreeAmount: Long? = null, val vatAmount: Long? = null, val type: CashReceiptType? = null, val pgReceiptId: String? = null, val url: String? = null) : CashReceipt

발급 취소

Link copied to clipboard
@Serializable
sealed interface CashReceipt

현금영수증 내역

Link copied to clipboard
Link copied to clipboard
@Serializable
data class CashReceiptSummary(val issueNumber: String, val url: String, val pgReceiptId: String)

현금영수증 내역

Link copied to clipboard
@Serializable
data class IssueCashReceiptCustomerInput(val identityNumber: String, val name: String? = null, val email: String? = null, val phoneNumber: String? = null)

현금영수증 발급 시 고객 관련 입력 정보

Link copied to clipboard
@Serializable
data class IssueCashReceiptResponse(val cashReceipt: CashReceiptSummary)

현금 영수증 발급 성공 응답

Link copied to clipboard
@Serializable
@SerialName(value = "ISSUED")
data class IssuedCashReceipt(val merchantId: String, val storeId: String, val paymentId: String, val channel: SelectedChannel, val amount: Long, val currency: Currency, val orderName: String, val isManual: Boolean, val issueNumber: String, val issuedAt: @Serializable(with = InstantSerializer::class) Instant, val taxFreeAmount: Long? = null, val vatAmount: Long? = null, val type: CashReceiptType? = null, val pgReceiptId: String? = null, val url: String? = null) : CashReceipt

발급 완료

Link copied to clipboard
@Serializable
@SerialName(value = "ISSUE_FAILED")
data class IssueFailedCashReceipt(val merchantId: String, val storeId: String, val paymentId: String, val orderName: String, val isManual: Boolean, val channel: SelectedChannel? = null) : CashReceipt

발급 실패