@pisell/pisellos 0.0.242 → 0.0.244
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/solution/Checkout/index.d.ts +12 -0
- package/dist/solution/Checkout/index.js +392 -250
- package/dist/solution/Checkout/types.d.ts +39 -0
- package/dist/solution/Checkout/types.js +2 -0
- package/lib/solution/Checkout/index.d.ts +12 -0
- package/lib/solution/Checkout/index.js +87 -4
- package/lib/solution/Checkout/types.d.ts +39 -0
- package/lib/solution/Checkout/types.js +2 -0
- package/package.json +1 -1
|
@@ -160,6 +160,14 @@ export declare class CheckoutImpl extends BaseModule implements Module, Checkout
|
|
|
160
160
|
* @returns 当前设置的自定义支付金额
|
|
161
161
|
*/
|
|
162
162
|
getStateAmount(): string;
|
|
163
|
+
/**
|
|
164
|
+
* 获取系统计算的待付金额(只读)
|
|
165
|
+
*
|
|
166
|
+
* 此方法返回系统内部计算的实际待付金额,不允许外部修改
|
|
167
|
+
*
|
|
168
|
+
* @returns 当前系统计算的待付金额
|
|
169
|
+
*/
|
|
170
|
+
getBalanceDueAmount(): string;
|
|
163
171
|
/**
|
|
164
172
|
* 刷新 stateAmount 为当前剩余未支付金额
|
|
165
173
|
*
|
|
@@ -391,6 +399,10 @@ export declare class CheckoutImpl extends BaseModule implements Module, Checkout
|
|
|
391
399
|
* 计算剩余未支付金额(从 Payment 模块获取最新数据)
|
|
392
400
|
*/
|
|
393
401
|
private calculateRemainingAmountAsync;
|
|
402
|
+
/**
|
|
403
|
+
* 更新 balanceDueAmount 为当前剩余未支付金额(系统内部计算)
|
|
404
|
+
*/
|
|
405
|
+
private updateBalanceDueAmount;
|
|
394
406
|
/**
|
|
395
407
|
* 更新 stateAmount 为当前剩余未支付金额
|
|
396
408
|
*/
|