react-native-payengine 2.0.18-alpha.3 → 2.0.18-alpha.5

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.
Files changed (42) hide show
  1. package/android/build.gradle +2 -2
  2. package/ios/PayEngineSDK.xcframework/Info.plist +4 -0
  3. package/ios/PayEngineSDK.xcframework/ios-arm64/PayEngineSDK.framework/Headers/PayEngineSDK-Swift.h +31 -29
  4. package/ios/PayEngineSDK.xcframework/ios-arm64/PayEngineSDK.framework/Info.plist +0 -0
  5. package/ios/PayEngineSDK.xcframework/ios-arm64/PayEngineSDK.framework/Modules/PayEngineSDK.swiftmodule/arm64-apple-ios.abi.json +1250 -60
  6. package/ios/PayEngineSDK.xcframework/ios-arm64/PayEngineSDK.framework/Modules/PayEngineSDK.swiftmodule/arm64-apple-ios.private.swiftinterface +65 -4
  7. package/ios/PayEngineSDK.xcframework/ios-arm64/PayEngineSDK.framework/Modules/PayEngineSDK.swiftmodule/arm64-apple-ios.private.swiftinterface-e +65 -4
  8. package/ios/PayEngineSDK.xcframework/ios-arm64/PayEngineSDK.framework/Modules/PayEngineSDK.swiftmodule/arm64-apple-ios.swiftdoc +0 -0
  9. package/ios/PayEngineSDK.xcframework/ios-arm64/PayEngineSDK.framework/Modules/PayEngineSDK.swiftmodule/arm64-apple-ios.swiftinterface +65 -4
  10. package/ios/PayEngineSDK.xcframework/ios-arm64/PayEngineSDK.framework/Modules/PayEngineSDK.swiftmodule/arm64-apple-ios.swiftinterface-e +65 -4
  11. package/ios/PayEngineSDK.xcframework/ios-arm64/PayEngineSDK.framework/PayEngineSDK +0 -0
  12. package/ios/PayEngineSDK.xcframework/ios-arm64/PayEngineSDK.framework/VGSCollectSDK_VGSCollectSDK.bundle/Assets.car +0 -0
  13. package/ios/PayEngineSDK.xcframework/ios-arm64/PayEngineSDK.framework/VGSCollectSDK_VGSCollectSDK.bundle/Info.plist +0 -0
  14. package/ios/PayEngineSDK.xcframework/ios-arm64/dSYMs/PayEngineSDK.framework.dSYM/Contents/Info.plist +20 -0
  15. package/ios/PayEngineSDK.xcframework/ios-arm64/dSYMs/PayEngineSDK.framework.dSYM/Contents/Resources/DWARF/PayEngineSDK +0 -0
  16. package/ios/PayEngineSDK.xcframework/ios-arm64/dSYMs/PayEngineSDK.framework.dSYM/Contents/Resources/Relocations/aarch64/PayEngineSDK.yml +3257 -0
  17. package/ios/PayEngineSDK.xcframework/ios-arm64_x86_64-simulator/PayEngineSDK.framework/Headers/PayEngineSDK-Swift.h +62 -58
  18. package/ios/PayEngineSDK.xcframework/ios-arm64_x86_64-simulator/PayEngineSDK.framework/Info.plist +0 -0
  19. package/ios/PayEngineSDK.xcframework/ios-arm64_x86_64-simulator/PayEngineSDK.framework/Modules/PayEngineSDK.swiftmodule/arm64-apple-ios-simulator.abi.json +1250 -60
  20. package/ios/PayEngineSDK.xcframework/ios-arm64_x86_64-simulator/PayEngineSDK.framework/Modules/PayEngineSDK.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface +65 -4
  21. package/ios/PayEngineSDK.xcframework/ios-arm64_x86_64-simulator/PayEngineSDK.framework/Modules/PayEngineSDK.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface-e +65 -4
  22. package/ios/PayEngineSDK.xcframework/ios-arm64_x86_64-simulator/PayEngineSDK.framework/Modules/PayEngineSDK.swiftmodule/arm64-apple-ios-simulator.swiftdoc +0 -0
  23. package/ios/PayEngineSDK.xcframework/ios-arm64_x86_64-simulator/PayEngineSDK.framework/Modules/PayEngineSDK.swiftmodule/arm64-apple-ios-simulator.swiftinterface +65 -4
  24. package/ios/PayEngineSDK.xcframework/ios-arm64_x86_64-simulator/PayEngineSDK.framework/Modules/PayEngineSDK.swiftmodule/arm64-apple-ios-simulator.swiftinterface-e +65 -4
  25. package/ios/PayEngineSDK.xcframework/ios-arm64_x86_64-simulator/PayEngineSDK.framework/Modules/PayEngineSDK.swiftmodule/x86_64-apple-ios-simulator.abi.json +1250 -60
  26. package/ios/PayEngineSDK.xcframework/ios-arm64_x86_64-simulator/PayEngineSDK.framework/Modules/PayEngineSDK.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface +65 -4
  27. package/ios/PayEngineSDK.xcframework/ios-arm64_x86_64-simulator/PayEngineSDK.framework/Modules/PayEngineSDK.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface-e +65 -4
  28. package/ios/PayEngineSDK.xcframework/ios-arm64_x86_64-simulator/PayEngineSDK.framework/Modules/PayEngineSDK.swiftmodule/x86_64-apple-ios-simulator.swiftdoc +0 -0
  29. package/ios/PayEngineSDK.xcframework/ios-arm64_x86_64-simulator/PayEngineSDK.framework/Modules/PayEngineSDK.swiftmodule/x86_64-apple-ios-simulator.swiftinterface +65 -4
  30. package/ios/PayEngineSDK.xcframework/ios-arm64_x86_64-simulator/PayEngineSDK.framework/Modules/PayEngineSDK.swiftmodule/x86_64-apple-ios-simulator.swiftinterface-e +65 -4
  31. package/ios/PayEngineSDK.xcframework/ios-arm64_x86_64-simulator/PayEngineSDK.framework/PayEngineSDK +0 -0
  32. package/ios/PayEngineSDK.xcframework/ios-arm64_x86_64-simulator/PayEngineSDK.framework/VGSCollectSDK_VGSCollectSDK.bundle/Assets.car +0 -0
  33. package/ios/PayEngineSDK.xcframework/ios-arm64_x86_64-simulator/PayEngineSDK.framework/VGSCollectSDK_VGSCollectSDK.bundle/Info.plist +0 -0
  34. package/ios/PayEngineSDK.xcframework/ios-arm64_x86_64-simulator/dSYMs/PayEngineSDK.framework.dSYM/Contents/Info.plist +20 -0
  35. package/ios/PayEngineSDK.xcframework/ios-arm64_x86_64-simulator/dSYMs/PayEngineSDK.framework.dSYM/Contents/Resources/DWARF/PayEngineSDK +0 -0
  36. package/ios/PayEngineSDK.xcframework/ios-arm64_x86_64-simulator/dSYMs/PayEngineSDK.framework.dSYM/Contents/Resources/Relocations/aarch64/PayEngineSDK.yml +3253 -0
  37. package/ios/PayEngineSDK.xcframework/ios-arm64_x86_64-simulator/dSYMs/PayEngineSDK.framework.dSYM/Contents/Resources/Relocations/x86_64/PayEngineSDK.yml +3224 -0
  38. package/lib/commonjs/components/v2/SecureFields/PECard.js.map +1 -1
  39. package/lib/module/components/v2/SecureFields/PECard.js.map +1 -1
  40. package/lib/typescript/components/v2/SecureFields/PECard.d.ts +65 -1
  41. package/package.json +1 -1
  42. package/src/components/v2/SecureFields/PECard.ts +82 -2
