CashReceiptCancelForm

public final class CashReceiptCancelForm implements Transaction, CashForm


현금영수증취소 폼


### 요청 예
CashReceiptCancelForm(
approvalAmt = 10000,
approvalSerial = 12345678,
approvalDate = 240101,
cashReceiptType = CashReceiptType.CUSTOMER,
cashTrackData = "01012345678"
).also { submitForm(it) }

See also

Response

응답 데이터 예시

txType

CASH_RECEIPT_CANCEL

data
{
"approvalAmt": 3000,
"approvalDateTime": "231114184407",
"approvalSerial": "098000072",
"canceled": false,
"cashReceiptType": "1",
"ptxId": "cash12345",
"receiptTitle": "현금(소득공제) / 현금취소(거래취소)",
"resCode": "0000",
"resMessage": "결제 성공/결제 취소",
"salesSerial": "331800000035",
"taxAmt": 200,
"taxFreeAmt": 0,
"tipAmt": 0,
"trackDataForReceipt": "010****5678"
}

Constructors

Link copied to clipboard
CashReceiptCancelForm CashReceiptCancelForm(Number approvalAmt, String approvalSerial, String approvalDate, Integer cashReceiptType, String ptxId)
Link copied to clipboard
CashReceiptCancelForm CashReceiptCancelForm(Number approvalAmt, String approvalSerial, String approvalDate, String cashReceiptType, String ptxId)
Link copied to clipboard
CashReceiptCancelForm CashReceiptCancelForm(Number approvalAmt, String approvalSerial, String approvalDate, Integer cashReceiptType, String cashTrackData, String ptxId)
Link copied to clipboard
CashReceiptCancelForm CashReceiptCancelForm(Number approvalAmt, String approvalSerial, String approvalDate, String cashReceiptType, String cashTrackData, String ptxId)
Link copied to clipboard
CashReceiptCancelForm CashReceiptCancelForm(Number approvalAmt, String approvalSerial, String approvalDate, CashReceiptType cashReceiptType, String cashTrackData)
Link copied to clipboard
CashReceiptCancelForm CashReceiptCancelForm(Number approvalAmt, String approvalSerial, String approvalDate, CashReceiptType cashReceiptType, String cashTrackData, 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 checkCashReceiptType(String type)
Unit checkCashReceiptType(CashReceiptType type, String cashTrackData)
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 CashReceiptType getCashReceiptType()
Link copied to clipboard
final String getCashTrackData()
Link copied to clipboard
final String getPtxId()
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 CashReceiptType cashReceiptType

Required, 현금영수증 발급타입

Link copied to clipboard
private final String cashTrackData

Required, 현금영수증 발급번호

Link copied to clipboard
private final String ptxId

Optional, 개별고유번호

Link copied to clipboard
private final String uri