CardCancelForm

public final class CardCancelForm implements Transaction, CardForm


신용승인취소 폼


요청 예

CardCancelForm(
approvalAmt = 10000,
approvalSerial = 12345678,
approvalDate = 240101,
ptxId = ptxId
).also { submitForm(it) }

See also

Response

응답 데이터 예시

txType

CARD_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
CardCancelForm CardCancelForm(String approvalDate, String approvalSerial, Number approvalAmt)
Link copied to clipboard
CardCancelForm CardCancelForm(Number approvalAmt, String approvalSerial, String approvalDate, 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 String getPtxId()
Link copied to clipboard
String getTrackData(String cardNo, String cardValidity)
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, 승인일자 (yyMMdd)

Link copied to clipboard
private final String approvalSerial

Required, 승인번호

Link copied to clipboard
private final String ptxId

Optional, 개별고유번호

Link copied to clipboard
private final String uri