CashReceiptClient

class CashReceiptClient(apiSecret: String, apiBase: String = "https://api.portone.io", storeId: String? = null) : Closeable

Constructors

Link copied to clipboard
constructor(apiSecret: String, apiBase: String = "https://api.portone.io", storeId: String? = null)

Functions

Link copied to clipboard
@JvmName(name = "cancelCashReceiptByPaymentIdSuspend")
suspend fun cancelCashReceiptByPaymentId(paymentId: String): CancelCashReceiptResponse

현금 영수증 취소

Link copied to clipboard
open override fun close()
Link copied to clipboard
@JvmName(name = "getCashReceiptByPaymentIdSuspend")
suspend fun getCashReceiptByPaymentId(paymentId: String): CashReceipt

현금 영수증 단건 조회

Link copied to clipboard
@JvmName(name = "issueCashReceiptSuspend")
suspend fun issueCashReceipt(paymentId: String, channelKey: String, type: CashReceiptType, orderName: String, currency: Currency, amount: PaymentAmountInput, productType: PaymentProductType? = null, customer: IssueCashReceiptCustomerInput, paidAt: Instant? = null): IssueCashReceiptResponse

현금 영수증 수동 발급