react-native-test-payment-gateway-new 0.1.1 → 0.1.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/TestPaymentGatewayNew.podspec +1 -0
- package/ios/CCAvenueSDK.xcframework/Info.plist +43 -0
- package/ios/CCAvenueSDK.xcframework/ios-arm64/CCAvenueSDK.framework/CCAvenueSDK +0 -0
- package/ios/CCAvenueSDK.xcframework/ios-arm64/CCAvenueSDK.framework/Headers/CCAvenueSDK-Swift.h +452 -0
- package/ios/CCAvenueSDK.xcframework/ios-arm64/CCAvenueSDK.framework/Headers/CCAvenueSDK.h +19 -0
- package/ios/CCAvenueSDK.xcframework/ios-arm64/CCAvenueSDK.framework/Info.plist +0 -0
- package/ios/CCAvenueSDK.xcframework/ios-arm64/CCAvenueSDK.framework/Modules/CCAvenueSDK.swiftmodule/arm64-apple-ios.abi.json +17375 -0
- package/ios/CCAvenueSDK.xcframework/ios-arm64/CCAvenueSDK.framework/Modules/CCAvenueSDK.swiftmodule/arm64-apple-ios.private.swiftinterface +392 -0
- package/ios/CCAvenueSDK.xcframework/ios-arm64/CCAvenueSDK.framework/Modules/CCAvenueSDK.swiftmodule/arm64-apple-ios.swiftdoc +0 -0
- package/ios/CCAvenueSDK.xcframework/ios-arm64/CCAvenueSDK.framework/Modules/CCAvenueSDK.swiftmodule/arm64-apple-ios.swiftinterface +392 -0
- package/ios/CCAvenueSDK.xcframework/ios-arm64/CCAvenueSDK.framework/Modules/module.modulemap +11 -0
- package/ios/CCAvenueSDK.xcframework/ios-arm64/CCAvenueSDK.framework/getUpiOptions.json +155 -0
- package/ios/CCAvenueSDK.xcframework/ios-x86_64-simulator/CCAvenueSDK.framework/CCAvenueSDK +0 -0
- package/ios/CCAvenueSDK.xcframework/ios-x86_64-simulator/CCAvenueSDK.framework/Headers/CCAvenueSDK-Swift.h +452 -0
- package/ios/CCAvenueSDK.xcframework/ios-x86_64-simulator/CCAvenueSDK.framework/Headers/CCAvenueSDK.h +19 -0
- package/ios/CCAvenueSDK.xcframework/ios-x86_64-simulator/CCAvenueSDK.framework/Info.plist +0 -0
- package/ios/CCAvenueSDK.xcframework/ios-x86_64-simulator/CCAvenueSDK.framework/Modules/CCAvenueSDK.swiftmodule/x86_64-apple-ios-simulator.abi.json +17375 -0
- package/ios/CCAvenueSDK.xcframework/ios-x86_64-simulator/CCAvenueSDK.framework/Modules/CCAvenueSDK.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface +392 -0
- package/ios/CCAvenueSDK.xcframework/ios-x86_64-simulator/CCAvenueSDK.framework/Modules/CCAvenueSDK.swiftmodule/x86_64-apple-ios-simulator.swiftdoc +0 -0
- package/ios/CCAvenueSDK.xcframework/ios-x86_64-simulator/CCAvenueSDK.framework/Modules/CCAvenueSDK.swiftmodule/x86_64-apple-ios-simulator.swiftinterface +392 -0
- package/ios/CCAvenueSDK.xcframework/ios-x86_64-simulator/CCAvenueSDK.framework/Modules/module.modulemap +11 -0
- package/ios/CCAvenueSDK.xcframework/ios-x86_64-simulator/CCAvenueSDK.framework/_CodeSignature/CodeResources +201 -0
- package/ios/CCAvenueSDK.xcframework/ios-x86_64-simulator/CCAvenueSDK.framework/getUpiOptions.json +155 -0
- package/ios/CCavenueModule.swift +227 -0
- package/ios/TestPaymentGatewayNew.mm +64 -8
- package/package.json +1 -1
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
|
3
|
+
<plist version="1.0">
|
|
4
|
+
<dict>
|
|
5
|
+
<key>AvailableLibraries</key>
|
|
6
|
+
<array>
|
|
7
|
+
<dict>
|
|
8
|
+
<key>BinaryPath</key>
|
|
9
|
+
<string>CCAvenueSDK.framework/CCAvenueSDK</string>
|
|
10
|
+
<key>LibraryIdentifier</key>
|
|
11
|
+
<string>ios-arm64</string>
|
|
12
|
+
<key>LibraryPath</key>
|
|
13
|
+
<string>CCAvenueSDK.framework</string>
|
|
14
|
+
<key>SupportedArchitectures</key>
|
|
15
|
+
<array>
|
|
16
|
+
<string>arm64</string>
|
|
17
|
+
</array>
|
|
18
|
+
<key>SupportedPlatform</key>
|
|
19
|
+
<string>ios</string>
|
|
20
|
+
</dict>
|
|
21
|
+
<dict>
|
|
22
|
+
<key>BinaryPath</key>
|
|
23
|
+
<string>CCAvenueSDK.framework/CCAvenueSDK</string>
|
|
24
|
+
<key>LibraryIdentifier</key>
|
|
25
|
+
<string>ios-x86_64-simulator</string>
|
|
26
|
+
<key>LibraryPath</key>
|
|
27
|
+
<string>CCAvenueSDK.framework</string>
|
|
28
|
+
<key>SupportedArchitectures</key>
|
|
29
|
+
<array>
|
|
30
|
+
<string>x86_64</string>
|
|
31
|
+
</array>
|
|
32
|
+
<key>SupportedPlatform</key>
|
|
33
|
+
<string>ios</string>
|
|
34
|
+
<key>SupportedPlatformVariant</key>
|
|
35
|
+
<string>simulator</string>
|
|
36
|
+
</dict>
|
|
37
|
+
</array>
|
|
38
|
+
<key>CFBundlePackageType</key>
|
|
39
|
+
<string>XFWK</string>
|
|
40
|
+
<key>XCFrameworkFormatVersion</key>
|
|
41
|
+
<string>1.0</string>
|
|
42
|
+
</dict>
|
|
43
|
+
</plist>
|
package/ios/CCAvenueSDK.xcframework/ios-arm64/CCAvenueSDK.framework/Headers/CCAvenueSDK-Swift.h
ADDED
|
@@ -0,0 +1,452 @@
|
|
|
1
|
+
#if 0
|
|
2
|
+
#elif defined(__arm64__) && __arm64__
|
|
3
|
+
// Generated by Apple Swift version 6.2 effective-5.10 (swiftlang-6.2.0.19.9 clang-1700.3.19.1)
|
|
4
|
+
#ifndef CCAVENUESDK_SWIFT_H
|
|
5
|
+
#define CCAVENUESDK_SWIFT_H
|
|
6
|
+
#pragma clang diagnostic push
|
|
7
|
+
#pragma clang diagnostic ignored "-Wgcc-compat"
|
|
8
|
+
|
|
9
|
+
#if !defined(__has_include)
|
|
10
|
+
# define __has_include(x) 0
|
|
11
|
+
#endif
|
|
12
|
+
#if !defined(__has_attribute)
|
|
13
|
+
# define __has_attribute(x) 0
|
|
14
|
+
#endif
|
|
15
|
+
#if !defined(__has_feature)
|
|
16
|
+
# define __has_feature(x) 0
|
|
17
|
+
#endif
|
|
18
|
+
#if !defined(__has_warning)
|
|
19
|
+
# define __has_warning(x) 0
|
|
20
|
+
#endif
|
|
21
|
+
|
|
22
|
+
#if __has_include(<swift/objc-prologue.h>)
|
|
23
|
+
# include <swift/objc-prologue.h>
|
|
24
|
+
#endif
|
|
25
|
+
|
|
26
|
+
#pragma clang diagnostic ignored "-Wauto-import"
|
|
27
|
+
#if defined(__OBJC__)
|
|
28
|
+
#include <Foundation/Foundation.h>
|
|
29
|
+
#endif
|
|
30
|
+
#if defined(__cplusplus)
|
|
31
|
+
#include <cstdint>
|
|
32
|
+
#include <cstddef>
|
|
33
|
+
#include <cstdbool>
|
|
34
|
+
#include <cstring>
|
|
35
|
+
#include <stdlib.h>
|
|
36
|
+
#include <new>
|
|
37
|
+
#include <type_traits>
|
|
38
|
+
#else
|
|
39
|
+
#include <stdint.h>
|
|
40
|
+
#include <stddef.h>
|
|
41
|
+
#include <stdbool.h>
|
|
42
|
+
#include <string.h>
|
|
43
|
+
#endif
|
|
44
|
+
#if defined(__cplusplus)
|
|
45
|
+
#pragma clang diagnostic push
|
|
46
|
+
#pragma clang diagnostic ignored "-Wnon-modular-include-in-framework-module"
|
|
47
|
+
#if defined(__arm64e__) && __has_include(<ptrauth.h>)
|
|
48
|
+
# include <ptrauth.h>
|
|
49
|
+
#else
|
|
50
|
+
#pragma clang diagnostic push
|
|
51
|
+
#pragma clang diagnostic ignored "-Wreserved-macro-identifier"
|
|
52
|
+
# ifndef __ptrauth_swift_value_witness_function_pointer
|
|
53
|
+
# define __ptrauth_swift_value_witness_function_pointer(x)
|
|
54
|
+
# endif
|
|
55
|
+
# ifndef __ptrauth_swift_class_method_pointer
|
|
56
|
+
# define __ptrauth_swift_class_method_pointer(x)
|
|
57
|
+
# endif
|
|
58
|
+
#pragma clang diagnostic pop
|
|
59
|
+
#endif
|
|
60
|
+
#pragma clang diagnostic pop
|
|
61
|
+
#endif
|
|
62
|
+
|
|
63
|
+
#if !defined(SWIFT_TYPEDEFS)
|
|
64
|
+
# define SWIFT_TYPEDEFS 1
|
|
65
|
+
# if __has_include(<uchar.h>)
|
|
66
|
+
# include <uchar.h>
|
|
67
|
+
# elif !defined(__cplusplus)
|
|
68
|
+
typedef unsigned char char8_t;
|
|
69
|
+
typedef uint_least16_t char16_t;
|
|
70
|
+
typedef uint_least32_t char32_t;
|
|
71
|
+
# endif
|
|
72
|
+
typedef float swift_float2 __attribute__((__ext_vector_type__(2)));
|
|
73
|
+
typedef float swift_float3 __attribute__((__ext_vector_type__(3)));
|
|
74
|
+
typedef float swift_float4 __attribute__((__ext_vector_type__(4)));
|
|
75
|
+
typedef double swift_double2 __attribute__((__ext_vector_type__(2)));
|
|
76
|
+
typedef double swift_double3 __attribute__((__ext_vector_type__(3)));
|
|
77
|
+
typedef double swift_double4 __attribute__((__ext_vector_type__(4)));
|
|
78
|
+
typedef int swift_int2 __attribute__((__ext_vector_type__(2)));
|
|
79
|
+
typedef int swift_int3 __attribute__((__ext_vector_type__(3)));
|
|
80
|
+
typedef int swift_int4 __attribute__((__ext_vector_type__(4)));
|
|
81
|
+
typedef unsigned int swift_uint2 __attribute__((__ext_vector_type__(2)));
|
|
82
|
+
typedef unsigned int swift_uint3 __attribute__((__ext_vector_type__(3)));
|
|
83
|
+
typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4)));
|
|
84
|
+
#endif
|
|
85
|
+
|
|
86
|
+
#if !defined(SWIFT_PASTE)
|
|
87
|
+
# define SWIFT_PASTE_HELPER(x, y) x##y
|
|
88
|
+
# define SWIFT_PASTE(x, y) SWIFT_PASTE_HELPER(x, y)
|
|
89
|
+
#endif
|
|
90
|
+
#if !defined(SWIFT_METATYPE)
|
|
91
|
+
# define SWIFT_METATYPE(X) Class
|
|
92
|
+
#endif
|
|
93
|
+
#if !defined(SWIFT_CLASS_PROPERTY)
|
|
94
|
+
# if __has_feature(objc_class_property)
|
|
95
|
+
# define SWIFT_CLASS_PROPERTY(...) __VA_ARGS__
|
|
96
|
+
# else
|
|
97
|
+
# define SWIFT_CLASS_PROPERTY(...)
|
|
98
|
+
# endif
|
|
99
|
+
#endif
|
|
100
|
+
#if !defined(SWIFT_RUNTIME_NAME)
|
|
101
|
+
# if __has_attribute(objc_runtime_name)
|
|
102
|
+
# define SWIFT_RUNTIME_NAME(X) __attribute__((objc_runtime_name(X)))
|
|
103
|
+
# else
|
|
104
|
+
# define SWIFT_RUNTIME_NAME(X)
|
|
105
|
+
# endif
|
|
106
|
+
#endif
|
|
107
|
+
#if !defined(SWIFT_COMPILE_NAME)
|
|
108
|
+
# if __has_attribute(swift_name)
|
|
109
|
+
# define SWIFT_COMPILE_NAME(X) __attribute__((swift_name(X)))
|
|
110
|
+
# else
|
|
111
|
+
# define SWIFT_COMPILE_NAME(X)
|
|
112
|
+
# endif
|
|
113
|
+
#endif
|
|
114
|
+
#if !defined(SWIFT_METHOD_FAMILY)
|
|
115
|
+
# if __has_attribute(objc_method_family)
|
|
116
|
+
# define SWIFT_METHOD_FAMILY(X) __attribute__((objc_method_family(X)))
|
|
117
|
+
# else
|
|
118
|
+
# define SWIFT_METHOD_FAMILY(X)
|
|
119
|
+
# endif
|
|
120
|
+
#endif
|
|
121
|
+
#if !defined(SWIFT_NOESCAPE)
|
|
122
|
+
# if __has_attribute(noescape)
|
|
123
|
+
# define SWIFT_NOESCAPE __attribute__((noescape))
|
|
124
|
+
# else
|
|
125
|
+
# define SWIFT_NOESCAPE
|
|
126
|
+
# endif
|
|
127
|
+
#endif
|
|
128
|
+
#if !defined(SWIFT_RELEASES_ARGUMENT)
|
|
129
|
+
# if __has_attribute(ns_consumed)
|
|
130
|
+
# define SWIFT_RELEASES_ARGUMENT __attribute__((ns_consumed))
|
|
131
|
+
# else
|
|
132
|
+
# define SWIFT_RELEASES_ARGUMENT
|
|
133
|
+
# endif
|
|
134
|
+
#endif
|
|
135
|
+
#if !defined(SWIFT_WARN_UNUSED_RESULT)
|
|
136
|
+
# if __has_attribute(warn_unused_result)
|
|
137
|
+
# define SWIFT_WARN_UNUSED_RESULT __attribute__((warn_unused_result))
|
|
138
|
+
# else
|
|
139
|
+
# define SWIFT_WARN_UNUSED_RESULT
|
|
140
|
+
# endif
|
|
141
|
+
#endif
|
|
142
|
+
#if !defined(SWIFT_NORETURN)
|
|
143
|
+
# if __has_attribute(noreturn)
|
|
144
|
+
# define SWIFT_NORETURN __attribute__((noreturn))
|
|
145
|
+
# else
|
|
146
|
+
# define SWIFT_NORETURN
|
|
147
|
+
# endif
|
|
148
|
+
#endif
|
|
149
|
+
#if !defined(SWIFT_CLASS_EXTRA)
|
|
150
|
+
# define SWIFT_CLASS_EXTRA
|
|
151
|
+
#endif
|
|
152
|
+
#if !defined(SWIFT_PROTOCOL_EXTRA)
|
|
153
|
+
# define SWIFT_PROTOCOL_EXTRA
|
|
154
|
+
#endif
|
|
155
|
+
#if !defined(SWIFT_ENUM_EXTRA)
|
|
156
|
+
# define SWIFT_ENUM_EXTRA
|
|
157
|
+
#endif
|
|
158
|
+
#if !defined(SWIFT_CLASS)
|
|
159
|
+
# if __has_attribute(objc_subclassing_restricted)
|
|
160
|
+
# define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_CLASS_EXTRA
|
|
161
|
+
# define SWIFT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA
|
|
162
|
+
# else
|
|
163
|
+
# define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA
|
|
164
|
+
# define SWIFT_CLASS_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA
|
|
165
|
+
# endif
|
|
166
|
+
#endif
|
|
167
|
+
#if !defined(SWIFT_RESILIENT_CLASS)
|
|
168
|
+
# if __has_attribute(objc_class_stub)
|
|
169
|
+
# define SWIFT_RESILIENT_CLASS(SWIFT_NAME) SWIFT_CLASS(SWIFT_NAME) __attribute__((objc_class_stub))
|
|
170
|
+
# define SWIFT_RESILIENT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_class_stub)) SWIFT_CLASS_NAMED(SWIFT_NAME)
|
|
171
|
+
# else
|
|
172
|
+
# define SWIFT_RESILIENT_CLASS(SWIFT_NAME) SWIFT_CLASS(SWIFT_NAME)
|
|
173
|
+
# define SWIFT_RESILIENT_CLASS_NAMED(SWIFT_NAME) SWIFT_CLASS_NAMED(SWIFT_NAME)
|
|
174
|
+
# endif
|
|
175
|
+
#endif
|
|
176
|
+
#if !defined(SWIFT_PROTOCOL)
|
|
177
|
+
# define SWIFT_PROTOCOL(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA
|
|
178
|
+
# define SWIFT_PROTOCOL_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA
|
|
179
|
+
#endif
|
|
180
|
+
#if !defined(SWIFT_EXTENSION)
|
|
181
|
+
# define SWIFT_EXTENSION(M) SWIFT_PASTE(M##_Swift_, __LINE__)
|
|
182
|
+
#endif
|
|
183
|
+
#if !defined(OBJC_DESIGNATED_INITIALIZER)
|
|
184
|
+
# if __has_attribute(objc_designated_initializer)
|
|
185
|
+
# define OBJC_DESIGNATED_INITIALIZER __attribute__((objc_designated_initializer))
|
|
186
|
+
# else
|
|
187
|
+
# define OBJC_DESIGNATED_INITIALIZER
|
|
188
|
+
# endif
|
|
189
|
+
#endif
|
|
190
|
+
#if !defined(SWIFT_ENUM_ATTR)
|
|
191
|
+
# if __has_attribute(enum_extensibility)
|
|
192
|
+
# define SWIFT_ENUM_ATTR(_extensibility) __attribute__((enum_extensibility(_extensibility)))
|
|
193
|
+
# else
|
|
194
|
+
# define SWIFT_ENUM_ATTR(_extensibility)
|
|
195
|
+
# endif
|
|
196
|
+
#endif
|
|
197
|
+
#if !defined(SWIFT_ENUM)
|
|
198
|
+
# define SWIFT_ENUM(_type, _name, _extensibility) enum _name : _type _name; enum SWIFT_ENUM_ATTR(_extensibility) SWIFT_ENUM_EXTRA _name : _type
|
|
199
|
+
# if __has_feature(generalized_swift_name)
|
|
200
|
+
# define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME, _extensibility) enum _name : _type _name SWIFT_COMPILE_NAME(SWIFT_NAME); enum SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_ENUM_ATTR(_extensibility) SWIFT_ENUM_EXTRA _name : _type
|
|
201
|
+
# else
|
|
202
|
+
# define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME, _extensibility) SWIFT_ENUM(_type, _name, _extensibility)
|
|
203
|
+
# endif
|
|
204
|
+
#endif
|
|
205
|
+
#if !defined(SWIFT_UNAVAILABLE)
|
|
206
|
+
# define SWIFT_UNAVAILABLE __attribute__((unavailable))
|
|
207
|
+
#endif
|
|
208
|
+
#if !defined(SWIFT_UNAVAILABLE_MSG)
|
|
209
|
+
# define SWIFT_UNAVAILABLE_MSG(msg) __attribute__((unavailable(msg)))
|
|
210
|
+
#endif
|
|
211
|
+
#if !defined(SWIFT_AVAILABILITY)
|
|
212
|
+
# define SWIFT_AVAILABILITY(plat, ...) __attribute__((availability(plat, __VA_ARGS__)))
|
|
213
|
+
#endif
|
|
214
|
+
#if !defined(SWIFT_WEAK_IMPORT)
|
|
215
|
+
# define SWIFT_WEAK_IMPORT __attribute__((weak_import))
|
|
216
|
+
#endif
|
|
217
|
+
#if !defined(SWIFT_DEPRECATED)
|
|
218
|
+
# define SWIFT_DEPRECATED __attribute__((deprecated))
|
|
219
|
+
#endif
|
|
220
|
+
#if !defined(SWIFT_DEPRECATED_MSG)
|
|
221
|
+
# define SWIFT_DEPRECATED_MSG(...) __attribute__((deprecated(__VA_ARGS__)))
|
|
222
|
+
#endif
|
|
223
|
+
#if !defined(SWIFT_DEPRECATED_OBJC)
|
|
224
|
+
# if __has_feature(attribute_diagnose_if_objc)
|
|
225
|
+
# define SWIFT_DEPRECATED_OBJC(Msg) __attribute__((diagnose_if(1, Msg, "warning")))
|
|
226
|
+
# else
|
|
227
|
+
# define SWIFT_DEPRECATED_OBJC(Msg) SWIFT_DEPRECATED_MSG(Msg)
|
|
228
|
+
# endif
|
|
229
|
+
#endif
|
|
230
|
+
#if defined(__OBJC__)
|
|
231
|
+
#if !defined(IBSegueAction)
|
|
232
|
+
# define IBSegueAction
|
|
233
|
+
#endif
|
|
234
|
+
#endif
|
|
235
|
+
#if !defined(SWIFT_EXTERN)
|
|
236
|
+
# if defined(__cplusplus)
|
|
237
|
+
# define SWIFT_EXTERN extern "C"
|
|
238
|
+
# else
|
|
239
|
+
# define SWIFT_EXTERN extern
|
|
240
|
+
# endif
|
|
241
|
+
#endif
|
|
242
|
+
#if !defined(SWIFT_CALL)
|
|
243
|
+
# define SWIFT_CALL __attribute__((swiftcall))
|
|
244
|
+
#endif
|
|
245
|
+
#if !defined(SWIFT_INDIRECT_RESULT)
|
|
246
|
+
# define SWIFT_INDIRECT_RESULT __attribute__((swift_indirect_result))
|
|
247
|
+
#endif
|
|
248
|
+
#if !defined(SWIFT_CONTEXT)
|
|
249
|
+
# define SWIFT_CONTEXT __attribute__((swift_context))
|
|
250
|
+
#endif
|
|
251
|
+
#if !defined(SWIFT_ERROR_RESULT)
|
|
252
|
+
# define SWIFT_ERROR_RESULT __attribute__((swift_error_result))
|
|
253
|
+
#endif
|
|
254
|
+
#if defined(__cplusplus)
|
|
255
|
+
# define SWIFT_NOEXCEPT noexcept
|
|
256
|
+
#else
|
|
257
|
+
# define SWIFT_NOEXCEPT
|
|
258
|
+
#endif
|
|
259
|
+
#if !defined(SWIFT_C_INLINE_THUNK)
|
|
260
|
+
# if __has_attribute(always_inline)
|
|
261
|
+
# if __has_attribute(nodebug)
|
|
262
|
+
# define SWIFT_C_INLINE_THUNK inline __attribute__((always_inline)) __attribute__((nodebug))
|
|
263
|
+
# else
|
|
264
|
+
# define SWIFT_C_INLINE_THUNK inline __attribute__((always_inline))
|
|
265
|
+
# endif
|
|
266
|
+
# else
|
|
267
|
+
# define SWIFT_C_INLINE_THUNK inline
|
|
268
|
+
# endif
|
|
269
|
+
#endif
|
|
270
|
+
#if defined(_WIN32)
|
|
271
|
+
#if !defined(SWIFT_IMPORT_STDLIB_SYMBOL)
|
|
272
|
+
# define SWIFT_IMPORT_STDLIB_SYMBOL __declspec(dllimport)
|
|
273
|
+
#endif
|
|
274
|
+
#else
|
|
275
|
+
#if !defined(SWIFT_IMPORT_STDLIB_SYMBOL)
|
|
276
|
+
# define SWIFT_IMPORT_STDLIB_SYMBOL
|
|
277
|
+
#endif
|
|
278
|
+
#endif
|
|
279
|
+
#if defined(__OBJC__)
|
|
280
|
+
#if __has_feature(objc_modules)
|
|
281
|
+
#if __has_warning("-Watimport-in-framework-header")
|
|
282
|
+
#pragma clang diagnostic ignored "-Watimport-in-framework-header"
|
|
283
|
+
#endif
|
|
284
|
+
@import CoreFoundation;
|
|
285
|
+
@import Foundation;
|
|
286
|
+
@import ObjectiveC;
|
|
287
|
+
@import UIKit;
|
|
288
|
+
@import WebKit;
|
|
289
|
+
#endif
|
|
290
|
+
|
|
291
|
+
#endif
|
|
292
|
+
#pragma clang diagnostic ignored "-Wproperty-attribute-mismatch"
|
|
293
|
+
#pragma clang diagnostic ignored "-Wduplicate-method-arg"
|
|
294
|
+
#if __has_warning("-Wpragma-clang-attribute")
|
|
295
|
+
# pragma clang diagnostic ignored "-Wpragma-clang-attribute"
|
|
296
|
+
#endif
|
|
297
|
+
#pragma clang diagnostic ignored "-Wunknown-pragmas"
|
|
298
|
+
#pragma clang diagnostic ignored "-Wnullability"
|
|
299
|
+
#pragma clang diagnostic ignored "-Wdollar-in-identifier-extension"
|
|
300
|
+
#pragma clang diagnostic ignored "-Wunsafe-buffer-usage"
|
|
301
|
+
|
|
302
|
+
#if __has_attribute(external_source_symbol)
|
|
303
|
+
# pragma push_macro("any")
|
|
304
|
+
# undef any
|
|
305
|
+
# pragma clang attribute push(__attribute__((external_source_symbol(language="Swift", defined_in="CCAvenueSDK",generated_declaration))), apply_to=any(function,enum,objc_interface,objc_category,objc_protocol))
|
|
306
|
+
# pragma pop_macro("any")
|
|
307
|
+
#endif
|
|
308
|
+
|
|
309
|
+
#if defined(__OBJC__)
|
|
310
|
+
|
|
311
|
+
@class NSCoder;
|
|
312
|
+
@class UIEvent;
|
|
313
|
+
/// Checkbox is a simple, animation free checkbox and UISwitch alternative designed
|
|
314
|
+
/// to be performant and easy to implement.
|
|
315
|
+
SWIFT_CLASS("_TtC11CCAvenueSDK8Checkbox")
|
|
316
|
+
@interface Checkbox : UIControl
|
|
317
|
+
- (nonnull instancetype)initWithFrame:(CGRect)frame OBJC_DESIGNATED_INITIALIZER;
|
|
318
|
+
- (nullable instancetype)initWithCoder:(NSCoder * _Nonnull)aDecoder OBJC_DESIGNATED_INITIALIZER;
|
|
319
|
+
- (void)drawRect:(CGRect)rect;
|
|
320
|
+
- (BOOL)pointInside:(CGPoint)point withEvent:(UIEvent * _Nullable)event SWIFT_WARN_UNUSED_RESULT;
|
|
321
|
+
@end
|
|
322
|
+
|
|
323
|
+
@class UIPresentationController;
|
|
324
|
+
@class NSString;
|
|
325
|
+
@class NSBundle;
|
|
326
|
+
SWIFT_CLASS("_TtC11CCAvenueSDK18MainViewController")
|
|
327
|
+
@interface MainViewController : UIViewController <UICollectionViewDataSource, UICollectionViewDelegateFlowLayout, UIPickerViewDataSource, UIPickerViewDelegate, UIPopoverPresentationControllerDelegate, UITableViewDataSource, UITableViewDelegate, UITextFieldDelegate, WKNavigationDelegate, WKScriptMessageHandler, WKUIDelegate>
|
|
328
|
+
- (void)viewDidLoad;
|
|
329
|
+
- (void)viewDidAppear:(BOOL)animated;
|
|
330
|
+
- (void)viewWillAppear:(BOOL)animated;
|
|
331
|
+
- (void)viewWillDisappear:(BOOL)animated;
|
|
332
|
+
- (void)didReceiveMemoryWarning;
|
|
333
|
+
- (UIModalPresentationStyle)adaptivePresentationStyleForPresentationController:(UIPresentationController * _Nonnull)controller SWIFT_WARN_UNUSED_RESULT;
|
|
334
|
+
- (nonnull instancetype)initWithNibName:(NSString * _Nullable)nibNameOrNil bundle:(NSBundle * _Nullable)nibBundleOrNil OBJC_DESIGNATED_INITIALIZER;
|
|
335
|
+
- (nullable instancetype)initWithCoder:(NSCoder * _Nonnull)coder OBJC_DESIGNATED_INITIALIZER;
|
|
336
|
+
@end
|
|
337
|
+
|
|
338
|
+
@class UIPickerView;
|
|
339
|
+
@interface MainViewController (SWIFT_EXTENSION(CCAvenueSDK))
|
|
340
|
+
- (NSInteger)numberOfComponentsInPickerView:(UIPickerView * _Nonnull)pickerView SWIFT_WARN_UNUSED_RESULT;
|
|
341
|
+
- (NSInteger)pickerView:(UIPickerView * _Nonnull)pickerView numberOfRowsInComponent:(NSInteger)component SWIFT_WARN_UNUSED_RESULT;
|
|
342
|
+
- (NSString * _Nullable)pickerView:(UIPickerView * _Nonnull)pickerView titleForRow:(NSInteger)row forComponent:(NSInteger)component SWIFT_WARN_UNUSED_RESULT;
|
|
343
|
+
- (void)pickerView:(UIPickerView * _Nonnull)pickerView didSelectRow:(NSInteger)row inComponent:(NSInteger)component;
|
|
344
|
+
@end
|
|
345
|
+
|
|
346
|
+
@class UITableView;
|
|
347
|
+
@class NSIndexPath;
|
|
348
|
+
@class UITableViewCell;
|
|
349
|
+
@interface MainViewController (SWIFT_EXTENSION(CCAvenueSDK))
|
|
350
|
+
- (NSInteger)tableView:(UITableView * _Nonnull)tableView numberOfRowsInSection:(NSInteger)section SWIFT_WARN_UNUSED_RESULT;
|
|
351
|
+
- (UITableViewCell * _Nonnull)tableView:(UITableView * _Nonnull)tableView cellForRowAtIndexPath:(NSIndexPath * _Nonnull)indexPath SWIFT_WARN_UNUSED_RESULT;
|
|
352
|
+
- (void)tableView:(UITableView * _Nonnull)tableView didSelectRowAtIndexPath:(NSIndexPath * _Nonnull)indexPath;
|
|
353
|
+
- (CGFloat)tableView:(UITableView * _Nonnull)tableView heightForRowAtIndexPath:(NSIndexPath * _Nonnull)indexPath SWIFT_WARN_UNUSED_RESULT;
|
|
354
|
+
@end
|
|
355
|
+
|
|
356
|
+
@class UITextField;
|
|
357
|
+
@interface MainViewController (SWIFT_EXTENSION(CCAvenueSDK))
|
|
358
|
+
/// Method: textFieldDidBeginEditing
|
|
359
|
+
/// At the begining of the editing at textField we to animate the placeholder to the label frame
|
|
360
|
+
- (void)textFieldDidBeginEditing:(UITextField * _Nonnull)textField;
|
|
361
|
+
/// Method: textFieldDidEndEditing
|
|
362
|
+
/// At the end of the editing at textField we’ll check if the textfield is empty or not is the textfield is empty then retun the label to the placeholder position else keep the label at same position and end editing
|
|
363
|
+
- (void)textFieldDidEndEditing:(UITextField * _Nonnull)textField reason:(UITextFieldDidEndEditingReason)reason;
|
|
364
|
+
/// The maximum limit of characters which we can enter in textfield may vary according to the conditions and the card type of the user so we will set that limit dynamically once user starts editing and once we identiy the card type we will change the limit accordingly
|
|
365
|
+
/// Tag 1: The card number length may vary between 13,14,15,16 and 19 according to the card type
|
|
366
|
+
/// Tag 2: CVV length may vary between 3 or 4 for “Amex” card the cvv length is 4 or else the default length of the CVV is 3
|
|
367
|
+
/// once we identifies the card type we also needs to update the card Type’s logo at the right side of the Card Number textfield
|
|
368
|
+
- (BOOL)textFieldShouldReturn:(UITextField * _Nonnull)textField SWIFT_WARN_UNUSED_RESULT;
|
|
369
|
+
- (BOOL)textField:(UITextField * _Nonnull)textField shouldChangeCharactersInRange:(NSRange)range replacementString:(NSString * _Nonnull)string SWIFT_WARN_UNUSED_RESULT;
|
|
370
|
+
@end
|
|
371
|
+
|
|
372
|
+
@class UICollectionView;
|
|
373
|
+
@class UICollectionViewCell;
|
|
374
|
+
@class UICollectionViewLayout;
|
|
375
|
+
@class UICollectionReusableView;
|
|
376
|
+
@interface MainViewController (SWIFT_EXTENSION(CCAvenueSDK))
|
|
377
|
+
/// The following methods are delegate and dataSource methods of CollectionView which are we implementing here, the job of this method is to collect the data of how many items are there in the section, the display of the custom collectionViewCell (ie. PaymentOptionsCell) and the handling of the cell selection
|
|
378
|
+
- (NSInteger)numberOfSectionsInCollectionView:(UICollectionView * _Nonnull)collectionView SWIFT_WARN_UNUSED_RESULT;
|
|
379
|
+
- (NSInteger)collectionView:(UICollectionView * _Nonnull)collectionView numberOfItemsInSection:(NSInteger)section SWIFT_WARN_UNUSED_RESULT;
|
|
380
|
+
- (UICollectionViewCell * _Nonnull)collectionView:(UICollectionView * _Nonnull)collectionView cellForItemAtIndexPath:(NSIndexPath * _Nonnull)indexPath SWIFT_WARN_UNUSED_RESULT;
|
|
381
|
+
/// CollectionView = paymentOptionsCollectionView
|
|
382
|
+
/// we will check the selected payment option and according to that we’ll populate the views for that payment option
|
|
383
|
+
/// CollectionView = netBankingCollectionView
|
|
384
|
+
/// Since netbanking collection view is used in netbanking, wallet and cash card so according to the selectedPayment option we’ll handle the selection action here
|
|
385
|
+
- (void)collectionView:(UICollectionView * _Nonnull)collectionView didSelectItemAtIndexPath:(NSIndexPath * _Nonnull)indexPath;
|
|
386
|
+
- (CGSize)collectionView:(UICollectionView * _Nonnull)collectionView layout:(UICollectionViewLayout * _Nonnull)collectionViewLayout referenceSizeForHeaderInSection:(NSInteger)section SWIFT_WARN_UNUSED_RESULT;
|
|
387
|
+
- (UICollectionReusableView * _Nonnull)collectionView:(UICollectionView * _Nonnull)collectionView viewForSupplementaryElementOfKind:(NSString * _Nonnull)kind atIndexPath:(NSIndexPath * _Nonnull)indexPath SWIFT_WARN_UNUSED_RESULT;
|
|
388
|
+
@end
|
|
389
|
+
|
|
390
|
+
@class WKUserContentController;
|
|
391
|
+
@class WKScriptMessage;
|
|
392
|
+
@class WKWebView;
|
|
393
|
+
@class WKNavigation;
|
|
394
|
+
@class WKNavigationResponse;
|
|
395
|
+
@class WKNavigationAction;
|
|
396
|
+
@class WKFrameInfo;
|
|
397
|
+
@interface MainViewController (SWIFT_EXTENSION(CCAvenueSDK))
|
|
398
|
+
- (void)userContentController:(WKUserContentController * _Nonnull)userContentController didReceiveScriptMessage:(WKScriptMessage * _Nonnull)message;
|
|
399
|
+
/// If webview fail to load URLRequest then we’ll display UIAlertController with action which will remove WebView from the superview and display Payment option page to the user
|
|
400
|
+
- (void)webView:(WKWebView * _Nonnull)webView didFailNavigation:(WKNavigation * _Null_unspecified)navigation withError:(NSError * _Nonnull)error;
|
|
401
|
+
- (void)webView:(WKWebView * _Nonnull)webView didStartProvisionalNavigation:(WKNavigation * _Null_unspecified)navigation;
|
|
402
|
+
- (void)webView:(WKWebView * _Nonnull)webView decidePolicyForNavigationResponse:(WKNavigationResponse * _Nonnull)navigationResponse decisionHandler:(void (^ _Nonnull)(WKNavigationResponsePolicy))decisionHandler;
|
|
403
|
+
- (void)webView:(WKWebView * _Nonnull)webView decidePolicyForNavigationAction:(WKNavigationAction * _Nonnull)navigationAction decisionHandler:(void (^ _Nonnull)(WKNavigationActionPolicy))decisionHandler;
|
|
404
|
+
- (void)webView:(WKWebView * _Nonnull)webView didFinishNavigation:(WKNavigation * _Null_unspecified)navigation;
|
|
405
|
+
- (void)webView:(WKWebView * _Nonnull)webView runJavaScriptAlertPanelWithMessage:(NSString * _Nonnull)message initiatedByFrame:(WKFrameInfo * _Nonnull)frame completionHandler:(void (^ _Nonnull)(void))completionHandler;
|
|
406
|
+
- (void)webView:(WKWebView * _Nonnull)webView runJavaScriptConfirmPanelWithMessage:(NSString * _Nonnull)message initiatedByFrame:(WKFrameInfo * _Nonnull)frame completionHandler:(void (^ _Nonnull)(BOOL))completionHandler;
|
|
407
|
+
- (void)webView:(WKWebView * _Nonnull)webView runJavaScriptTextInputPanelWithPrompt:(NSString * _Nonnull)prompt defaultText:(NSString * _Nullable)defaultText initiatedByFrame:(WKFrameInfo * _Nonnull)frame completionHandler:(void (^ _Nonnull)(NSString * _Nullable))completionHandler;
|
|
408
|
+
@end
|
|
409
|
+
|
|
410
|
+
@class NSObject;
|
|
411
|
+
SWIFT_PROTOCOL("_TtP11CCAvenueSDK26MainViewControllerDelegate_")
|
|
412
|
+
@protocol MainViewControllerDelegate
|
|
413
|
+
- (void)getResponse:(NSDictionary * _Nullable)jsonResponse;
|
|
414
|
+
@end
|
|
415
|
+
|
|
416
|
+
SWIFT_CLASS("_TtC11CCAvenueSDK38PromotionAndDiscountListViewController")
|
|
417
|
+
@interface PromotionAndDiscountListViewController : UIViewController <UITableViewDataSource, UITableViewDelegate>
|
|
418
|
+
- (void)viewDidLoad;
|
|
419
|
+
- (nonnull instancetype)initWithNibName:(NSString * _Nullable)nibNameOrNil bundle:(NSBundle * _Nullable)nibBundleOrNil OBJC_DESIGNATED_INITIALIZER;
|
|
420
|
+
- (nullable instancetype)initWithCoder:(NSCoder * _Nonnull)coder OBJC_DESIGNATED_INITIALIZER;
|
|
421
|
+
@end
|
|
422
|
+
|
|
423
|
+
@interface PromotionAndDiscountListViewController (SWIFT_EXTENSION(CCAvenueSDK))
|
|
424
|
+
- (NSInteger)tableView:(UITableView * _Nonnull)tableView numberOfRowsInSection:(NSInteger)section SWIFT_WARN_UNUSED_RESULT;
|
|
425
|
+
- (UITableViewCell * _Nonnull)tableView:(UITableView * _Nonnull)tableView cellForRowAtIndexPath:(NSIndexPath * _Nonnull)indexPath SWIFT_WARN_UNUSED_RESULT;
|
|
426
|
+
- (CGFloat)tableView:(UITableView * _Nonnull)tableView heightForRowAtIndexPath:(NSIndexPath * _Nonnull)indexPath SWIFT_WARN_UNUSED_RESULT;
|
|
427
|
+
@end
|
|
428
|
+
|
|
429
|
+
@interface UIButton (SWIFT_EXTENSION(CCAvenueSDK))
|
|
430
|
+
SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly) Class _Nonnull layerClass;)
|
|
431
|
+
+ (Class _Nonnull)layerClass SWIFT_WARN_UNUSED_RESULT;
|
|
432
|
+
@end
|
|
433
|
+
|
|
434
|
+
/// The <code>ValidationError</code> class is used for representing errors of a failed validation. It contains the field, error label, and error message of a failed validation.
|
|
435
|
+
SWIFT_CLASS("_TtC11CCAvenueSDK15ValidationError")
|
|
436
|
+
@interface ValidationError : NSObject
|
|
437
|
+
- (nonnull instancetype)init SWIFT_UNAVAILABLE;
|
|
438
|
+
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
|
|
439
|
+
@end
|
|
440
|
+
|
|
441
|
+
#endif
|
|
442
|
+
#if __has_attribute(external_source_symbol)
|
|
443
|
+
# pragma clang attribute pop
|
|
444
|
+
#endif
|
|
445
|
+
#if defined(__cplusplus)
|
|
446
|
+
#endif
|
|
447
|
+
#pragma clang diagnostic pop
|
|
448
|
+
#endif
|
|
449
|
+
|
|
450
|
+
#else
|
|
451
|
+
#error unsupported Swift architecture
|
|
452
|
+
#endif
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
//
|
|
2
|
+
// CCAvenueSDK.h
|
|
3
|
+
// CCAvenueSDK
|
|
4
|
+
//
|
|
5
|
+
// Created by Mayur Shinde on 21/12/18.
|
|
6
|
+
// Copyright © 2018 Avenues. All rights reserved.
|
|
7
|
+
//
|
|
8
|
+
|
|
9
|
+
#import <UIKit/UIKit.h>
|
|
10
|
+
|
|
11
|
+
//! Project version number for CCAvenueSDK.
|
|
12
|
+
FOUNDATION_EXPORT double CCAvenueSDKVersionNumber;
|
|
13
|
+
|
|
14
|
+
//! Project version string for CCAvenueSDK.
|
|
15
|
+
FOUNDATION_EXPORT const unsigned char CCAvenueSDKVersionString[];
|
|
16
|
+
|
|
17
|
+
// In this header, you should import all the public headers of your framework using statements like #import <CCAvenueSDK/PublicHeader.h>
|
|
18
|
+
|
|
19
|
+
|