CashReceiptApprovalForm

public final class CashReceiptApprovalForm implements Transaction, CashForm


현금영수증발행 폼


요청 예

CashReceiptApprovalForm(
approvalAmt = 10000,
taxAmt = 1000,
cashReceiptType = CashReceiptType.CUSTOMER,
cashTrackData = "01012345678"
).also { submitForm(it) }

See also

Response

응답 데이터 예시

txType

CASH_RECEIPT_APPROVAL

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
CashReceiptApprovalForm CashReceiptApprovalForm(Number approvalAmt, Number taxAmt, Integer cashReceiptType, String cashTrackData)
Link copied to clipboard
CashReceiptApprovalForm CashReceiptApprovalForm(Number approvalAmt, Number taxAmt, Integer cashReceiptType, String cashTrackData, String ptxId)
Link copied to clipboard
CashReceiptApprovalForm CashReceiptApprovalForm(Number approvalAmt, Number taxAmt, String cashReceiptType, String cashTrackData)
Link copied to clipboard
CashReceiptApprovalForm CashReceiptApprovalForm(Number approvalAmt, Number taxAmt, String cashReceiptType, String cashTrackData, String ptxId)
Link copied to clipboard
CashReceiptApprovalForm CashReceiptApprovalForm(Number approvalAmt, Number taxAmt, CashReceiptType cashReceiptType, String cashTrackData)
Link copied to clipboard
CashReceiptApprovalForm CashReceiptApprovalForm(Number approvalAmt, Number taxAmt, CashReceiptType cashReceiptType, String cashTrackData, String ptxId)
Link copied to clipboard
CashReceiptApprovalForm CashReceiptApprovalForm(Number approvalAmt, Number taxAmt, Number tipAmt, Number taxFreeAmt, 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 CashReceiptType getCashReceiptType()
Link copied to clipboard
final String getCashTrackData()
Link copied to clipboard
final String getPtxId()
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)
Link copied to clipboard
final Unit setCashTrackData(String cashTrackData)

Properties

Link copied to clipboard
private final Number approvalAmt

Required, 승인금액

Link copied to clipboard
private final CashReceiptType cashReceiptType

Required, 현금영수증 발급타입

Link copied to clipboard
private String cashTrackData

Required, 현금영수증 발급번호

Link copied to clipboard
private final String ptxId

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