//
//  IzipayModuleM.m
//  demoReact
//
//  Created by Enrrique Antonio Pariasca Celiz on 11/06/25.
//

#import <Foundation/Foundation.h>

#import "React/RCTBridgeModule.h"

@interface RCT_EXTERN_MODULE(IzipayModule,NSObject)

RCT_EXTERN_METHOD(launchSdkActivity:(NSString *)environment
                  action:(NSString *)action
              publicKey:(NSString *)publicKey
         transactionId:(NSString *)transactionId
         merchantCode:(NSString *)merchantCode
      facilitatorCode:(NSString *)facilitatorCode
          orderNumber:(NSString *)orderNumber
             currency:(NSString *)currency
               amount:(NSString *)amount
             payMethod:(NSString *)payMethod
               channel:(NSString *)channel
          processType:(NSString *)processType
     merchantBuyerId:(NSString *)merchantBuyerId
             dateTime:(NSString *)dateTime
            cardToken:(NSString *)cardToken
            firstName:(NSString *)firstName
             lastName:(NSString *)lastName
                email:(NSString *)email
         phoneNumber:(NSString *)phoneNumber
               street:(NSString *)street
                 city:(NSString *)city
                state:(NSString *)state
              country:(NSString *)country
          postalCode:(NSString *)postalCode
        documentType:(NSString *)documentType
            document:(NSString *)document
             language:(NSString *)language
  isAmountLabelVisible:(BOOL)isAmountLabelVisible
  isLangControlVisible:(BOOL)isLangControlVisible
    showMessageResult:(BOOL)showMessageResult
                theme:(NSString *)theme
payButtonBackgroundColor:(NSString *)payButtonBackgroundColor
textInputBorderColor:(NSString *)textInputBorderColor
textInputPlaceholderTextColor:(NSString *)textInputPlaceholderTextColor
              logo:(NSString *)logo
                  urlIpn:(NSString *)urlIpn
      presentationMode:(NSString *)presentationMode
            promise:(RCTPromiseResolveBlock)promise
            rejecter:(RCTPromiseRejectBlock)rejecter)

@end

