EasyCancelForm

public final class EasyCancelForm implements Transaction


간편결제취소 폼


### 요청 예
EasyCancelForm(
approvalAmt = 10000,
approvalSerial = 12345678,
approvalDate = 240101,
serviceCode = QrServiceCode.CP_DOMESTIC,
entryMode = QrEntryMode.CP,
ptxId = ptxId
).also { submitForm(it) }

See also

Response

응답 데이터 예시

txType

EASY_CANCEL

data
{
"acquirer": "비씨카드",
"acquirerCode": "AQ00",
"approvalAmt": 30000,
"approvalDateTime": "231114182806",
"approvalSerial": "14182806",
"canceled": false,
"installment": 0,
"issuer": "비씨카드",
"issuerCode": "IS50",
"merchantNumber": "773471647",
"ptxId": "card1234",
"resCode": "0000",
"resMessage": "결제 성공/취소 성공",
"salesSerial": "331800000032",
"taxAmt": 450,
"taxFreeAmt": 0,
"tipAmt": 0,
"trackDataForReceipt": "947950******0463"
}

Constructors

Link copied to clipboard
EasyCancelForm EasyCancelForm(Number approvalAmt, String approvalSerial, String approvalDate)
Link copied to clipboard
EasyCancelForm EasyCancelForm(Number approvalAmt, String approvalSerial, String approvalDate, String ptxId)
Link copied to clipboard
EasyCancelForm EasyCancelForm(Number approvalAmt, String approvalSerial, String approvalDate, QrServiceCode serviceCode, QrEntryMode entryMode, String ptxId)

Functions

Link copied to clipboard
Unit checkApprovalAmt(Number approvalAmt)
Link copied to clipboard
Unit checkApprovalDate(String yyMMdd)
Link copied to clipboard
Unit checkApprovalSerial(String approvalSerial)
Link copied to clipboard
Unit checkFrom(String yyyyMMdd)
Link copied to clipboard
Unit checkInstallment(Integer installment)
Link copied to clipboard
Unit checkPeriod(String from, String to)
Link copied to clipboard
Unit checkTaxFreeAmt(Number taxFreeAmt, Number approvalAmt)
Link copied to clipboard
Unit checkTo(String yyyyMMdd)
Link copied to clipboard
final Number getApprovalAmt()
Link copied to clipboard
final String getApprovalDate()
Link copied to clipboard
final String getApprovalSerial()
Link copied to clipboard
final QrEntryMode getEntryMode()
Link copied to clipboard
final String getPtxId()
Link copied to clipboard
final QrServiceCode getServiceCode()
Link copied to clipboard
String getUri()
Link copied to clipboard
String makeUri(String host, Pair<String, Object> pair)

Properties

Link copied to clipboard
private final Number approvalAmt

Required, 결제금액

Link copied to clipboard
private final String approvalDate

Required, 승인날짜

Link copied to clipboard
private final String approvalSerial

Required, 승인번호

Link copied to clipboard
private final QrEntryMode entryMode

Optional, QR 인증모드

Link copied to clipboard
private final String ptxId

Optional, 개별고유번호

Link copied to clipboard
private final QrServiceCode serviceCode

Optional, 서비스코드

Link copied to clipboard
private final String uri