/**
 * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen).
 *
 * Do not edit this file as changes may cause incorrect behavior and will be lost
 * once the code is regenerated.
 *
 * @generated by codegen project: GenerateModuleObjCpp
 *
 * We create an umbrella header (and corresponding implementation) here since
 * Cxx compilation in BUCK has a limitation: source-code producing genrule()s
 * must have a single output. More files => more genrule()s => slower builds.
 */

#import "RNSdkPaymentModuleSpec.h"


@implementation NativeSdkPaymentModuleSpecBase


- (void)setEventEmitterCallback:(EventEmitterCallbackWrapper *)eventEmitterCallbackWrapper
{
  _eventEmitterCallback = std::move(eventEmitterCallbackWrapper->_eventEmitterCallback);
}
@end


namespace facebook::react {
  
    static facebook::jsi::Value __hostFunction_NativeSdkPaymentModuleSpecJSI_getFormTokenVersion(facebook::jsi::Runtime& rt, TurboModule &turboModule, const facebook::jsi::Value* args, size_t count) {
      return static_cast<ObjCTurboModule&>(turboModule).invokeObjCMethod(rt, NumberKind, "getFormTokenVersion", @selector(getFormTokenVersion), args, count);
    }

    static facebook::jsi::Value __hostFunction_NativeSdkPaymentModuleSpecJSI_getSDKVersion(facebook::jsi::Runtime& rt, TurboModule &turboModule, const facebook::jsi::Value* args, size_t count) {
      return static_cast<ObjCTurboModule&>(turboModule).invokeObjCMethod(rt, StringKind, "getSDKVersion", @selector(getSDKVersion), args, count);
    }

    static facebook::jsi::Value __hostFunction_NativeSdkPaymentModuleSpecJSI_initialize(facebook::jsi::Runtime& rt, TurboModule &turboModule, const facebook::jsi::Value* args, size_t count) {
      return static_cast<ObjCTurboModule&>(turboModule).invokeObjCMethod(rt, PromiseKind, "initialize", @selector(initialize:options:resolve:reject:), args, count);
    }

    static facebook::jsi::Value __hostFunction_NativeSdkPaymentModuleSpecJSI_process(facebook::jsi::Runtime& rt, TurboModule &turboModule, const facebook::jsi::Value* args, size_t count) {
      return static_cast<ObjCTurboModule&>(turboModule).invokeObjCMethod(rt, PromiseKind, "process", @selector(process:options:resolve:reject:), args, count);
    }

    static facebook::jsi::Value __hostFunction_NativeSdkPaymentModuleSpecJSI_cancelProcess(facebook::jsi::Runtime& rt, TurboModule &turboModule, const facebook::jsi::Value* args, size_t count) {
      return static_cast<ObjCTurboModule&>(turboModule).invokeObjCMethod(rt, VoidKind, "cancelProcess", @selector(cancelProcess), args, count);
    }

  NativeSdkPaymentModuleSpecJSI::NativeSdkPaymentModuleSpecJSI(const ObjCTurboModule::InitParams &params)
    : ObjCTurboModule(params) {
      
        methodMap_["getFormTokenVersion"] = MethodMetadata {0, __hostFunction_NativeSdkPaymentModuleSpecJSI_getFormTokenVersion};
        
        
        methodMap_["getSDKVersion"] = MethodMetadata {0, __hostFunction_NativeSdkPaymentModuleSpecJSI_getSDKVersion};
        
        
        methodMap_["initialize"] = MethodMetadata {2, __hostFunction_NativeSdkPaymentModuleSpecJSI_initialize};
        
        
        methodMap_["process"] = MethodMetadata {2, __hostFunction_NativeSdkPaymentModuleSpecJSI_process};
        
        
        methodMap_["cancelProcess"] = MethodMetadata {0, __hostFunction_NativeSdkPaymentModuleSpecJSI_cancelProcess};
        
  }
} // namespace facebook::react
