CL-交易图
2021-07-02 15:58:22 0 举报
流程图
作者其他创作
大纲/内容
return
- Return: response
+ returnOrderId()
Repay Write off
Process
- Order : addOrder
+ addOrder(params)+ rcaTradeApply(params):boolean+ addTrade(params)+ rcLimit(params):boolean+ updateStatus(params)
addTransaction inster tablet_cl_repay_detail
Full repayment
TredeType
billPay qrisPay digitalPay
Refund Write off Description:
Init
- CreditlineTx : apply
+ checkTransaction(referenceId) + addTransaction(params)
Check
- Check : checkOrder
+ checkAmount(amount)+ productSetting(productType)
addTrade inster tablest_cl_trade
transaction is existedtransaction has bills to be repaidrepay card no is existed
refund amount exceedoriginal transaction is out of refund date
Function name
Description
checkTransaction()
Check whether the transaction flow or the original transaction flow exists
addTransaction()
Add transaction flow
userBaseInfo()
Query user information and verify
checkAmount()
Verify whether the transaction amount is legal
rcProductLimit()
Obtain RC limit information and check whether the applied amount is legal
productSetting()
Obtain product configuration information and verify whether the relevant parameters are legal
sendCLModify()
Push messages to users
returnOrderId()
Return business transaction serial number
- CreditlineTx : repay
+ sendCLModify(params)+ returnOrderId()
+ repay(params)+ rcLimit(params):boolean+ updateStatus(params)
refund inster tablest_cl_repayt_cl_refundt_cl_bill_writeoff_detail
Unbilled
addTransaction inster tablet_cl_tx_bill_refundt_cl_tx_digital_refund_detailt_cl_tx_qr_refund
Method Description
Repay Write off Description:
if(ture){ t_cl_trade status:SUCCESS t_cl_order status:LOAN t_cl_tx_xxx_pay status:SUCCESS t_orderflow order_status:LOAN}else{ t_cl_trade status:REJECT t_cl_order_installment deleted:0 t_cl_tx_xxx_pay status:REJECT t_orderflow order_status:RCA_REJECT}
tradeApply
addTransaction inster tablet_cl_tx_bill_payt_cl_tx_digital_payt_cl_tx_qr_pay
Refund Write off
Invalid AmountCredit is not enoughCredit is frozenCredit is not enough Over limitCredit is not setting adminFeeNot Exceeds Start Installment Amt LimitNot have credit record
Partial repayment
+ refund(params)+ addTrade(params)+ rcLimit(params):boolean+ updateStatus(params)
Overdue
transaction is existed
addOrder inster tablest_cl_ordert_cl_order_expandt_cl_order_itemt_cl_order_installmentt_orderflowt_orderflow_detail
WriteoffSubject:
capitalRefundcapitalinterestoverdueInterestadminFeeliquidatedDamages
Flow
apply
checkOrder
Verify order information
addOrder
Processing logic to add business data
response
Return result
repay inster tablest_cl_repayt_cl_bill_writeoff_detail
original transaction is existed
if(ture){ t_cl_trade status:SUCCESS t_cl_repay status:2(SETTLED) t_cl_tx_xxx_refund status:SUCCESS t_orderflow order_status:REFUND}else{ t_cl_trade status:REJECT t_cl_tx_xxx_refund status:REJECT}
refundApply
The bill has not been overdue
Flow Description:
Partial repayment:t_cl_bill_writeoff_detail subject_type:subject t_cl_bill repaid_amount :repayAmountFull repayment:t_cl_bill_writeoff_detail subject_type:subject t_cl_bill repaid_amount :repayAmount status:(SETTLE、OVERDUE_SETTLE)
repayApply
0 条评论
下一页