EasyApprovalForm

public final class EasyApprovalForm implements Transaction


간편결제승인 폼


### 요청 예
EasyApprovalForm(
approvalAmt = 10000,
taxAmt = 1000,
tipAmt = 100,
taxFreeAmt = 0,
serviceCode = QrServiceCode.CP_DOMESTIC,
entryMode = QrEntryMode.CP,
ptxId = ptxId
).also { submitForm(it) }

See also

Response

응답 데이터 예시

txType

EASY_APPROVAL

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
EasyApprovalForm EasyApprovalForm(Number approvalAmt, Number taxAmt)
Link copied to clipboard
EasyApprovalForm EasyApprovalForm(Number approvalAmt, Number taxAmt, Integer installment)
Link copied to clipboard
EasyApprovalForm EasyApprovalForm(Number approvalAmt, Number taxAmt, String ptxId)
Link copied to clipboard
EasyApprovalForm EasyApprovalForm(Number approvalAmt, Number taxAmt, Integer installment, String ptxId)
Link copied to clipboard
EasyApprovalForm EasyApprovalForm(Number approvalAmt, Number taxAmt, Number tipAmt, Number taxFreeAmt)
Link copied to clipboard
EasyApprovalForm EasyApprovalForm(Number approvalAmt, Number taxAmt, Number tipAmt, Number taxFreeAmt, String ptxId)
Link copied to clipboard
EasyApprovalForm EasyApprovalForm(Number approvalAmt, Number taxAmt, Number tipAmt, Number taxFreeAmt, 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 QrEntryMode getEntryMode()
Link copied to clipboard
final String getPtxId()
Link copied to clipboard
final QrServiceCode getServiceCode()
Link copied to clipboard
final Number getTaxAmt()
Link copied to clipboard
final Number getTaxFreeAmt()
Link copied to clipboard
final Number getTipAmt()
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 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 Number taxAmt

Required, 부가세

Link copied to clipboard
private final Number taxFreeAmt

Optional, 비과세

Link copied to clipboard
private final Number tipAmt

Optional, 봉사료(팁)

Link copied to clipboard
private final String uri