/**
 * 支付相关类型定义
 */

/**
 * 支付方式枚举
 */
export var PaymentMethodType = /*#__PURE__*/function (PaymentMethodType) {
  PaymentMethodType["Cash"] = "CASHMANUAL";
  PaymentMethodType["Eftpos"] = "EFTPOS";
  PaymentMethodType["Wallet"] = "WALLET";
  return PaymentMethodType;
}({});

/**
 * 支付状态枚举
 */
export var PaymentStatus = /*#__PURE__*/function (PaymentStatus) {
  PaymentStatus["Processing"] = "payment_processing";
  PaymentStatus["Sync"] = "sync";
  PaymentStatus["PartiallyPaid"] = "partially_paid";
  PaymentStatus["Finished"] = "finish";
  PaymentStatus["Voided"] = "voided";
  return PaymentStatus;
}({});

/**
 * 任务状态枚举
 */
export var TaskRunStatus = /*#__PURE__*/function (TaskRunStatus) {
  TaskRunStatus["Pending"] = "pending";
  TaskRunStatus["Running"] = "running";
  TaskRunStatus["Success"] = "success";
  TaskRunStatus["Failed"] = "failed";
  return TaskRunStatus;
}({});

/**
 * 舍入规则枚举
 */
export var RoundingRule = /*#__PURE__*/function (RoundingRule) {
  RoundingRule["Standard"] = "standard_rounding";
  RoundingRule["StandardDown"] = "standard_down";
  RoundingRule["AlwaysUp"] = "always_up";
  RoundingRule["AlwaysDown"] = "always_down";
  return RoundingRule;
}({});

/**
 * 舍入结果
 */

/**
 * 舍入间隔枚举
 */
export var RoundingInterval = /*#__PURE__*/function (RoundingInterval) {
  RoundingInterval[RoundingInterval["Interval005"] = 0.05] = "Interval005";
  RoundingInterval[RoundingInterval["Interval01"] = 0.1] = "Interval01";
  RoundingInterval[RoundingInterval["Interval05"] = 0.5] = "Interval05";
  RoundingInterval[RoundingInterval["Interval1"] = 1] = "Interval1";
  return RoundingInterval;
}({});

/**
 * 支付方式信息
 */

/**
 * 支付项
 */

/**
 * 订单信息
 */

/**
 * 支付订单（简化版，仅保留支付相关信息）
 */

/**
 * 支付状态
 */

/**
 * 推送订单参数（简化版）
 */

/**
 * 更新订单参数
 */

/**
 * 支付项输入类型（允许 amount 为数字）
 */

/**
 * 推送支付项参数
 */

/**
 * 更新支付项参数中的字段类型（允许 amount 为数字）
 */

/**
 * 更新支付项参数
 */

/**
 * 删除支付项参数
 */

/**
 * 现金支付接口
 */

/**
 * Eftpos支付接口
 */

/**
 * 钱包支付接口
 */

/**
 * 支付模块API接口
 */

/**
 * 订单变化事件数据
 */

/**
 * 支付方式变化事件数据
 */

/**
 * 支付同步错误事件数据
 */

/**
 * 支付同步成功事件数据
 */

/**
 * 钱包推荐列表更新事件数据
 */

/**
 * 用户识别码列表更新事件数据
 */

/**
 * 钱包缓存清除事件数据
 */

/**
 * 搜索识别码完成事件数据
 */

/**
 * 钱包初始化开始事件数据
 */

/**
 * 钱包初始化完成事件数据
 */

/**
 * 钱包初始化失败事件数据
 */

/**
 * 钱包支付事件枚举
 */
export var WalletPassHooks = /*#__PURE__*/function (WalletPassHooks) {
  WalletPassHooks["OnWalletRecommendListUpdated"] = "wallet:onWalletRecommendListUpdated";
  WalletPassHooks["OnWalletRecommendListCleared"] = "wallet:onWalletRecommendListCleared";
  WalletPassHooks["OnUserIdentificationCodesUpdated"] = "wallet:onUserIdentificationCodesUpdated";
  WalletPassHooks["OnUserIdentificationCodesCleared"] = "wallet:onUserIdentificationCodesCleared";
  WalletPassHooks["OnWalletCacheCleared"] = "wallet:onWalletCacheCleared";
  WalletPassHooks["OnSearchIdentificationCodeCompleted"] = "wallet:onSearchIdentificationCodeCompleted";
  WalletPassHooks["OnWalletInitializationStarted"] = "wallet:onWalletInitializationStarted";
  WalletPassHooks["OnWalletInitializationCompleted"] = "wallet:onWalletInitializationCompleted";
  WalletPassHooks["OnWalletInitializationFailed"] = "wallet:onWalletInitializationFailed";
  return WalletPassHooks;
}({});

/**
 * 支付钩子事件（统一接口）
 */
export var PaymentHooks = /*#__PURE__*/function (PaymentHooks) {
  PaymentHooks["OnPaymentMethodsLoaded"] = "payment:onPaymentMethodsLoaded";
  PaymentHooks["OnPaymentMethodsChanged"] = "payment:onPaymentMethodsChanged";
  PaymentHooks["OnOrderChanged"] = "payment:onOrderChanged";
  PaymentHooks["OnOrderAdded"] = "payment:onOrderAdded";
  PaymentHooks["OnOrderUpdated"] = "payment:onOrderUpdated";
  PaymentHooks["OnOrderDeleted"] = "payment:onOrderDeleted";
  PaymentHooks["OnPaymentAdded"] = "payment:onPaymentAdded";
  PaymentHooks["OnPaymentUpdated"] = "payment:onPaymentUpdated";
  PaymentHooks["OnPaymentDeleted"] = "payment:onPaymentDeleted";
  PaymentHooks["OnPaymentSubmitted"] = "payment:onPaymentSubmitted";
  PaymentHooks["OnOrderAmountChanged"] = "payment:onOrderAmountChanged";
  PaymentHooks["OnPaymentSyncError"] = "payment:onPaymentSyncError";
  PaymentHooks["OnPaymentSyncSuccess"] = "payment:onPaymentSyncSuccess";
  PaymentHooks["OnWalletRecommendListUpdated"] = "wallet:onWalletRecommendListUpdated";
  PaymentHooks["OnWalletRecommendListCleared"] = "wallet:onWalletRecommendListCleared";
  PaymentHooks["OnUserIdentificationCodesUpdated"] = "wallet:onUserIdentificationCodesUpdated";
  PaymentHooks["OnUserIdentificationCodesCleared"] = "wallet:onUserIdentificationCodesCleared";
  PaymentHooks["OnWalletCacheCleared"] = "wallet:onWalletCacheCleared";
  PaymentHooks["OnSearchIdentificationCodeCompleted"] = "wallet:onSearchIdentificationCodeCompleted";
  return PaymentHooks;
}({});

/**
 * 钱包推荐扣款请求参数
 */

/**
 * 钱包初始化业务数据接口
 * 用于生成钱包API参数的必要业务信息
 */

/**
 * 查询用户识别码列表请求参数
 */

/**
 * 钱包推荐扣款响应数据
 */

/**
 * 用户识别码列表响应数据
 */

/**
 * 用户识别码项目
 */

/**
 * 搜索识别码请求参数
 * 基于 WalletDeductionRecommendParams 并增加 code 字段
 */

/**
 * 搜索识别码响应数据
 */

/**
 * 搜索识别码结果类型
 */

/**
 * 搜索识别码项目
 */

/**
 * 钱包推荐项目
 */