Project

General

Profile

Actions

Issue #844

closed
RA

Requirement #841: Parking APS:自動繳費機後端 API 與五家銀行折抵

問題:台新點數比例折抵的精準扣點與歸零邊界

Issue #844: 問題:台新點數比例折抵的精準扣點與歸零邊界

Added by Redmine Admin 5 days ago. Updated 5 days ago.

Status:
Closed
Priority:
P1-High
Assignee:
-
Category:
Business Rules
Start date:
10/20/2026
Due date:
10/20/2026
% Done:

100%

Estimated time:
Story Points:

Description

待確認

每 100 點折 6 元,但帳單金額不一定為 6 的倍數。需要避免多扣點數,
同時允許點數足以歸零時将剩餘金額折至 0 元。

決策方向

  • 以 1 點 = 0.06 元比例計算。
  • 折扣金額採整數向下。
  • 可歸零時使用 ceil(總金額 × 100 / 6) 點。
  • 不足時只扣實際產生折扣的點數。
Actions

Also available in: PDF Atom