@be-link/ecommerce-promotion-service-node-sdk 0.1.39 → 0.1.41
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.
|
@@ -239,14 +239,21 @@ export declare namespace Service {
|
|
|
239
239
|
discountAmount: number;
|
|
240
240
|
endtime: number;
|
|
241
241
|
}[];
|
|
242
|
+
/** 选中券码集合(订单侧使用,包含单品券+订单券的券码) */
|
|
243
|
+
selectedCouponCodes: string[];
|
|
242
244
|
/** 可用单品券模版ID列表 */
|
|
243
245
|
availableItemCouponTemplates: string[];
|
|
244
246
|
/** 订单券可用性信息 */
|
|
245
247
|
orderCouponsAvailability: {
|
|
246
248
|
/** 可用的订单券模板ID列表 */
|
|
247
249
|
available: string[];
|
|
248
|
-
/**
|
|
249
|
-
unavailable:
|
|
250
|
+
/** 不可用的订单券模板及原因 */
|
|
251
|
+
unavailable: Array<{
|
|
252
|
+
/** 券模板ID */
|
|
253
|
+
couponId: string;
|
|
254
|
+
/** 不可用原因 */
|
|
255
|
+
tips: string;
|
|
256
|
+
}>;
|
|
250
257
|
};
|
|
251
258
|
/** 校验结果(仅在用户选择场景下有值) */
|
|
252
259
|
validation?: ValidateSelectedCouponResult;
|