/**
 * 结账错误类型
 */
export var CheckoutErrorType = /*#__PURE__*/function (CheckoutErrorType) {
  CheckoutErrorType["OrderCreationFailed"] = "order_creation_failed";
  CheckoutErrorType["PaymentFailed"] = "payment_failed";
  CheckoutErrorType["ValidationFailed"] = "validation_failed";
  CheckoutErrorType["NetworkError"] = "network_error";
  CheckoutErrorType["UnknownError"] = "unknown_error";
  return CheckoutErrorType;
}({});

/**
 * 结账错误信息
 */

/**
 * 结账初始化参数
 */

/**
 * 购物车小计项
 */

/**
 * 从购物车小计提取的金额信息
 */

/**
 * 本地订单创建参数
 */

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

/**
 * 本地订单数据结构 (基于 appointmentDemo.json)
 */

/**
 * 本地预订项
 */

/**
 * 本地商品信息
 */

/**
 * 本地折扣项
 */

/**
 * 本地资源项
 */

/**
 * 结账事件钩子
 */
export var CheckoutHooks = /*#__PURE__*/function (CheckoutHooks) {
  CheckoutHooks["OnCheckoutInitialized"] = "checkout:onInitialized";
  CheckoutHooks["OnOrderCreated"] = "checkout:onOrderCreated";
  CheckoutHooks["OnOrderCreationFailed"] = "checkout:onOrderCreationFailed";
  CheckoutHooks["OnPaymentStarted"] = "checkout:onPaymentStarted";
  CheckoutHooks["OnPaymentSuccess"] = "checkout:onPaymentSuccess";
  CheckoutHooks["OnPaymentFailed"] = "checkout:onPaymentFailed";
  CheckoutHooks["OnCheckoutCompleted"] = "checkout:onCompleted";
  CheckoutHooks["OnCheckoutCancelled"] = "checkout:onCancelled";
  CheckoutHooks["OnError"] = "checkout:onError";
  CheckoutHooks["OnStateAmountChanged"] = "checkout:onStateAmountChanged";
  CheckoutHooks["OnBalanceDueAmountChanged"] = "checkout:onBalanceDueAmountChanged";
  CheckoutHooks["OnOrderPaymentCompleted"] = "checkout:onOrderPaymentCompleted";
  CheckoutHooks["OnOrderSynced"] = "checkout:onOrderSynced";
  CheckoutHooks["OnOrderSyncFailed"] = "checkout:onOrderSyncFailed";
  CheckoutHooks["OnOrderNoteChanged"] = "checkout:onOrderNoteChanged";
  CheckoutHooks["OnShopDiscountChanged"] = "checkout:onShopDiscountChanged";
  CheckoutHooks["OnOrderCancelled"] = "checkout:onOrderCancelled";
  CheckoutHooks["OnOrderCleared"] = "checkout:onOrderCleared";
  CheckoutHooks["OnOrderSubmitStart"] = "checkout:onOrderSubmitStart";
  CheckoutHooks["OnOrderSubmitEnd"] = "checkout:onOrderSubmitEnd";
  CheckoutHooks["OnWalletDataInitialized"] = "checkout:onWalletDataInitialized";
  CheckoutHooks["OnPaymentItemAdded"] = "checkout:onPaymentItemAdded";
  return CheckoutHooks;
}({});

/**
 * 结账状态数据
 */

/**
 * 当前订单基础信息
 */

/**
 * 结账解决方案 API 接口
 */

/**
 * 发送客户支付链接参数
 */

/**
 * 结账事件数据类型
 */