AlipayHostApiImpl.ets 427 Bytes
import { AlipayHostApi, AliPayResultCode } from '../pigeon/AlipayApi';

/**
 * Alipay host implementation for HarmonyOS.
 *
 * Currently a stub – replace with the real Alipay HarmonyOS SDK call
 * once the SDK is available.
 */
export class AlipayHostApiImpl extends AlipayHostApi {
  launchAliPay(_prepayData: string): AliPayResultCode {
    // TODO: call Alipay HarmonyOS SDK
    return AliPayResultCode.UNSUPPORTED;
  }
}