@@ -1,6 +1,6 @@
1
1
  #if 0
2
2
  #elif defined(__arm64__) && __arm64__
3
- // Generated by Apple Swift version 6.0.2 effective-5.10 (swiftlang-6.0.2.1.2 clang-1600.0.26.4)
3
+ // Generated by Apple Swift version 6.2.3 effective-5.10 (swiftlang-6.2.3.3.21 clang-1700.6.3.2)
4
4
  #ifndef PAYENGINESDK_SWIFT_H
5
5
  #define PAYENGINESDK_SWIFT_H
6
6
  #pragma clang diagnostic push
@@ -65,6 +65,7 @@
65
65
  # if __has_include(<uchar.h>)
66
66
  # include <uchar.h>
67
67
  # elif !defined(__cplusplus)
68
+ typedef unsigned char char8_t;
68
69
  typedef uint_least16_t char16_t;
69
70
  typedef uint_least32_t char32_t;
70
71
  # endif
@@ -306,6 +307,7 @@ typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4)));
306
307
  #endif
307
308
 
308
309
  #if defined(__OBJC__)
310
+
309
311
  /// Represents the supported Apple Pay payment networks.
310
312
  typedef SWIFT_ENUM(NSInteger, ApplePayPaymentNetwork, open) {
311
313
  /// Supported Apple Pay payment networks.
@@ -331,7 +333,6 @@ typedef SWIFT_ENUM(NSInteger, ApplePayPaymentNetwork, open) {
331
333
  @class PKPaymentSummaryItem;
332
334
  @class NSString;
333
335
  @class PKShippingMethod;
334
-
335
336
  /// A class that represents an Apple Pay payment request.
336
337
  SWIFT_CLASS("_TtC12PayEngineSDK22ApplePayPaymentRequest")
337
338
  @interface ApplePayPaymentRequest : NSObject
@@ -364,7 +365,6 @@ typedef SWIFT_ENUM(NSInteger, ApplePayStatus, open) {
364
365
  ApplePayStatusNotEligible = 2,
365
366
  };
366
367
 
367
-
368
368
  /// Represents the details of a bank account.
369
369
  /// This class stores essential bank account information such as routing number,
370
370
  /// last four digits of the account number, and the account holder’s name.
@@ -382,14 +382,15 @@ SWIFT_CLASS("_TtC12PayEngineSDK15BankAccountData")
382
382
  + (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
383
383
  @end
384
384
 
385
-
386
385
  /// Represents the details of a payment card.
387
386
  /// This class stores essential card information such as brand, last four digits,
388
- /// expiration date, and the cardholder’s name.
387
+ /// expiration date, cardholder’s name, contact information, and billing address.
389
388
  SWIFT_CLASS("_TtC12PayEngineSDK8CardData")
390
389
  @interface CardData : NSObject
391
390
  /// The unique identifier for the card.
392
391
  @property (nonatomic, readonly, copy) NSString * _Nonnull id;
392
+ /// The merchant identifier associated with the card.
393
+ @property (nonatomic, readonly, copy) NSString * _Nullable merchantId;
393
394
  /// The brand of the card (e.g., Visa, MasterCard).
394
395
  @property (nonatomic, readonly, copy) NSString * _Nonnull brand;
395
396
  /// The last four digits of the card number.
@@ -400,16 +401,34 @@ SWIFT_CLASS("_TtC12PayEngineSDK8CardData")
400
401
  @property (nonatomic, readonly) NSInteger expYear;
401
402
  /// The name of the cardholder.
402
403
  @property (nonatomic, readonly, copy) NSString * _Nonnull name;
403
- /// The ZIP code associated with the card’s billing address (optional).
404
+ /// The email address associated with the cardholder.
405
+ @property (nonatomic, readonly, copy) NSString * _Nullable email;
406
+ /// The phone number associated with the cardholder.
407
+ @property (nonatomic, readonly, copy) NSString * _Nullable phoneNumber;
408
+ /// The ZIP code associated with the card’s billing address.
404
409
  @property (nonatomic, readonly, copy) NSString * _Nullable addressZip;
410
+ /// The first line of the billing address.
411
+ @property (nonatomic, readonly, copy) NSString * _Nullable addressLine1;
412
+ /// The second line of the billing address.
413
+ @property (nonatomic, readonly, copy) NSString * _Nullable addressLine2;
414
+ /// The country of the billing address.
415
+ @property (nonatomic, readonly, copy) NSString * _Nullable addressCountry;
416
+ /// The city of the billing address.
417
+ @property (nonatomic, readonly, copy) NSString * _Nullable addressCity;
418
+ /// The state or region of the billing address.
419
+ @property (nonatomic, readonly, copy) NSString * _Nullable addressState;
420
+ /// The expiration date of the card token, if applicable.
421
+ @property (nonatomic, readonly, copy) NSString * _Nullable expiresAt;
422
+ /// The country of origin for the card.
423
+ @property (nonatomic, readonly, copy) NSString * _Nullable country;
424
+ /// The type of the card (e.g., Credit, Debit).
425
+ @property (nonatomic, readonly, copy) NSString * _Nullable type;
405
426
  - (nonnull instancetype)init SWIFT_UNAVAILABLE;
406
427
  + (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
407
428
  @end
408
429
 
409
-
410
430
  @class PEBankAccount;
411
431
  @class NSCoder;
412
-
413
432
  /// A secure view for entering a customer’s bank account information safely.
414
433
  /// This view displays input fields required to securely collect bank account details.
415
434
  /// It also provides methods to validate the provided information and saving a customer’s bank acount by securely storing the information in PayEngine’s system.
@@ -480,7 +499,6 @@ SWIFT_CLASS("_TtC12PayEngineSDK16IBankAccountView")
480
499
  @end
481
500
 
482
501
  @class PECard;
483
-
484
502
  /// A secure view for entering a customer’s payment card information safely.
485
503
  /// This view displays input fields required to securely collect payment card details.
486
504
  /// It also provides methods to validate the provided information and saving a customer’s card by securely storing the information in PayEngine’s system.
@@ -567,7 +585,6 @@ SWIFT_CLASS("_TtC12PayEngineSDK15ICardNumberView")
567
585
 
568
586
  @protocol PEApplePayDelegate;
569
587
  @class UIButton;
570
-
571
588
  /// A class that facilitates Apple Pay transactions.
572
589
  /// <blockquote>
573
590
  /// Important: Making the object for this class is not allowed. The shared instance of this class provides methods to configure and initiate Apple Pay payments. The shared instance is managed internally and you don’t need to access it directly.
@@ -635,7 +652,6 @@ SWIFT_CLASS("_TtC12PayEngineSDK10PEApplePay")
635
652
  @class PKPaymentRequestShippingContactUpdate;
636
653
  @class PKPaymentRequestShippingMethodUpdate;
637
654
  @class PKPayment;
638
-
639
655
  @interface PEApplePay (SWIFT_EXTENSION(PayEngineSDK)) <PKPaymentAuthorizationViewControllerDelegate>
640
656
  - (void)paymentAuthorizationViewControllerDidFinish:(PKPaymentAuthorizationViewController * _Nonnull)controller;
641
657
  - (void)paymentAuthorizationViewController:(PKPaymentAuthorizationViewController * _Nonnull)controller didSelectPaymentMethod:(PKPaymentMethod * _Nonnull)paymentMethod handler:(void (^ _Nonnull)(PKPaymentRequestPaymentMethodUpdate * _Nonnull))completion;
@@ -645,7 +661,6 @@ SWIFT_CLASS("_TtC12PayEngineSDK10PEApplePay")
645
661
  @end
646
662
 
647
663
  enum PEApplePayResult : NSInteger;
648
-
649
664
  /// A delegate protocol that provides callbacks for various events during the Apple Pay transaction process.
650
665
  /// This protocol notifies the conforming delegate about errors, UI status updates, payment token retrieval,
651
666
  /// and optional user interactions such as selecting shipping or payment methods.
@@ -703,7 +718,6 @@ typedef SWIFT_ENUM(NSInteger, PEApplePayResult, open) {
703
718
  PEApplePayResultFailure = 1,
704
719
  };
705
720
 
706
-
707
721
  /// A PayEngine bank account object.
708
722
  /// This class represents a bank account stored within PayEngine, containing a secure token
709
723
  /// and account details.
@@ -717,12 +731,13 @@ SWIFT_CLASS("_TtC12PayEngineSDK13PEBankAccount")
717
731
  + (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
718
732
  @end
719
733
 
720
-
721
734
  /// A PayEngine card object.
722
- /// This class represents a payment card stored with PayEngine, containing a secure token
723
- /// and associated card details.
735
+ /// This class represents a payment card stored with PayEngine, containing a secure token,
736
+ /// the environment context, and associated card details.
724
737
  SWIFT_CLASS("_TtC12PayEngineSDK6PECard")
725
738
  @interface PECard : NSObject
739
+ /// The environment in which the card was created (e.g., “sandbox”, “production”).
740
+ @property (nonatomic, readonly, copy) NSString * _Nullable env;
726
741
  /// A unique token representing the card.
727
742
  @property (nonatomic, readonly, copy) NSString * _Nonnull token;
728
743
  /// The associated card details.
@@ -731,7 +746,6 @@ SWIFT_CLASS("_TtC12PayEngineSDK6PECard")
731
746
  + (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
732
747
  @end
733
748
 
734
-
735
749
  /// A class that is used to configure the <code>PayEngine</code> object.
736
750
  /// This class stores the authentication key that is generated by PayEngine. It also defines the PayEngine’s backend environement which the <code>PayEngine</code> object will interact with.
737
751
  SWIFT_CLASS("_TtC12PayEngineSDK8PEConfig")
@@ -756,7 +770,6 @@ SWIFT_CLASS("_TtC12PayEngineSDK8PEConfig")
756
770
  + (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
757
771
  @end
758
772
 
759
-
760
773
  /// A type that represents an input field.
761
774
  /// This class defines an input field with properties that determine its behavior, such as its name, type, placeholder,
762
775
  /// whether it is required, keyboard type, and optional validation pattern.
@@ -788,7 +801,6 @@ typedef SWIFT_ENUM(NSInteger, PEThemeMode, open) {
788
801
 
789
802
  @class UIView;
790
803
  @class ThreeDSResult;
791
-
792
804
  /// <code>PayEngine</code> is the main entry point for integrating PayEngine’s payment processing features.
793
805
  /// This class provides a centralized interface for:
794
806
  /// <ul>
@@ -899,8 +911,6 @@ SWIFT_CLASS("_TtC12PayEngineSDK9PayEngine")
899
911
  + (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
900
912
  @end
901
913
 
902
-
903
-
904
914
  /// Type that represents the result for the ThreeDS process
905
915
  SWIFT_CLASS("_TtC12PayEngineSDK13ThreeDSResult")
906
916
  @interface ThreeDSResult : NSObject
@@ -914,14 +924,6 @@ SWIFT_CLASS("_TtC12PayEngineSDK13ThreeDSResult")
914
924
  + (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
915
925
  @end
916
926
 
917
-
918
-
919
-
920
-
921
-
922
-
923
-
924
-
925
927
  #endif
926
928
  #if __has_attribute(external_source_symbol)
927
929
  # pragma clang attribute pop
@@ -932,7 +934,7 @@ SWIFT_CLASS("_TtC12PayEngineSDK13ThreeDSResult")
932
934
  #endif
933
935
 
934
936
  #elif defined(__x86_64__) && __x86_64__
935
- // Generated by Apple Swift version 6.0.2 effective-5.10 (swiftlang-6.0.2.1.2 clang-1600.0.26.4)
937
+ // Generated by Apple Swift version 6.2.3 effective-5.10 (swiftlang-6.2.3.3.21 clang-1700.6.3.2)
936
938
  #ifndef PAYENGINESDK_SWIFT_H
937
939
  #define PAYENGINESDK_SWIFT_H
938
940
  #pragma clang diagnostic push
@@ -997,6 +999,7 @@ SWIFT_CLASS("_TtC12PayEngineSDK13ThreeDSResult")
997
999
  # if __has_include(<uchar.h>)
998
1000
  # include <uchar.h>
999
1001
  # elif !defined(__cplusplus)
1002
+ typedef unsigned char char8_t;
1000
1003
  typedef uint_least16_t char16_t;
1001
1004
  typedef uint_least32_t char32_t;
1002
1005
  # endif
@@ -1238,6 +1241,7 @@ typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4)));
1238
1241
  #endif
1239
1242
 
1240
1243
  #if defined(__OBJC__)
1244
+
1241
1245
  /// Represents the supported Apple Pay payment networks.
1242
1246
  typedef SWIFT_ENUM(NSInteger, ApplePayPaymentNetwork, open) {
1243
1247
  /// Supported Apple Pay payment networks.
@@ -1263,7 +1267,6 @@ typedef SWIFT_ENUM(NSInteger, ApplePayPaymentNetwork, open) {
1263
1267
  @class PKPaymentSummaryItem;
1264
1268
  @class NSString;
1265
1269
  @class PKShippingMethod;
1266
-
1267
1270
  /// A class that represents an Apple Pay payment request.
1268
1271
  SWIFT_CLASS("_TtC12PayEngineSDK22ApplePayPaymentRequest")
1269
1272
  @interface ApplePayPaymentRequest : NSObject
@@ -1296,7 +1299,6 @@ typedef SWIFT_ENUM(NSInteger, ApplePayStatus, open) {
1296
1299
  ApplePayStatusNotEligible = 2,
1297
1300
  };
1298
1301
 
1299
-
1300
1302
  /// Represents the details of a bank account.
1301
1303
  /// This class stores essential bank account information such as routing number,
1302
1304
  /// last four digits of the account number, and the account holder’s name.
@@ -1314,14 +1316,15 @@ SWIFT_CLASS("_TtC12PayEngineSDK15BankAccountData")
1314
1316
  + (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
1315
1317
  @end
1316
1318
 
1317
-
1318
1319
  /// Represents the details of a payment card.
1319
1320
  /// This class stores essential card information such as brand, last four digits,
1320
- /// expiration date, and the cardholder’s name.
1321
+ /// expiration date, cardholder’s name, contact information, and billing address.
1321
1322
  SWIFT_CLASS("_TtC12PayEngineSDK8CardData")
1322
1323
  @interface CardData : NSObject
1323
1324
  /// The unique identifier for the card.
1324
1325
  @property (nonatomic, readonly, copy) NSString * _Nonnull id;
1326
+ /// The merchant identifier associated with the card.
1327
+ @property (nonatomic, readonly, copy) NSString * _Nullable merchantId;
1325
1328
  /// The brand of the card (e.g., Visa, MasterCard).
1326
1329
  @property (nonatomic, readonly, copy) NSString * _Nonnull brand;
1327
1330
  /// The last four digits of the card number.
@@ -1332,16 +1335,34 @@ SWIFT_CLASS("_TtC12PayEngineSDK8CardData")
1332
1335
  @property (nonatomic, readonly) NSInteger expYear;
1333
1336
  /// The name of the cardholder.
1334
1337
  @property (nonatomic, readonly, copy) NSString * _Nonnull name;
1335
- /// The ZIP code associated with the card’s billing address (optional).
1338
+ /// The email address associated with the cardholder.
1339
+ @property (nonatomic, readonly, copy) NSString * _Nullable email;
1340
+ /// The phone number associated with the cardholder.
1341
+ @property (nonatomic, readonly, copy) NSString * _Nullable phoneNumber;
1342
+ /// The ZIP code associated with the card’s billing address.
1336
1343
  @property (nonatomic, readonly, copy) NSString * _Nullable addressZip;
1344
+ /// The first line of the billing address.
1345
+ @property (nonatomic, readonly, copy) NSString * _Nullable addressLine1;
1346
+ /// The second line of the billing address.
1347
+ @property (nonatomic, readonly, copy) NSString * _Nullable addressLine2;
1348
+ /// The country of the billing address.
1349
+ @property (nonatomic, readonly, copy) NSString * _Nullable addressCountry;
1350
+ /// The city of the billing address.
1351
+ @property (nonatomic, readonly, copy) NSString * _Nullable addressCity;
1352
+ /// The state or region of the billing address.
1353
+ @property (nonatomic, readonly, copy) NSString * _Nullable addressState;
1354
+ /// The expiration date of the card token, if applicable.
1355
+ @property (nonatomic, readonly, copy) NSString * _Nullable expiresAt;
1356
+ /// The country of origin for the card.
1357
+ @property (nonatomic, readonly, copy) NSString * _Nullable country;
1358
+ /// The type of the card (e.g., Credit, Debit).
1359
+ @property (nonatomic, readonly, copy) NSString * _Nullable type;
1337
1360
  - (nonnull instancetype)init SWIFT_UNAVAILABLE;
1338
1361
  + (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
1339
1362
  @end
1340
1363
 
1341
-
1342
1364
  @class PEBankAccount;
1343
1365
  @class NSCoder;
1344
-
1345
1366
  /// A secure view for entering a customer’s bank account information safely.
1346
1367
  /// This view displays input fields required to securely collect bank account details.
1347
1368
  /// It also provides methods to validate the provided information and saving a customer’s bank acount by securely storing the information in PayEngine’s system.
@@ -1412,7 +1433,6 @@ SWIFT_CLASS("_TtC12PayEngineSDK16IBankAccountView")
1412
1433
  @end
1413
1434
 
1414
1435
  @class PECard;
1415
-
1416
1436
  /// A secure view for entering a customer’s payment card information safely.
1417
1437
  /// This view displays input fields required to securely collect payment card details.
1418
1438
  /// It also provides methods to validate the provided information and saving a customer’s card by securely storing the information in PayEngine’s system.
@@ -1499,7 +1519,6 @@ SWIFT_CLASS("_TtC12PayEngineSDK15ICardNumberView")
1499
1519
 
1500
1520
  @protocol PEApplePayDelegate;
1501
1521
  @class UIButton;
1502
-
1503
1522
  /// A class that facilitates Apple Pay transactions.
1504
1523
  /// <blockquote>
1505
1524
  /// Important: Making the object for this class is not allowed. The shared instance of this class provides methods to configure and initiate Apple Pay payments. The shared instance is managed internally and you don’t need to access it directly.
@@ -1567,7 +1586,6 @@ SWIFT_CLASS("_TtC12PayEngineSDK10PEApplePay")
1567
1586
  @class PKPaymentRequestShippingContactUpdate;
1568
1587
  @class PKPaymentRequestShippingMethodUpdate;
1569
1588
  @class PKPayment;
1570
-
1571
1589
  @interface PEApplePay (SWIFT_EXTENSION(PayEngineSDK)) <PKPaymentAuthorizationViewControllerDelegate>
1572
1590
  - (void)paymentAuthorizationViewControllerDidFinish:(PKPaymentAuthorizationViewController * _Nonnull)controller;
1573
1591
  - (void)paymentAuthorizationViewController:(PKPaymentAuthorizationViewController * _Nonnull)controller didSelectPaymentMethod:(PKPaymentMethod * _Nonnull)paymentMethod handler:(void (^ _Nonnull)(PKPaymentRequestPaymentMethodUpdate * _Nonnull))completion;
@@ -1577,7 +1595,6 @@ SWIFT_CLASS("_TtC12PayEngineSDK10PEApplePay")
1577
1595
  @end
1578
1596
 
1579
1597
  enum PEApplePayResult : NSInteger;
1580
-
1581
1598
  /// A delegate protocol that provides callbacks for various events during the Apple Pay transaction process.
1582
1599
  /// This protocol notifies the conforming delegate about errors, UI status updates, payment token retrieval,
1583
1600
  /// and optional user interactions such as selecting shipping or payment methods.
@@ -1635,7 +1652,6 @@ typedef SWIFT_ENUM(NSInteger, PEApplePayResult, open) {
1635
1652
  PEApplePayResultFailure = 1,
1636
1653
  };
1637
1654
 
1638
-
1639
1655
  /// A PayEngine bank account object.
1640
1656
  /// This class represents a bank account stored within PayEngine, containing a secure token
1641
1657
  /// and account details.
@@ -1649,12 +1665,13 @@ SWIFT_CLASS("_TtC12PayEngineSDK13PEBankAccount")
1649
1665
  + (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
1650
1666
  @end
1651
1667
 
1652
-
1653
1668
  /// A PayEngine card object.
1654
- /// This class represents a payment card stored with PayEngine, containing a secure token
1655
- /// and associated card details.
1669
+ /// This class represents a payment card stored with PayEngine, containing a secure token,
1670
+ /// the environment context, and associated card details.
1656
1671
  SWIFT_CLASS("_TtC12PayEngineSDK6PECard")
1657
1672
  @interface PECard : NSObject
1673
+ /// The environment in which the card was created (e.g., “sandbox”, “production”).
1674
+ @property (nonatomic, readonly, copy) NSString * _Nullable env;
1658
1675
  /// A unique token representing the card.
1659
1676
  @property (nonatomic, readonly, copy) NSString * _Nonnull token;
1660
1677
  /// The associated card details.
@@ -1663,7 +1680,6 @@ SWIFT_CLASS("_TtC12PayEngineSDK6PECard")
1663
1680
  + (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
1664
1681
  @end
1665
1682
 
1666
-
1667
1683
  /// A class that is used to configure the <code>PayEngine</code> object.
1668
1684
  /// This class stores the authentication key that is generated by PayEngine. It also defines the PayEngine’s backend environement which the <code>PayEngine</code> object will interact with.
1669
1685
  SWIFT_CLASS("_TtC12PayEngineSDK8PEConfig")
@@ -1688,7 +1704,6 @@ SWIFT_CLASS("_TtC12PayEngineSDK8PEConfig")
1688
1704
  + (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
1689
1705
  @end
1690
1706
 
1691
-
1692
1707
  /// A type that represents an input field.
1693
1708
  /// This class defines an input field with properties that determine its behavior, such as its name, type, placeholder,
1694
1709
  /// whether it is required, keyboard type, and optional validation pattern.
@@ -1720,7 +1735,6 @@ typedef SWIFT_ENUM(NSInteger, PEThemeMode, open) {
1720
1735
 
1721
1736
  @class UIView;
1722
1737
  @class ThreeDSResult;
1723
-
1724
1738
  /// <code>PayEngine</code> is the main entry point for integrating PayEngine’s payment processing features.
1725
1739
  /// This class provides a centralized interface for:
1726
1740
  /// <ul>
@@ -1831,8 +1845,6 @@ SWIFT_CLASS("_TtC12PayEngineSDK9PayEngine")
1831
1845
  + (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
1832
1846
  @end
1833
1847
 
1834
-
1835
-
1836
1848
  /// Type that represents the result for the ThreeDS process
1837
1849
  SWIFT_CLASS("_TtC12PayEngineSDK13ThreeDSResult")
1838
1850
  @interface ThreeDSResult : NSObject
@@ -1846,14 +1858,6 @@ SWIFT_CLASS("_TtC12PayEngineSDK13ThreeDSResult")
1846
1858
  + (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
1847
1859
  @end
1848
1860
 
1849
-
1850
-
1851
-
1852
-
1853
-
1854
-
1855
-
1856
-
1857
1861
  #endif
1858
1862
  #if __has_attribute(external_source_symbol)
1859
1863
  # pragma clang attribute pop