public static INPaymentStatusResolutionResult GetConfirmationRequired(INPaymentStatus valueToConfirm) { #if IOS if (UIKit.UIDevice.CurrentDevice.CheckSystemVersion(11, 0)) #elif WATCH if (WatchKit.WKInterfaceDevice.CurrentDevice.CheckSystemVersion(4, 0)) #endif { return(ConfirmationRequiredWithPaymentStatusToConfirm(valueToConfirm)); } else { return(ConfirmationRequiredWithValueToConfirm(valueToConfirm)); } }
public static INPaymentStatusResolutionResult GetConfirmationRequired(INPaymentStatus valueToConfirm) { #if IOS if (SystemVersion.CheckiOS(11, 0)) #elif WATCH if (SystemVersion.CheckwatchOS(4, 0)) #endif { return(ConfirmationRequiredWithPaymentStatusToConfirm(valueToConfirm)); } else { return(ConfirmationRequiredWithValueToConfirm(valueToConfirm)); } }
public static INPaymentStatusResolutionResult GetSuccess(INPaymentStatus resolvedValue) { #if IOS if (UIKit.UIDevice.CurrentDevice.CheckSystemVersion(11, 0)) #elif WATCH if (WatchKit.WKInterfaceDevice.CurrentDevice.CheckSystemVersion(4, 0)) #endif { return(SuccessWithResolvedPaymentStatus(resolvedValue)); } else { return(SuccessWithResolvedValue(resolvedValue)); } }
public static INPaymentStatusResolutionResult GetSuccess(INPaymentStatus resolvedValue) { #if IOS if (SystemVersion.CheckiOS(11, 0)) #elif WATCH if (SystemVersion.CheckwatchOS(4, 0)) #endif { return(SuccessWithResolvedPaymentStatus(resolvedValue)); } else { return(SuccessWithResolvedValue(resolvedValue)); } }